xproj.ProjIndexMixin._proj_crs_equals

xproj.ProjIndexMixin._proj_crs_equals#

ProjIndexMixin._proj_crs_equals(other, allow_none=False)#

Helper method to check if this CRS-aware index has the same CRS than the other given CRS-aware index.

This method is usually called internally within the index’s equals(), join() and reindex_like() methods.

Parameters:
  • other (xarray.Index) – The other CRS-aware index to compare with this index.

  • allow_none (bool, optional) – If True, any undefined CRS is treated as the same (default: False).