code: def _remove_id_from_member_of_ensembles(json_dict):
      """
      Older PROJ versions will not recognize IDs of datum ensemble members that
      were added in more recent PROJ database versions.
  
      Cf https://github.com/opengeospatial/geoparquet/discussions/110
      and https://github.com/OSGeo/PROJ/pull/3221
  
      Mimicking the patch to GDAL from https://github.com/OSGeo/gdal/pull/5872
      """
      for key, value in json_dict.items():
          if isinstance(value, dict):
              _remove_id_from_member_of_ensembles(value)
          elif key == "members" and isinstance(value, list):
              for member in value:
                  member.pop("id", None)
  
imports: from packaging.version import Version
  import json
  import warnings
  import numpy
  from pandas import DataFrame, Series
  from geopandas._compat import import_optional_dependency
  from geopandas.array import from_wkb
  from geopandas import GeoDataFrame
  import geopandas
  from .file import _expand_user
label_desc: Use image node_id 2 for calling a global function with example usage: _remove_id_from_member_of_ensembles(json_dict) without return types