mgrib ( macro/python ) pgrib ( fortran )
To facilitate the plotting of GRIB code fields, there is an interface that enables users to plot GRIB code with a minimum of programming effort.
The action routine is called PGRIB.
Magics uses ECMWF's ecCodes (formerly known as GRIB_API) for the decoding of GRIB files. See Grib Input for more details. This allows Magics to plot GRIB edition 1 or 2 in an transparent way for the user. It also enable the use of GRIB_API keys to tailor text.
Magics can not handle fields in spherical-harmonic representation. The user has to provide the data on a Gaussian or regular grid. This has the advantage that expensive interpolations are not performed when plotting data but at the time of retrieval. Most data users will handle are either in Gaussian or regular grid.