sarxarray icon indicating copy to clipboard operation
sarxarray copied to clipboard

Deprecation warning of getting dimension sizes

Open rogerkuou opened this issue 1 year ago • 1 comments

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 avatar Feb 21 '24 16:02 rogerkuou

We need to see if this issue is still there.

rogerkuou avatar Apr 28 '25 09:04 rogerkuou