ecmwf / anemoi-datasets

Apache License 2.0
34 stars 18 forks source link

As data is in the midst of conversion, getting "ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata( ...)" #46

Closed CSyl closed 1 month ago

CSyl commented 1 month ago

What happened?

With the latest release of anemoi-dataset, I was able to convert the zarr to an anemoi dataset, however several error messages regarding the metadata retrieval were showing up during the data creation/conversion process of the zarr data. The resulting error would state "ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata( ...)."

As a side note, I am able to compute the mean over the grid points of the resulting anemoi datasets, but am concerned about the errors I am getting. Is this an expected error? Could you please assist on why this error may be occurring?

Thank You!

What are the steps to reproduce the bug?

The step-by-step of one of the case scenarios performed for which produces this error:

Data Tested: A subset of ERA5 ZARR from GCP storage saved to local disk was performed via a .py script:

import xarray as xr
import gcsfs

gcp_ar_era5_subset = xr.open_zarr('gs://gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr', chunks={'time': 48}, consolidated=True)

gcp_ar_era5_subset = gcp_ar_era5_subset.isel(time=slice(-15, -1))

gcp_ar_era5_subset.to_zarr('gcp_ar_era5_subset.zarr')

Configuration File Used: A yaml was created with the following content & saved as test_local_gcp_ar_sample_zarr.yaml

dates:
  start: 2021-12-31T09:00:00
  end: 2021-12-31T22:00:00
  frequency: 1h

input:
  xarray-zarr:
    url: "gcp_ar_era5_subset.zarr"
    param: [2m_temperature,
    10m_u_component_of_wind,
    geopotential,
    10m_v_component_of_wind,
    surface_pressure]

Command Executed:

anemoi-datasets create test_local_gcp_ar_sample_zarr.yaml test_local_gcp_ar_sample_zarr.zarr

Findings/Results: With the latest release of anemoi-dataset, was able to convert the zarr to an anemoi dataset, however several error messages regarding the metadata retrieval were showing up during the data creation/conversion process of the zarr data. Please see below the "ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata( ...)" messages:

anemoi-datasets create test_local_gcp_ar_sample_zarr.yaml test_local_gcp_ar_sample_zarr.zarr

2024-09-16 18:06:44 INFO Task init((),{}) starting 2024-09-16 18:06:44 INFO Setting flatten_grid=True in config 2024-09-16 18:06:44 INFO Setting ensemble_dimension=2 in config 2024-09-16 18:06:44 INFO Setting flatten_grid=True in config 2024-09-16 18:06:44 INFO Setting ensemble_dimension=2 in config 2024-09-16 18:06:44 INFO {'start': datetime.datetime(2021, 12, 31, 9, 0), 'end': datetime.datetime(2021, 12, 31, 22, 0), 'frequency': '1h', 'group_by': 'monthly'} 2024-09-16 18:06:44 INFO Groups(dates=1) 2024-09-16 18:06:44 INFO FunctionAction: url=gcp_ar_era5_subset.zarr param=['2m_temperature', '10m_u_component_of_wind', 'geopotential', '10m_v_component_of_wind', 'surface_pressure'] 2024-09-16 18:06:44 INFO Minimal input for 'init' step (using only the first date) : 2024-09-16 18:06:44 INFO xarray-zarr(['2021-12-31T09:00:00']) 2024-09-16 18:06:44 INFO Config loaded ok: 2024-09-16 18:06:44 INFO Found 14 datetimes. 2024-09-16 18:06:44 INFO Dates: Found 14 datetimes, in 1 groups: 2024-09-16 18:06:44 INFO Missing dates: 0

2024-09-16 18:06:44 INFO Found 41 variables : 10m_u_component_of_wind,10m_v_component_of_wind,2m_temperature,geopotential_1,geopotential_10,geopotential_100,geopotential_1000,geopotential_125,geopotential_150,geopotential_175,geopotential_2,geopotential_20,geopotential_200,geopotential_225,geopotential_250,geopotential_3,geopotential_30,geopotential_300,geopotential_350,geopotential_400,geopotential_450,geopotential_5,geopo

