Saving Outputs
In the Quickstart guide, we showed how to print the output to stdout. However, in practice, you will likely want to save the output to file.
Note
Further details of the outputs available can be found in the outputs module and output config documentation.
Output formats
anemoi-inference supports various output formats, including NetCDF,
GRIB, and Zarr. You can specify the desired output format in the
configuration file under the output section. For example, to save the
output in GRIB format, you can use the following configuration:
output:
grib: PATH/TO/OUTPUT/FILE.grib
Tip
GRIB comes with some encoding quirks, so make sure to check the grib output documentation for more details.
To save to NETCDF for example, you can use:
output:
netcdf: PATH/TO/OUTPUT/FILE.nc
See also
Quickstart - Quickstart guide
Outputs - Output configuration reference
GRIB output - GRIB output encoding details
outputs - Output modules API documentation
Other data sources - Input data sources