You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Visualizing model output is under development. The instructions below are a temporary solution allowing users to convert to netCDF for their favourite plotting program.

Later OpenIFS results will provide additional software to analyse and view model output more easily without the need to modify the GRIB output files.

Model output

The OpenIFS model outputs files in GRIB format. These files are a mix of GRIB 1 & GRIB 2 format messages. They also contain multiple vertical coordinates: pressure levels, sub-surface levels etc as well as fields on reduced Gaussian grids. Unfortunately these features can cause problems with 3rd party GRIB software.

The ICMGG files contain all the gridpoint fields. The ICMSH files are the spherical harmonics of the wind fields, pressure and temperature.

CDO commands

These instructions assume the use of a recent version of Climate Data Operators (CDO) (available from Max-Planck-Institut, Germany).

CDO does not understand GRIB2 messages. In order to work around this, use the grib_set command (from the grib_api installation) to change the GRIB edition number for all messages. Note this will only work if you are using less than 128 model levels and it does not actually convert the message to GRIB1.

Reset grib edition number
grib_set -s editionNumber=1 <input grib2 file> <output grib1 file>

Then CDO can be used to interpolate from the Gaussian grid to a regular grid for plotting:

Convert to regular lat-lon grid
 cdo -R -f nc copy <input grib1> <output netcdf>
  • No labels