ential_50,geopotential_500,geopotential_550,geopotential_600,geopotential_650,geopotential_7,geopotential_70,geopotential_700,geopotential_750,geopotential_775,geopotential_800,geopotential_825,geopotential_850,geopotential_875,geopotential_900,geopotential_925,geopotential_950,geopotential_975,surface_pressure. 2024-09-16 18:06:44 INFO Found 1 ensembles : 0. 2024-09-16 18:06:44 INFO gridpoints size: [65160, 65160] 2024-09-16 18:06:44 INFO resolution=None 2024-09-16 18:06:44 INFO total_shape = [14, 41, 1, 65160] 2024-09-16 18:06:44 INFO chunks=(1, 41, 1, 65160) 2024-09-16 18:06:44 INFO Creating Dataset 'test_local_gcp_ar_sample_zarr.zarr', with total_shape=[14, 41, 1, 65160], chunks=(1, 41, 1, 65160) and dtype='float32' 2024-09-16 18:06:44 ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata({'variable': '10m_u_component_of_wind', 'time': '0900', 'date': '20211231', 'step': 0, 'valid_datetime': '2021-12-31T09:00:00'})

Traceback (most recent call last): File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/input.py", line 111, in _data_request date = field.datetime()["valid_time"] File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/earthkit/data/core/fieldlist.py", line 512, in datetime return self._metadata.datetime() File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/earthkit/data/core/metadata.py", line 312, in datetime "base_time": self._base_datetime(), File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/functions/sources/xarray/metadata.py", line 84, in _base_datetime return self._field.forecast_reference_time File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/functions/sources/xarray/field.py", line 106, in forecast_reference_time return self.owner.forecast_reference_time AttributeError: 'Variable' object has no attribute 'forecast_reference_time' 2024-09-16 18:06:44 ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata({'variable': '10m_v_component_of_wind', 'time': '0900', 'date': '20211231', 'step': 0, 'valid_datetime': '2021-12-31T09:00:00'})

Traceback (most recent call last): File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/input.py", line 111, in _data_request date = field.datetime()["valid_time"] File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/earthkit/data/core/fieldlist.py", line 512, in datetime return self._metadata.datetime() File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/earthkit/data/core/metadata.py", line 312, in datetime "base_time": self._base_datetime(), File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/functions/sources/xarray/metadata.py", line 84, in _base_datetime return self._field.forecast_reference_time File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/functions/sources/xarray/field.py", line 106, in forecast_reference_time return self.owner.forecast_reference_time AttributeError: 'Variable' object has no attribute 'forecast_reference_time' 2024-09-16 18:06:44 ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata({'variable': '2m_temperature', 'time': '0900', 'date': '20211231', 'step': 0, 'valid_datetime': '2021-12-31T09:00:00'})

: : :

AttributeError: 'Variable' object has no attribute 'forecast_reference_time' 2024-09-16 18:06:44 ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata({'variable': 'surface_pressure', 'time': '0900', 'date': '20211231', 'step': 0, 'valid_datetime': '2021-12-31T09:00:00'}) Traceback (most recent call last): File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/input.py", line 111, in _data_request date = field.datetime()["valid_time"] File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/earthkit/data/core/fieldlist.py", line 512, in datetime return self._metadata.datetime() File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/earthkit/data/core/metadata.py", line 312, in datetime "base_time": self._base_datetime(), File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/functions/sources/xarray/metadata.py", line 84, in _base_datetime return self._field.forecast_reference_time File " ~/miniconda3/envs/anemoi_test/lib/python3.10/site-packages/anemoi/datasets/create/functions/sources/xarray/field.py", line 106, in forecast_reference_time return self.owner.forecast_reference_time AttributeError: 'Variable' object has no attribute 'forecast_reference_time' 2024-09-16 18:06:44 WARNING Dataset name error: the dataset name 'test_local_gcp_ar_sample_zarr' does not follow naming convention. Does not match ^(\w+)-([\w-]+)-(\w+)-(\w+)-(\d\d\d\d)-(\d\d\d\d)-(\d+h)-v(\d+)-?([a-zA-Z0-9-]+)?$ 2024-09-16 18:06:44 INFO Number of years 0 < 10, leaving out 20%. end=np.datetime64('2021-12-31T19:00:00') 2024-09-16 18:06:44 INFO Will compute statistics from 2021-12-31T09:00:00 to 2021-12-31T19:00:00 ❌❌❌ FIXME: Config serialisation to be checked {"attribution": "unknown", "build": {"group_by": "monthly", "use_grib_paramid": false, "variable_naming": "default"}, "config_path": " ~ /anemoi/gh_most_uptodate/test_scripts/test_local_gcp_ar_sample_zarr.yaml", "dataset_status": "experimental", "dates": {"end": "2021-12-31 22:00:00", "frequency": "1h", "group_by": "monthly", "start": "2021-12-31 09:00:00"}, "description": "No description provided.", "input": {"xarray-zarr": {"param": ["2m_temperature", "10m_u_component_of_wind", "geopotential", "10m_v_component_of_wind", "surface_pressure"], "url": "gcp_ar_era5_subset.zarr"}}, "licence": "unknown", "output": {"chunking": {"dates": 1, "ensembles": 1}, "dtype": "float32", "ensemble_dimension": 2, "flatten_grid": true, "order_by": {"number": "ascending", "param_level": "ascending", "valid_datetime": "ascending"}, "remapping": {"paramlevel": "{param}{levelist}"}, "statistics": "param_level"}, "reading_chunks": null, "statistics": {"allow_nans": []}} {"attribution": "unknown", "build": {"group_by": "monthly", "use_grib_paramid": false, "variable_naming": "default"}, "config_path": " ~ /anemoi/gh_most_uptodate/test_scripts/test_local_gcp_ar_sample_zarr.yaml", "dataset_status": "experimental", "dates": {"end": "2021-12-31 22:00:00", "frequency": "1h", "group_by": "monthly", "start": "2021-12-31 09:00:00"}, "description": "No description provided.", "input": {"xarray-zarr": {"param": ["2m_temperature", "10m_u_component_of_wind", "geopotential", "10m_v_component_of_wind", "surface_pressure"], "url": "gcp_ar_era5_subset.zarr"}}, "licence": "unknown", "output": {"chunking": {"dates": 1, "ensembles": 1}, "dtype": "float32", "ensemble_dimension": 2, "flatten_grid": true, "order_by": {"number": "ascending", "param_level": "ascending", "valid_datetime": "ascending"}, "remapping": {"paramlevel": "{param}{levelist}"}, "statistics": "param_level"}, "reading_chunks": null, "statistics": {"allow_nans": []}} 2024-09-16 18:06:44 INFO Task load((),{}) starting 2024-09-16 18:06:44 INFO {'end': '2021-12-31T22:00:00', 'frequency': '1h', 'group_by': 'monthly', 'start': '2021-12-31T09:00:00'} 2024-09-16 18:06:44 INFO Groups(dates=1) 2024-09-16 18:06:44 INFO FunctionAction: param=['2m_temperature', '10m_u_component_of_wind', 'geopotential', '10m_v_component_of_wind', 'surface_pressure'] url=gcp_ar_era5_subset.zarr

Loading 573/574: 100%|████████████████████████████████████████████████| 574/574 [00:29<00:00, 19.78it/s] 2024-09-16 18:07:16 INFO Name : /data Type : zarr.core.Array Data type : float32 Shape : (14, 41, 1, 65160) Chunk shape : (1, 41, 1, 65160) Order : C Read-only : True Compressor : Blosc(cname='lz4', clevel=5, shuffle=SHUFFLE, blocksize=0) Store type : zarr.storage.DirectoryStore No. bytes : 149607360 (142.7M) No. bytes stored : 92353145 (88.1M) Storage ratio : 1.6 Chunks initialized : 14/14

2024-09-16 18:07:16 INFO Task finalise((),{}) starting 2024-09-16 18:07:16 INFO Variables minimum maximum mean stdev has_nans 10m_u_component_of_wind -19.22 20.98 -0.19 5.10 0.00 10m_v_component_of_wind -18.40 22.43 -0.31 4.51 0.00 2m_temperature 221.06 316.17 277.19 20.41 0.00 geopotential_1 425099.12 493273.97 465659.10 17453.64 0.00 geopotential_10 275382.28 311927.84 300915.73 9302.10 0.00 geopotential_100 147745.34 163643.91 157286.27 5051.06 0.00 geopotential_1000 -3148.51 3412.69 803.08 1071.14 0.00 geopotential_125 134741.56 151257.64 143845.12 5458.15 0.00 geopotential_150 123852.06 140592.05 132735.76 5688.41 0.00 geopotential_175 114547.15 131239.23 123239.62 5779.90 0.00 geopotential_2 375595.91 435469.00 413513.09 15086.42 0.00 geopotential_20 237253.33 263741.97 256186.92 6838.97 0.00 geopotential_200 106404.47 122853.99 114930.94 5763.09 0.00 geopotential_225 99154.48 115186.59 107532.01 5657.73 0.00 geopotential_250 92567.17 108154.01 100847.66 5482.72 0.00 geopotential_3 348050.31 402489.88 383738.78 13593.41 0.00 geopotential_30 215299.84 236499.61 230671.61 5568.11 0.00 geopotential_300 81098.05 95595.55 89073.25 5014.69 0.00 geopotential_350 71283.67 84574.07 78837.49 4508.30 0.00 geopotential_400 62706.44 74810.72 69719.14 4029.09 0.00 geopotential_450 55092.68 66061.89 61473.06 3593.01 0.00 geopotential_5 315959.47 362728.69 347604.26 11759.93 0.00 geopotential_50 187061.36 204328.94 199091.86 4535.69 0.00 geopotential_500 48186.63 58045.56 53934.92 3200.09 0.00 geopotential_550 41836.48 50625.60 46985.87 2844.82 0.00 geopotential_600 35929.71 43804.48 40536.81 2522.16 0.00 geopotential_650 30078.14 37560.64 34516.64 2227.84 0.00 geopotential_7 295866.34 337658.84 324624.08 10574.69 0.00 geopotential_70 168151.08 183816.19 178658.50 4480.88 0.00 geopotential_700 24547.81 31691.87 28867.42 1960.86 0.00 geopotential_750 19335.88 26146.02 23545.67 1721.18 0.00 geopotential_775 16833.86 23534.42 20996.56 1611.84 0.00 geopotential_800 14402.37 21070.07 18516.78 1509.99 0.00 geopotential_825 12036.17 18667.33 16103.02 1416.23 0.00 geopotential_850 9733.97 16322.85 13752.33 1331.52 0.00 geopotential_875 7452.32 14033.64 11461.61 1256.85 0.00 geopotential_900 5226.78 11806.53 9227.80 1193.17 0.00 geopotential_925 3055.42 9639.81 7047.96 1141.47 0.00 geopotential_950 938.20 7520.03 4918.94 1102.91 0.00 geopotential_975 -1126.84 5445.05 2838.09 1079.21 0.00 surface_pressure 51776.86 104166.40 96732.04 9546.72 0.00

2024-09-16 18:07:16 INFO Wrote statistics in test_local_gcp_ar_sample_zarr.zarr

Computing size of test_local_gcp_ar_sample_zarr.zarr: 16it [00:00, 32186.51it/s]

2024-09-16 18:07:16 INFO Total size: 88.1 MiB 2024-09-16 18:07:16 INFO Total number of files: 60 2024-09-16 18:07:16 INFO Task patch((),{}) starting 2024-09-16 18:07:16 INFO ✅ Remove _create_yaml_config 2024-09-16 18:07:16 INFO Dataset changed by patch 2024-09-16 18:07:16 INFO Task init_additions((),{}) starting 2024-09-16 18:07:16 WARNING No delta found in kwargs, no addtions will be computed. 2024-09-16 18:07:16 INFO Task run_additions((),{}) starting 2024-09-16 18:07:16 WARNING No delta found in kwargs, no addtions will be computed. 2024-09-16 18:07:16 INFO Task finalise_additions((),{}) starting 2024-09-16 18:07:16 WARNING No delta found in kwargs, no addtions will be computed.

Computing size of test_local_gcp_ar_sample_zarr.zarr: 16it [00:00, 32832.13it/s]

2024-09-16 18:07:16 INFO Total size: 88.1 MiB 2024-09-16 18:07:16 INFO Total number of files: 60 2024-09-16 18:07:16 INFO Task cleanup((),{}) starting 2024-09-16 18:07:16 INFO Task verify((),{}) starting 2024-09-16 18:07:16 INFO Verifying dataset at test_local_gcp_ar_sample_zarr.zarr 2024-09-16 18:07:16 INFO test_local_gcp_ar_sample_zarr.zarr 2024-09-16 18:07:16 INFO Create completed in 32 seconds

Also, I was getting these similar metadata errors when I tried to create an anemoi dataset against a netcdf file stored in S3 that the current anemoi-framework is referencing within one of its scripts (e.g. s3://nsf-ncar-era5/e5.oper.an.pl/202403/e5.oper.an.pl.128_060_pv.ll025sc.2024030100_2024030123.nc), but in this scenario I created the json for that nc file and referenced it in a kerchunk-xarray yaml config file as such:

Creating the JSON for the NetCDF

import json
import fsspec
import tqdm
from kerchunk.combine import MultiZarrToZarr
from kerchunk.hdf import SingleHdf5ToZarr

# Establish S3 filesystem
fs = fsspec.filesystem("s3", anon=True)

# Cloud object(s) of interest
fn="e5.oper.an.pl.128_060_pv.ll025sc.2024030100_2024030123.nc"
pattern = f"s3://nsf-ncar-era5/e5.oper.an.pl/202403/{fn}"

# Generation of a List of JSONs per compatible formatted (such as NetCDF & GRIB) data file in cloud
jsons = []
for file in tqdm.tqdm(fs.glob(pattern)):
    with fs.open(file, "rb", anon=True) as f:
        h5chunks = SingleHdf5ToZarr(f, file)
        jsons.append(h5chunks.translate())

# Consolidate list of jsons into a single json
mzz = MultiZarrToZarr(
    jsons,
    remote_protocol="s3",
    remote_options={"anon": True},
    concat_dims=["time"],
    identical_dims=["latitude", "longitude"],
)

with open("combined.json", "w") as f:
    json.dump(mzz.translate(), f)

Configuration File Used (xarray-kerchunk yaml formatted per anemoi guide)

dates:
  start: 2024-03-01T20:00:00
  end: 2024-03-01T23:00:00
  frequency: 1h

input:
  xarray-kerchunk:
    json: combined.json
    param: PV
    level: [1000, 50]

Version

0.4.5

Platform (OS and architecture)

Linux

Relevant log output

No response

Accompanying data

gs://gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr, s3://nsf-ncar-era5/e5.oper.an.pl/202403/"e5.oper.an.pl.128_060_pv.ll025sc.2024030100_2024030123.nc

Organisation

No response

CSyl commented 1 month ago

Additional Finding: The "ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata( ...)." error message also seems to only occur at the initial date at which an input data is set up to be configured at. For example, if I were to set the configuration file as such:

dates: start: 2021-12-31T09:00:00 end: 2021-12-31T22:00:00 frequency: 1h

input: xarray-zarr: url: "gcp_ar_era5_subset.zarr" param: [2m_temperature, 10m_u_component_of_wind, geopotential, 10m_v_component_of_wind, surface_pressure]

The "ERROR Error in retrieving metadata (cannot build data request info) for XArrayMetadata( ...) will only be printed out for all variables at 2021-12-31T09:00:00. If I were to alter that start date, then

the error will only be printed out for all variables at that new initial date YET the metadata/attributes were in fact verified to be within the input data at those given times via xarray.

b8raoult commented 1 month ago

I have tried you example, and I see the errors message (which I am fixing now), but the target zarr file is created for me. You can check with anemoi-datasets inspect

b8raoult commented 1 month ago

`❯ anemoi-datasets inspect x.zarr 📦 Path : x.zarr 🔢 Format version: 0.20.0

📅 Start : 2021-12-31 09:00 📅 End : 2021-12-31 22:00 ⏰ Frequency : 1h 🚫 Missing : 0 🌎 Resolution : None 🌎 Field shape: [360, 181]

📐 Shape : 14 × 41 × 1 × 65,160 (142.7 MiB) 💽 Size : 88.1 MiB (88.1 MiB) 📁 Files : 60

Index │ Variable │ Min │ Max │ Mean │ Stdev ──────┼─────────────────────────┼──────────┼─────────┼───────────┼──────── 0 │ 10m_u_component_of_wind │ -19.2242 │ 20.978 │ -0.192972 │ 5.09592 1 │ 10m_v_component_of_wind │ -18.4027 │ 22.4334 │ -0.307073 │ 4.51194 2 │ 2m_temperature │ 221.056 │ 316.17 │ 277.191 │ 20.4106 3 │ geopotential_1 │ 425099 │ 493274 │ 465659 │ 17453.6 4 │ geopotential_10 │ 275382 │ 311928 │ 300916 │ 9302.1 5 │ geopotential_100 │ 147745 │ 163644 │ 157286 │ 5051.06 6 │ geopotential_1000 │ -3148.51 │ 3412.69 │ 803.079 │ 1071.14 7 │ geopotential_125 │ 134742 │ 151258 │ 143845 │ 5458.15 8 │ geopotential_150 │ 123852 │ 140592 │ 132736 │ 5688.41 9 │ geopotential_175 │ 114547 │ 131239 │ 123240 │ 5779.9 10 │ geopotential_2 │ 375596 │ 435469 │ 413513 │ 15086.4 11 │ geopotential_20 │ 237253 │ 263742 │ 256187 │ 6838.97 12 │ geopotential_200 │ 106404 │ 122854 │ 114931 │ 5763.09 13 │ geopotential_225 │ 99154.5 │ 115187 │ 107532 │ 5657.73 14 │ geopotential_250 │ 92567.2 │ 108154 │ 100848 │ 5482.72 15 │ geopotential_3 │ 348050 │ 402490 │ 383739 │ 13593.4 16 │ geopotential_30 │ 215300 │ 236500 │ 230672 │ 5568.11 17 │ geopotential_300 │ 81098 │ 95595.5 │ 89073.3 │ 5014.69 18 │ geopotential_350 │ 71283.7 │ 84574.1 │ 78837.5 │ 4508.3 19 │ geopotential_400 │ 62706.4 │ 74810.7 │ 69719.1 │ 4029.09 20 │ geopotential_450 │ 55092.7 │ 66061.9 │ 61473.1 │ 3593.01 21 │ geopotential_5 │ 315959 │ 362729 │ 347604 │ 11759.9 22 │ geopotential_50 │ 187061 │ 204329 │ 199092 │ 4535.69 23 │ geopotential_500 │ 48186.6 │ 58045.6 │ 53934.9 │ 3200.09 24 │ geopotential_550 │ 41836.5 │ 50625.6 │ 46985.9 │ 2844.82 25 │ geopotential_600 │ 35929.7 │ 43804.5 │ 40536.8 │ 2522.16 26 │ geopotential_650 │ 30078.1 │ 37560.6 │ 34516.6 │ 2227.84 27 │ geopotential_7 │ 295866 │ 337659 │ 324624 │ 10574.7 28 │ geopotential_70 │ 168151 │ 183816 │ 178658 │ 4480.88 29 │ geopotential_700 │ 24547.8 │ 31691.9 │ 28867.4 │ 1960.86 30 │ geopotential_750 │ 19335.9 │ 26146 │ 23545.7 │ 1721.18 31 │ geopotential_775 │ 16833.9 │ 23534.4 │ 20996.6 │ 1611.84 32 │ geopotential_800 │ 14402.4 │ 21070.1 │ 18516.8 │ 1509.99 33 │ geopotential_825 │ 12036.2 │ 18667.3 │ 16103 │ 1416.23 34 │ geopotential_850 │ 9733.97 │ 16322.8 │ 13752.3 │ 1331.52 35 │ geopotential_875 │ 7452.32 │ 14033.6 │ 11461.6 │ 1256.85 36 │ geopotential_900 │ 5226.78 │ 11806.5 │ 9227.8 │ 1193.17 37 │ geopotential_925 │ 3055.42 │ 9639.81 │ 7047.96 │ 1141.47 38 │ geopotential_950 │ 938.197 │ 7520.03 │ 4918.94 │ 1102.91 39 │ geopotential_975 │ -1126.84 │ 5445.05 │ 2838.09 │ 1079.21 40 │ surface_pressure │ 51776.9 │ 104166 │ 96732 │ 9546.72 ──────┴─────────────────────────┴──────────┴─────────┴───────────┴──────── 🔋 Dataset ready, last update 1 hour ago. 📊 Statistics ready.`

mchantry commented 1 month ago

@CSyl thanks for your issue, we believe this issue is fixed in #49 , perhaps you could try to confirm this on your side.

CSyl commented 1 month ago

Thank you @mchantry & @b8raoult for looking into this bug. I am able to confirm that this issue is resolved as I was able to replicate the same results @b8raoult provided above.

🔢 Format version: 0.20.0

📅 Start : 2021-12-31 09:00 📅 End : 2021-12-31 22:00 ⏰ Frequency : 1h 🚫 Missing : 0 🌎 Resolution : None 🌎 Field shape: [360, 181]

📐 Shape : 14 × 40 × 1 × 65,160 (139.2 MiB) 💽 Size : 85.9 MiB (85.9 MiB) 📁 Files : 60

Index │ Variable │ Min │ Max │ Mean │ Stdev ──────┼─────────────────────────┼──────────┼─────────┼───────────┼──────── 0 │ 10m_u_component_of_wind │ -19.2242 │ 20.978 │ -0.192972 │ 5.09592 1 │ 10m_v_component_of_wind │ -18.4027 │ 22.4334 │ -0.307073 │ 4.51194 2 │ 2m_temperature │ 221.056 │ 316.17 │ 277.191 │ 20.4106 3 │ geopotential_1 │ 425099 │ 493274 │ 465659 │ 17453.6 4 │ geopotential_10 │ 275382 │ 311928 │ 300916 │ 9302.1 5 │ geopotential_100 │ 147745 │ 163644 │ 157286 │ 5051.06 6 │ geopotential_1000 │ -3148.51 │ 3412.69 │ 803.079 │ 1071.14 7 │ geopotential_125 │ 134742 │ 151258 │ 143845 │ 5458.15 8 │ geopotential_150 │ 123852 │ 140592 │ 132736 │ 5688.41 9 │ geopotential_175 │ 114547 │ 131239 │ 123240 │ 5779.9 10 │ geopotential_2 │ 375596 │ 435469 │ 413513 │ 15086.4 11 │ geopotential_20 │ 237253 │ 263742 │ 256187 │ 6838.97 12 │ geopotential_200 │ 106404 │ 122854 │ 114931 │ 5763.09 13 │ geopotential_225 │ 99154.5 │ 115187 │ 107532 │ 5657.73 14 │ geopotential_250 │ 92567.2 │ 108154 │ 100848 │ 5482.72 15 │ geopotential_3 │ 348050 │ 402490 │ 383739 │ 13593.4 16 │ geopotential_30 │ 215300 │ 236500 │ 230672 │ 5568.11 17 │ geopotential_300 │ 81098 │ 95595.5 │ 89073.3 │ 5014.69 18 │ geopotential_350 │ 71283.7 │ 84574.1 │ 78837.5 │ 4508.3 19 │ geopotential_400 │ 62706.4 │ 74810.7 │ 69719.1 │ 4029.09 20 │ geopotential_450 │ 55092.7 │ 66061.9 │ 61473.1 │ 3593.01 21 │ geopotential_5 │ 315959 │ 362729 │ 347604 │ 11759.9 22 │ geopotential_50 │ 187061 │ 204329 │ 199092 │ 4535.69 23 │ geopotential_500 │ 48186.6 │ 58045.6 │ 53934.9 │ 3200.09 24 │ geopotential_550 │ 41836.5 │ 50625.6 │ 46985.9 │ 2844.82 25 │ geopotential_600 │ 35929.7 │ 43804.5 │ 40536.8 │ 2522.16 26 │ geopotential_650 │ 30078.1 │ 37560.6 │ 34516.6 │ 2227.84 27 │ geopotential_7 │ 295866 │ 337659 │ 324624 │ 10574.7 28 │ geopotential_70 │ 168151 │ 183816 │ 178658 │ 4480.88 29 │ geopotential_700 │ 24547.8 │ 31691.9 │ 28867.4 │ 1960.86 30 │ geopotential_750 │ 19335.9 │ 26146 │ 23545.7 │ 1721.18 31 │ geopotential_775 │ 16833.9 │ 23534.4 │ 20996.6 │ 1611.84 32 │ geopotential_800 │ 14402.4 │ 21070.1 │ 18516.8 │ 1509.99 33 │ geopotential_825 │ 12036.2 │ 18667.3 │ 16103 │ 1416.23 34 │ geopotential_850 │ 9733.97 │ 16322.8 │ 13752.3 │ 1331.52 35 │ geopotential_875 │ 7452.32 │ 14033.6 │ 11461.6 │ 1256.85 36 │ geopotential_900 │ 5226.78 │ 11806.5 │ 9227.8 │ 1193.17 37 │ geopotential_925 │ 3055.42 │ 9639.81 │ 7047.96 │ 1141.47 38 │ geopotential_950 │ 938.197 │ 7520.03 │ 4918.94 │ 1102.91 39 │ geopotential_975 │ -1126.84 │ 5445.05 │ 2838.09 │ 1079.21 ──────┴─────────────────────────┴──────────┴─────────┴───────────┴──────── 🔋 Dataset ready, last update today at 13:35. 📊 Statistics ready.