ZGIS / semantique

Semantic Querying in Earth Observation Data Cubes
https://zgis.github.io/semantique/
Apache License 2.0
16 stars 6 forks source link

UserWarning raised about renaming dimensions #22

Closed loreabad6 closed 1 year ago

loreabad6 commented 1 year ago

Description

When executing a query with a given context, space seems to return a UserWarning:

UserWarning: rename 'y' to 'y' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate. space = space.rename({space.rio.y_dim: Y, space.rio.x_dim: X})

Environment information

luukvdmeer commented 1 year ago

This is fixed now with the commits referenced above