Skip to content

Anemoi dataset support for mllam training #644

Description

@annnnnetens

ECMWF is responsible for a Machine Learning for Weather Prediction project called Anemoi. It is more versatile than Neural LAM, but also more convoluted as a result, so each project has its pros and cons. Anemoi-datasets are also based on Zarr files, similar to mllam-datasets, and are batched similarly. Furthermore, there are tens of terabytes of available data to members at https://anemoi.ecmwf.int/, including gridded LAM data such as the CERRA dataset. Because of this, it would be extremely useful to members of this project to support reading Anemoi datasets.

Our goal at LEGMC would be to try training a model with more variables than radar reflectance. The datasets at mllam-data-prep mostly contain just radar data, and we are considering using more NWP data.

An example of an Anemoi-dataset can be found at https://anemoi.readthedocs.io/projects/training/en/latest/user-guide/download-era5-o96.html . The data itself is pretty much ready to be used in Neural LAM, but the metadata has to be changed first.

Another note is that Anemoi-datasets allow more flexible datasets, such as various grids, global data and now also point observations. This is not something that needs to be addressed, it is completely reasonable that such data would just be rejected in mllam.

For starters, when directly trying to use inputs.dataset.variables: - 10u  in MLLAM with an anemoi-dataset, I get an error
KeyError: "Could not find the variable 10u in the dataset. The available variables are ['stdev', 'count', 'dates', 'mean', 'sums', 'has_nans', 'minimum', 'latitudes', 'squares', 'longitudes', 'maximum', 'data']"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions