gribmap

The GrADS data descriptor file defines a grid structure into which the data will fit -- it gives "shape" to the data by identifying its spatial dimensions, the number of time steps, and the number of variables.

If the data is in binary format, its structure has already been prescribed. If the data is in GRIB format, no consistent relationship exists between the data and the grid structure defined in the data descriptor file. Hence, the need for the gribmap utility which "maps" between the GRIB data and the GrADS data description.

As gribmap reads each field in the GRIB data file, the parameters for that field (e.g. variable name, vertical level, time) are compared to the information in the data descriptor file until a match is found. The process continues until all the GRIB elements have been "mapped" to their location within the GrADS grid structure.

The syntax for the gribmap command is as follows:

The options are as follows:

Another feature was added to map by the GRIB "time-range-indicator" as specified in the .ctl file. This was put in for handling NMC reanalysis data where the time-range-indicator distinguishes between monthly mean variances and means.