You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the https://bcda-aps.github.io/bluesky_training/tutor/hello_world.html tutorial, after I run the hello_world demonstration plan and go to read data from the last run, I get a warning message about Dataset.dims needing to be changed to Dataset.sizes in future versions of python.
run = cat[-1]
metadata=run.metadata
data=run.primary.read()
/home/apsu/Apps/miniconda3/envs/bluesky_2024_1/lib/python3.11/site-packages/xarray/core/utils.py:494: 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.
warnings.warn(
The text was updated successfully, but these errors were encountered:
@lcgallington Thanks for reporting this. I believe the call to the xarray package comes from an upstream library, such as databroker. The training notebooks don't call xarray directly.
In the https://bcda-aps.github.io/bluesky_training/tutor/hello_world.html tutorial, after I run the hello_world demonstration plan and go to read data from the last run, I get a warning message about Dataset.dims needing to be changed to Dataset.sizes in future versions of python.
The text was updated successfully, but these errors were encountered: