-
Notifications
You must be signed in to change notification settings - Fork 10
Grib
The output fields from the model can be written to grib with the following config:
outputs:
- grib:
filename_pattern: /path/to/folder/%Y%m&dT%hZ.grib
variables: [2t, z_500]A filename with be constructed expanding the tokens in filename_pattern, and one file will be produced for each forecast initialization time.
If variables are provided, a subset of the full variable list will be produces. If this is not provided, all variables will be produced.
If the domain that is being written is one on a rectangular domain (i.e. the anemoi dataset has a field shape), then a gridded Grib file (with x and y dimensions) will automatically be produced. Otherwise (e.g. an octahedral grid), a field with a single location dimension will be produced.
For rectangular domains a chosen projection can be specified through a proj4 string, using the proj4_str key:
outputs:
- grib:
...
proj4_str: "+proj=lcc +lat_0=63.3 +lon_0=15 +lat_1=63.3 +lat_2=63.3 +x_0=0 +y_0=0 +R=6371000 +units=m +no_defs +type=crs"A list of pre-defined projections can alternatively be used by setting domain_name: name. The current supported domains are meps, arome_arctic, nordkyst_v3, nordic_analysis.
See more examples in Configuration-file
Copyright © 2024-2025 MET Norway