Open CSyl opened 4 weeks ago
Hi CSyl Sorry for the slow reply. Could you provide access to a small Anemoi dataset -style zarr so we can understand how the resolution has been described in the dataset. Or a config for anemoi datasets on how you have built the zarr. Thanks
What happened?
I have a zarr that is the subset of the ERA5 zarr in the gcp storage, https://console.cloud.google.com/storage/browser/gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr. When running anemoi-training train & anemoi-training train --config-name=debug.yaml, I encountered the following error:
"AttributeError: "NoneType" object has no attribute 'lower'" from the anemoi/training/data/datamodule.py line 101 in __checkresolution.
If the resolution must be set within the configuration file, is there a way to verify what the resolution of the https://console.cloud.google.com/storage/browser/gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr is in terms of the "o" resolution or in whatever prefix term(s) the anemoi-training module will accept as shown in the anemoi/training/config/data/zarr.yaml file so, that I can set the resolution in the configuration file for training - perhaps that will remove this error of "NoneType" that I am recieving?
What are the steps to reproduce the bug?
Data & Graph used: Using a anemoi-formatted ERA5 zarr subset extracted from https://console.cloud.google.com/storage/browser/gcp-public-data-arco-era5/ar/1959-2022-1h-360x181_equiangular_with_poles_conservative.zarr and preprocessed using the anemoi-datasets module & created a graph against the anemoi-formatted ERA5 zarr subset generated using the anemoi-graphs module.
1) Configuration file (config.yaml) I am using for training module is:
2) Data Configuration file (anemoi/training/config/data/zarr.yaml) for training module I am using is:
3) Dataloader Configuration file (anemoi/training/config/dataloader/native_grid.yaml) for training module I am using is:
4) Hardware Data Configuration I am using is:
5) Configuration file for anemoi-graphs module I am using is:
5) Executed
anemoi-training train --config-name=config.yaml
& obtained the error:AttributeError: "NoneType" object has no attribute 'lower' " from the anemoi/training/data/datamodule.py line 101 in _check_resolution.
Version
0.1.0
Platform (OS and architecture)
Linux
Relevant log output
No response
Accompanying data
No response
Organisation
No response
(ccing @mchantry )