Skip to content
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

Future warning Dataset.dims #74

Open
rogerkuou opened this issue May 6, 2024 · 0 comments
Open

Future warning Dataset.dims #74

rogerkuou opened this issue May 6, 2024 · 0 comments

Comments

@rogerkuou
Copy link
Member

In: https://github.com/TUDelftGeodesy/stmtools/pull/71/files#diff-0b3352e5838067dc55b6b083d1385268ce032917d9d0d7cac6f5d7bdf1c09913

%%timeit -o
# Time subset operation on chunked STM.
stmat_chunked_subset = stmat_chunked.stm.subset(method='polygon', polygon=path_polygon)
phase = stmat_chunked_subset['phase'].compute()
/storage/MobyLe/stmtools/stmtools/stm.py:134: 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`.
  if dim not in self._obj.dims.keys():
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant