You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I remember that when writing some pieces of our code, I would have welcome xarray.Coordinates object. Now that it is available, we should explore whether it could simplify some bits of our code.
The text was updated successfully, but these errors were encountered:
xarray.Coordinates is mostly useful as an intermediate object to pass to a Dataset or DataArray (either via their __init__ or assign_coords method), for example if one wants Xarray 1-d dimension coordinates with no default index or coordinates created from an existing (non-Xarray) index object (like Coordinates.from_pandas_multiindex).
Here I'm not sure if building indexed coordinates from an existing shapely.STRtree object would be a common case? We also have Dataset.xvec.set_geom_indexes that replaces existing indexes, if any.
I remember that when writing some pieces of our code, I would have welcome
xarray.Coordinates
object. Now that it is available, we should explore whether it could simplify some bits of our code.The text was updated successfully, but these errors were encountered: