Skip to content

Deprecation warning of getting dimension sizes #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rogerkuou opened this issue Feb 21, 2024 · 1 comment · May be fixed by #65
Open

Deprecation warning of getting dimension sizes #48

rogerkuou opened this issue Feb 21, 2024 · 1 comment · May be fixed by #65
Assignees
Labels

Comments

@rogerkuou
Copy link
Member

rogerkuou commented Feb 21, 2024

mrm = stack_subset.slcstack.mrm()
/SPIDER_TYKKY_6rp6QPX/miniconda/envs/env1/lib/python3.11/site-packages/sarxarray/stack.py:34: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`.
  t_order = list(self._obj.dims.keys()).index("time")  # Time dimension order
@rogerkuou
Copy link
Member Author

We need to see if this issue is still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants