Open sandorkertesz opened 1 week ago
I changed to enhancement as it is currently possible to do it, you just need to be explicit in defining the time dimension when it is not simple to detect it. In this case, the grib file is not helping with non standard time dimensions and "t" for variable name.
from earthkit.transforms import aggregate
r = aggregate.temporal.daily_mean(ds_xr, time_dim="forecast_reference_time")
r
Thank you. Is "forecast_reference_time" really non standard?
What happened?
First, I generate Xarray from GRIB forecast data with earthkit-data/develop as follows:
Next, when I use
daily_mean()
on it it fails:What are the steps to reproduce the bug?
See above
Version
main
Platform (OS and architecture)
Any
Relevant log output
No response
Accompanying data
No response
Organisation
ECMWF