For users to understand GRIB messages, the decoder must change portions of them into meteorological values. For example, a value of 11 in the ninth byte of the PDS is meaningless until it is converted to temperature in degrees Kelvin. Other attributes that must be converted include the geographic location, the forecast time units, and the generating model name and originating location.
Attribute |
Section/Byte |
Files |
---|---|---|
gbtbpds001.2v1, gbtbpds001.2v2, gbtbpds001.2v3, gbtbpds001.2v131 |
||
gbtbpds001.av1, gbtbpds001.a34v1, gbtbpds001.a60v1, gbtbpds001.a74v1, gbtbpds001.a98v1 |
||
When the decoder finds a value for one of these attributes, it checks the appropriate lookup table for information about the value. If it cannot find the information, the message is discarded.
Three ASCII file lookup tables are included with the McIDAS-XCD GRIB2 decoder for this purpose. These files are found in ~mcidas/data and begin with the characters grib2 as shown below.
Attribute |
File |
---|---|
geographic location |
grib2NavLookup.txt |
parameter/unit |
grib2Parameters.txt |
model |
grib2NCEPModels.txt |
The McIDAS-XCD GRIB2NAV command lists McIDAS navigation values that can be added to grib2NavLookup.txt. See Configuring Additional GRIB2 ADDE Datasets for more information.