-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Describe the bug
When running anemoi-datasets inspect *.zarr, the output does not display statistics tendencies.
** Version number **
0.5.27 >= Note that this wasn't an issue before Summer 2025, but I have not properly/thoroughly tried testing this again with older versions of anemoi-datasets
To Reproduce
Steps to reproduce the behavior:
anemoi-datasets create $CONFIG $DATASET_NAME --overwriteanemoi-datasets init-additions $DATASET_NAME --delta 1danemoi-datasets finalise-additions $DATASET_NAME --delta 1danemoi-datasets cleanup $DATASET_NAME
I'm able to verify the additional statistics were properly computed by running the following lines:
from anemoi.datasets import open_dataset
ds = open_dataset("./anemoi_dataset_forcings.zarr")
print(ds.statistics_tendencies())If the statistics tendencies have NOT been computed, this will throw an error. Otherwise, it'll return the mean, stdev, max, and min statistics tendencies.
URL to sample input data
I'm not providing a specific source to replicate this as I've seen this issue in the output of the inspect commands regardless of src
Expected behavior
See screenshots section
Screenshots
The new version only displays 4 columns

whereas much older versions of anemoi show the stdev tend
I'm not sure if this is a bug per se or intended behavior. I'd just like to know so I can adapt my pipeline when verifying whether a ds has statistics tendencies.
Additional context
CONFIG
dates:
start: 1990-01-01T00:00
end: 2014-12-31T23:00
frequency: 1d
input:
join:
- xarray-zarr:
url: /gpfs/scratch/pred1/aerosols_healpix_latlon_view.zarr
- xarray-zarr:
url: /gpfs/scratch/pred1/ozone_healpix_latlon_view.zarr
- xarray-zarr:
url: /gpfs/scratch/pred1/ghg_healpix_latlon_view.zarr
statistics:
allow_nans:
- vmro3
- cfc11_vmr
- ch4_vmr
Metadata
Metadata
Assignees
Labels
Type
Projects
Status