odc.geo.xr.xr_coords

odc.geo.xr.xr_coords(gbox, crs_coord_name='spatial_ref')[source]

Dictionary of Coordinates in xarray format.

Parameters:

crs_coord_name (Optional[str]) – Use custom name for CRS coordinate, default is “spatial_ref”. Set to None to not generate CRS coordinate at all.

Return type:

Dict[Hashable, DataArray]

Returns:

Dictionary name:str -> xr.DataArray. Where names are either y,x for projected or latitude, longitude for geographic.