Deltares / xugrid

Xarray and unstructured grids
https://deltares.github.io/xugrid/
MIT License
64 stars 8 forks source link

Throw deprecation warning: use ``.sizes`` instead of ``.dimensions`` #217

Closed JoerivanEngelen closed 1 month ago

JoerivanEngelen commented 7 months ago

xarray is going to change behavior for its .dims attribute. .sizes should be called instead for similar behavior. Currently, it is unclear when this behavior will be altered, except in the "Future". Since we are following xarray behavior mostly, we should follow them. Track issue:

JoerivanEngelen commented 7 months ago

Related to https://github.com/Deltares/xugrid/issues/190