Grib2Dict

From Wiki

Contents


1 Description

The GRIB2 parameter dictionary is used by grib2_encode and grib2_decode to do the translation between GRIB and the RPN standard file parameter.

2 File components

  1. The first line should be #%SG2_CONF_005. This is used as the version of GRIB2 Dict file.
  2. The other lines is a set of 24 columns. The next section  describes those columns.

3 Entry format

Lines with a '#' in the first column (comment lines) and empty lines are not treated.  For a dictionary entry to be valid, all elements must be present and on the same line. Anything following on the line is considered as comments.

Note: "--" is used as a "Not considered" flag.

The entries wich use the "Not considered" flag have a lower matching priority(see Selection of dictionary entries).

An entry is composed of the following elements:

Grib file section
Center
Cid  : Id of the center that produced the field (can be a value, less or equal to 255, or "--")
sub  : Id of the sub-center that produced the field (can be a value, less or equal to 255, or "--")


Parameter
dis  : Product Discipline - Code table 0.0 (can be a value, less or equal to 255, or "--")
mtab  : Grib master table - Code table 1.0 (can be a value, less or equal to 255, or "--")
cat  : Parameter category - Code table 4.1 (can be a value, less or equal to 255, or "--")
Pid  : Parameter number - Code table 4.2 (can be a value, less or equal to 255, or "--")
Sta  : Type of statical processing - Code table 4.10 (can be a value, less or equal to 255, or "--")
Ache  : Atmospheric chemical or physical constituent type - Code table 4.230 (can be a value, less or equal to 65535, or "--")


Time range
Tid  : Significance of Refence Time (Code Table 1.2) (can be a value, less or equal to 255, or "--")
Un  : Time range units (Code table 4.4). Possibles units are:




s  : seconds
m  : minutes
h  : hours
d  : days
M  : months
y  : years
D  : decades
n  : normal (30 years)
c  : century
10  : 3 hours
11  : 6 hours
12  : 12 hours
--  : not specified. In that case the units are taken from

the ip parameters time range operations. If there is no ip time operations, the default is h (hours).


Level
Lt1  : Type of 1st surface - code table 4.5 (can be a value, less or equal to 255, or "--")
v1  : value of 1st surface level (can be a value or "--")
Lt2  : Type of 2nd surface - code table 4.5 (can be a value, less or equal to 255, or "--")
v2  : value of 2nd surface level (can be a value or "--")



RPN Standard file section
Identification
name  : Name of parameter
ip1  : Operation for ip1 (ip1 usualy contains the level)
name  : Name of parameter
ip1_mag  : ip1 value at meter level above ground (number or "--" )
ip2  : Operation for ip2 (ip2 usualy contains the forcast time in hours)
ip3  : Operation for ip3

Possible operations (for ip1, ip2, ip3) are:

<value>  : Direct assignation

A value of 32767 in ip1 indicates an hybrid level

LEQ  : Grib level value
LEQ1  : First fixed surface grib level value
LEQ2  : Second fixed surface grib level value

PRH  : Grib level value from hPa to stdf pressure level
PRH1  : First fixed surface grib level value hPa to stdf pressure level
PRH2  : Second fixed surface grib level value hpa to stdf pressure level
PRK  : Grib level value from kPa to stdf pressure level
PRK1  : First fixed surface grib level value kPa to stdf pressure level
PRK2  : Second fixed surface grib level value kpa to stdf pressure level

Z  : Grib level value from m to stdf Z level
Z1  : First fixed surface grib level value from m to stdf Z level
Z2  : Second fixed surface grib level value from m to stdf Z level
Zc  : Grib level value from cm to stdf Z level
Zc1  : First fixed surface grib level value from cm to stdf Z level
Zc2  : Second fixed surface grib level value from cm to stdf Z level
ZH  : Grib level value from hm to stdf Z level
ZH1  : First fixed surface grib level value from hm to stdf Z level
ZH2  : Second fixed surface grib level value from hm to stdf Z level

SIGc  : Grib level value from 1/100 sigma to stdf sigma level
SIGc1  : First fixed surface grib level value from 1/100 sigma to stdf sigma level
SIGc2  : Second fixed surface grib level value from 1/100 sigma to stdf sigma level
SIGm  : Grib level value from 1/1000 sigma to stdf sigma level
SIGm1  : First fixed surface grib level value from 1/1000 sigma to stdf sigma level
SIGm2  : Second fixed surface grib level value from 1/1000 sigma to stdf sigma level
SIGu  : Grib level value from 1/10000 sigma to stdf sigma level
SIGu1  : First fixed surface grib level value from 1/10000 sigma to stdf sigma level
SIGu2  : Second fixed surface grib level value from 1/10000 sigma to stdf sigma level

ETAc  : Grib level value from 1/100 ETA to stdf ETA level
ETAc1  : First fixed surface grib level value from 1/100 ETA to stdf ETA level
ETAc2  : Second fixed surface grib level value from 1/100 ETA to stdf ETA level
ETAm  : Grib level value from 1/1000 ETA to stdf ETA level
ETAm1  : First fixed surface grib level value from 1/1000 ETA to stdf ETA level
ETAm2  : Second grib level value from 1/1000 ETA to stdf ETA level
ETA  : Grib level value from ETA to stdf ETA level
ETA1  : First grib level value from ETA to stdf ETA level
ETA2  : Second grib level value from ETA to stdf ETA level
ETAu  : Grib level value from 1/10000 ETA to stdf ETA level
ETAu1  : First fixed surface grib level value from 1/10000 ETA to stdf ETA level
ETAu2  : Second fixed surface grib level value from 1/10000 ETA to stdf ETA level

MAG  : Grib level: meter above or below ground
B1MAG  : Grib level: Block 1 meter above or below ground
B2MAG  : Grib level: Block 2 meter above or below ground
B3MAG  : Grib level: Block 3 meter above or below ground
B4MAG  : Grib level: Block 4 meter above or below ground
B5MAG  : Grib level: Block 5 meter above or below ground
cMAG  : Grib level: centimeter above or below ground
c1MAG  : Grib level: Block 1 centimeter above or below ground
c2MAG  : Grib level: Block 2 centimeter above or below ground
c3MAG  : Grib level: Block 3 centimeter above or below ground
c4MAG  : Grib level: Block 4 centimeter above or below ground
c5MAG  : Grib level: Block 5 centimeter above or below ground
HYB  : Grib level value from hybrid to stdf hybrid
HYB1  : First fixed surface grib level value from hybrid to stdf hybrid
HYB2  : Secong fixed surface grib level value from hybrid to stdf hybrid
MIS  : Grib level missing value
MIS2S  : Second fixed surface grib level missing value

TEQ  : Grib time range value
TEQ1  : First grib time range value
TEQ2  : Second grib time range value
Ts  : Grib time range value in seconds in the stdf
Ts1  : First grib time range value in seconds in the stdf
Ts2  : Second grib time range value in seconds in the stdf
Tm  : Grib time range value in minutes in the stdf
Tm1  : First grib time range value in minutes in the stdf
Tm2  : Second grib time range value in minutes in the stdf
Th  : Grib time range value in hours in the stdf
Th1  : First grib time range value in hours in the stdf
Th2  : Second grib time range value in hours in the stdf
Td  : Grib time range value in days in the stdf
Td1  : First grib time range value in days in the stdf
Td2  : Second grib time range value in days in the stdf
TM  : Grib time range value in months in the stdf
TM1  : First grib time range value in months in the stdf
TM2  : Second grib time range value in months in the stdf
Ty  : Grib time range value in years in the stdf
Ty1  : First grib time range value in years in the stdf
Ty2  : Second grib time range value in years in the stdf

NOP  : No operation


Conversion Values and operations applied when going from GRIB2 units to RPN standard file units.
pre_op  : mathematical operation to do on data before applying factor, delta and post_op
factor  : data is multiplied by this factor
delta  : delta is added to data
post_op  : mathematical operation to do on data after applying pre_op, factor and delta


Note: std_value = post_op( (pre_op(grb_value) + delta) * factor ). Possible pre_op and post_op:

NOP  : No operation. Data is left unchange. f(x) = x
LOG  : Logarithm base 10 f(x) = log(x)
P10  : Power of 10 f(x) = 10**(x)




 

4 Selection of dictionary entries

The dictionary entry is selected following these rules:

  • A weight is given to each entry
  • The entry with the largest weight is selected
  • The dictionary is scanned from top to bottom, so if entries have the same weigth, the one encountered first is selected
  • The total weight of an entry is obtain by adding the weight to each of its elements
  • Entry elements with a value of "--" or NOP are ignored
  • If an element's value does not match the record's corresponding value, the entry is rejected

Weight of each element


Encoding (STDF -> GRIB)
Decoding (GRIB -> STDF)
name 32
center 16
subcenter 8
ip1 4
ip2 2
ip3 1
Tests on Ip values
  1. If ip is a number:

  record's ip must have the
  same value

  1. If ip is a level code:
      record's ip must be a level
      of the specified type
  2. The rest is considered time
      and all comparisons are
      successfull

center 128
subcenter 100
Discipline 90
Param categ. 70
Param num. 60
Type of 1st level 50
Type of 2nd level 50
1st fix surf level 40
2nd fix surf level 40
Time 30



5 Example

Here are a few example entries. Lines beginning with # are comment. they help keeping track of entry elements.

#
#----------------------------------------------------------------------------------------------------------------------------------
#                     Grib file                                        |                   Standard file
#-Center-| -------- Param  --------------|-Time rang-|  ---Level ----  |   --Identification  --    --  -----Conversion  --  --  ---
# Cid sub| dis mtab  cat Pid   Sta  ache | Tid Un  P | Lt1  v1 Lt2 v2  | name ip1  ip1_mag ip2   ip3    pre-op factor     delta post_op
#          0.0 1.0   4.1 4.2   4.10 4.230               4.5     4.5
#
#Cette section pour variables surfaces isobariques pour membres des ensembles
   --  --  000  --   000 000    --   --    -- -- --    100  -- --  --    TT   PRH   --    NOP   NOP    NOP    1.0         -273.15 NOP
#  --  --  000  --   000 006    --   --    -- -- --    111  -- --  --    TD   ETAu  --    NOP   NOP    NOP    1.0         -273.15 NOP
   --  --  000  --   000 006    --   --    -- -- --    103  02 --  --    TD   MAG   12000 NOP   NOP    NOP    1.0         -273.15 NOP
   --  --  000  --   000 000    --   --    -- -- --    111  -- --  --    TT   ETAu  --    NOP   NOP    NOP    1.0         -273.15 NOP
   --  --  000  --   000 007    --   --    -- -- --    100  -- --  --    ES   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   000 007    --   --    -- -- --    111  -- --  --    ES   ETAu  --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    100  -- --  --    HU   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 001    --   --    -- -- --    100  -- --  --    HR   PRH   --    NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    103  02 --  --    HU   MAG   12000 NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    111  -- --  --    HU   ETAu  --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 001    --   --    -- -- --    100  -- --  --    HR   PRH   --    NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   001 007    --   --    -- -- --    001  -- --  --    RT     0   --    NOP   NOP    NOP    0.001          0.0  NOP
   --  --  000  --   003 005    --   --    -- -- --    100  -- --  --    GZ   PRH   --    NOP   NOP    NOP    0.1            0.0  NOP
   --  --  000  --   003 005    --   --    -- -- --    111  -- --  --    GZ   ETAu  --    NOP   NOP    NOP    0.1            0.0  NOP
   --  --  000  --   003 012    --   --    -- -- --    100 100000 100 50000  DZ  PRH  --  NOP   NOP    NOP    0.1            0.0  NOP
   --  --  000  --   002 008    --   --    -- -- --    100  -- --  --    WW   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   002 002    --   --    -- -- --    100  -- --  --    UU   PRH   --    NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 003    --   --    -- -- --    100  -- --  --    VV   PRH   --    NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 000    --   --    -- -- --    100  -- --  --    WD   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    100  -- --  --    HU   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
#  --  --  000  --   002 002    --   --    -- -- --    103  10 --  --    UU   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
#  --  --  000  --   002 003    --   --    -- -- --    103  10 --  --    VV   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
#  --  --  000  --   002 000    --   --    -- -- --    103  10 --  --    WD   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
#  --  --  000  --   002 001    --   --    -- -- --    103  10 --  --    UV   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 002    --   --    -- -- --    111 --  --  --    UU   ETAu  --    NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 003    --   --    -- -- --    111 --  --  --    VV   ETAu  --    NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 000    --   --    -- -- --    111 --  --  --    WD   ETAu  --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   002 001    --   --    -- -- --    100 --  --  --    UV   PRH   --    NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 001    --   --    -- -- --    111 --  --  --    UV   ETAu  --    NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 008    --   --    -- -- --    100 --  --  --    WW   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   002 010    --   --    -- -- --    100 --  --  --    QQ   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    100 --  --  --    HU   PRH   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    108 --  60  30    HU   983   --    NOP   953    NOP    .01            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    108 --  90  60    HU   953   --    NOP   923    NOP    .01            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    108 -- 120  90    HU   923   --    NOP   893    NOP    .01            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    108 -- 150 120    HU   893   --    NOP   863    NOP    .01            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    108 -- 180 150    HU   863   --    NOP   833    NOP    .01            0.0  NOP
   --  --  000  --   003 001    --   --    -- -- --    102 --  --  --    PN     0   --    NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   004 007    01   --    -- -- --    008 --  --  --    AB     0    0    Th2   Th1    NOP    1.0            0.0  NOP
   --  --  000  --   004 007    01   --    -- -- --    001 --  --  --    N4     0    0    Th      0    NOP    1.0            0.0  NOP
   --  --  000  --   004 000    01   --    -- -- --    001 --  --  --    AS     0    0    Th2   Th1    NOP   -1.0            0.0  NOP
   --  --  000  --   005 003    01   --    -- -- --    001 --  --  --    AD     0    0    Th2   Th1    NOP    1.0            0.0  NOP
   --  --  000  --   005 000    01   --    -- -- --    001 --  --  --    AI     0    0    Th2   Th1    NOP    1.0            0.0  NOP
   --  --  000  --   000 011    --   --    -- -- --    001 --  --  --    FC  1195   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   000 011    --   --    -- -- --    001 --  --  --    FC  1195   --    Th      0    NOP    1.0            0.0  NOP
   --  --  000  --   000 011    03   --    -- -- --    001 --  --  --    FC  1195   --    Th1   Th2    NOP    1.0            0.0  NOP
   --  --  000  --   000 011    --   --    -- -- --    001 --  --  --    FC     0   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   000 011    --   --    -- -- --    001 --  --  --    FC     0   --    Th      0    NOP    1.0            0.0  NOP
   --  --  000  --   000 011    03   --    -- -- --    001 --  --  --    FC     0   --    Th1   Th2    NOP    1.0            0.0  NOP
   --  --  000  --   000 010    --   --    -- -- --    001 --  --  --    FV  1195   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   000 010    --   --    -- -- --    001 --  --  --    FV  1195   --    Th      0    NOP    1.0            0.0  NOP
   --  --  000  --   000 010    03   --    -- -- --    001 --  --  --    FV  1195   --    Th1   Th2    NOP    1.0            0.0  NOP
   --  --  000  --   000 010    --   --    -- -- --    001 --  --  --    FV    0    --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   000 010    --   --    -- -- --    001 --  --  --    FV    0    --    Th      0    NOP    1.0            0.0  NOP
   --  --  000  --   000 010    03   --    -- -- --    001 --  --  --    FV    0    --    Th1   Th2    NOP    1.0            0.0  NOP
#  --  --  000  --   001 020    --   --    -- -- --    200 --  --  --    IH     0   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   004 008    --   --    -- -- --    008 --  --  --    EV     0   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   004 008    --   --    -- -- --    008 --  --  --    EV     0   --    Th      0    NOP    1.0            0.0  NOP
   --  --  000  --   004 008    03   --    -- -- --    008 --  --  --    EV     0   --    Th1   Th2    NOP    1.0            0.0  NOP
   --  --  000  --   005 004    --   --    -- -- --    008 --  --  --    EI     0   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   005 004    --   --    -- -- --    008 --  --  --    EI     0   --    Th      0    NOP    1.0            0.0  NOP
   --  --  000  --   005 004    03   --    -- -- --    008 --  --  --    EI     0   --    Th1   Th2    NOP    1.0            0.0  NOP
   --  --  000  --   019 001    --   --    -- -- --    001 --  --  --    AL  1195   --    NOP   NOP    NOP   0.01            0.0  NOP
   --  --  000  --   019 001    --   --    -- -- --    001 --  --  --    AL     0   --    NOP   NOP    NOP   0.01            0.0  NOP

   --  --  000  --   003 004    --   --    -- -- --    001 --  --  --    MX    0    --    NOP   NOP    NOP   0.01            0.0  NOP
   --  --  000  --   003 005    --   --    -- -- --    001 --  --  --    MX    0    --      0     0    NOP  9.807            0.0  NOP
   --  --  000  --   003 006    --   --    -- -- --    001 --  --  --    MX    0    --    NOP   NOP    NOP  9.807            0.0  NOP
   --  --  002  --   000 000    --   --    -- -- --    001 --  --  --    MG    0    --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  010  --   002 000    --   --    -- -- --    001 --  --  --    GL    0    --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 011    --   --    -- -- --    001 --  --  --    SD  1195   --    NOP   NOP    NOP  100.0            0.0  NOP
   --  --  000  --   001 000    --   --    -- -- --    001 --  --  --    J9  1195   --    NOP   NOP    NOP    1.0            0.0  NOP

   --  --  002  --   000 003    --   --    -- -- --    106   0 106 1     I1 cB1MAG  1199  NOP   NOP    NOP    1.0            0.0 NOP
   --  --  002  --   000 002    --   --    -- -- --    106   0 106 10    I0 cB1MAG  1198  NOP   NOP    NOP    1.0            0.0 NOP

   --  --  002  --   000 002    --   --    -- -- --    001 --  --  --    I0  1199   --    NOP   NOP    NOP    1.0            0.0  NOP
#  --  --  002  --   000 002    --   --    -- -- --    111 100 --  --    I0  1198   --    NOP   NOP    NOP    1.0            0.0  NOP
#  --  --  002  --   000 003    --   --    -- -- --    112 --   0  10    I1  1199   --    NOP   NOP    NOP    1.0            0.0  NOP
#  --  --  002  --   000 003    --   --    -- -- --    112 --   0 100    I1  1198   --    NOP   NOP    NOP    1.0            0.0  NOP
   --  --  010  --   003 000    --   --    -- -- --    001 --  --  --    TM   0     --    NOP   NOP    NOP    1.0         -273.15 NOP
   --  --  000  --   000 013    --   --    -- -- --    001 --  --  --    RE   0     --    NOP   NOP    NOP    1.0            0.0  NOP
#
#Cette section pour variables a la surface pour membres des ensembles
   --  --  000  --   003 005    --   --    -- -- --    001  00 --  --    MT   MIS   0     NOP   NOP    NOP    9.807          0.0  NOP
   --  --  000  --   000 000    --   --    -- -- --    103  02 --  --    TT   MAG   12000 NOP   NOP    NOP    1.0         -273.15 NOP
   --  --  000  --   000 007    --   --    -- -- --    103  02 --  --    ES   MAG   12000 NOP   NOP    NOP    1.0            0.0  NOP
   --  --  000  --   001 001    --   --    -- -- --    103  02 --  --    HR   MAG   12000 NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   002 002    --   --    -- -- --    103  10 --  --    UU   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 003    --   --    -- -- --    103  10 --  --    VV   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 001    --   --    -- -- --    103  10 --  --    UV   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   002 000    --   --    -- -- --    103  10 --  --    WD   MAG   12000 NOP   NOP    NOP    1.9440124      0.0  NOP
   --  --  000  --   003 001    --   --    -- -- --    101  -- --  --    PN   MIS   00    NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   003 000    --   --    -- -- --    001  -- --  --    P0   MIS   00    NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   003 000    --   --    -- -- --    006  -- --  --    P0   1198  --    NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   003 000    --   --    -- -- --    007  -- --  --    P0   1199  --    NOP   NOP    NOP    .01            0.0  NOP
   --  --  000  --   006 001    --   --    -- -- --    001  -- --  --    NT   MIS   00    Th2   Th1    NOP    .01            0.0  NOP
   --  --  000  --   006 006    --   --    -- -- --    200  -- --  --    IH   MIS   00    NOP   NOP    NOP    1.0            0.0  NOP
#  --  --  000  --   006 006    --   --    -- -- --    010  -- --  --    IH   0     --    NOP   NOP    NOP     1.0            0.0  NOP
   --  --  000  --   001 003    --   --    -- -- --    200  -- --  --    PW   MIS   00    NOP   NOP    NOP    .001           0.0  NOP
   --  --  000  --   007 006    --   --    -- -- --    108  -- --  --    CP   MIS2S 00    NOP   NOP    NOP    1.0            0.0  NOP

#          0.0       4.1 4.2                       4.5

   --  --  000  --   000 005    03   --    -- -- --    103  02 --  --    T7   MAG   12000 Th2   Th1    NOP    1.0         -273.15 NOP
   --  --  000  --   000 004    02   --    -- -- --    103  02 --  --    T8   MAG   12000 Th2   Th1    NOP    1.0         -273.15 NOP
   --  --  000  02   000 005    03   --    -- -- --    103  02 --  --    T7   MAG   12000 Th2   Th1    NOP    1.0         -273.15 NOP
   --  --  000  02   000 004    02   --    -- -- --    103  02 --  --    T8   MAG   12000 Th2   Th1    NOP    1.0         -273.15 NOP

#Cummulative Precipitation

   --  --  000  --   001 008    --   --    -- -- --    001  -- --  --    PR   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 008    --   --    -- -- --    001  -- --  --    PR   0     0     0     0      NOP    .001           0.0  NOP
   --  --  000  --   001 008    --   --    -- -- --    001  -- --  --    PR   0     --    Th2   0      NOP    .001           0.0  NOP
   --  --  000  --   001 008    --   --    -- -- --    001  -- --  --    PR   0     --    Th2   Th1    NOP    .001           0.0  NOP
   --  --  000  --   001 008    --   --    -- -- --    001  -- --  --    PR   Th1   --    Th2   0      NOP    .001           0.0  NOP
   --  --  000  --   001 008    --   --    -- -- --    001  -- --  --    PR   0     --    Th1   0      NOP    .001           0.0  NOP
   --  --  000  --   001 008    --   --    -- -- --    001  -- --  --    PR   0     --    NOP   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 010    --   --    -- -- --    001  -- --  --    PC   0     --    NOP   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 010    --   --    -- -- --    001  -- --  --    PC   0     --    Th2   Th1    NOP    .001           0.0  NOP

#CMC cummulative precipitation types
#          0.0       4.1 4.2                       4.5
   --  --  000  --   001 218    --   --    -- -- --    001  -- --  --    RN   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 217    --   --    -- -- --    001  -- --  --    SN   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 219    --   --    -- -- --    001  -- --  --    PE   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 220    --   --    -- -- --    001  -- --  --    FR   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 033    --   --    -- -- --    001  -- --  --    RA   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 034    --   --    -- -- --    001  -- --  --    ZR   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 035    --   --    -- -- --    001  -- --  --    GR   0     --    Th2   NOP    NOP    .001           0.0  NOP
   --  --  000  --   001 036    --   --    -- -- --    001  -- --  --    TN   0     --    Th2   NOP    NOP    .001           0.0  NOP
#
   --  --  000  --   007 013    --   --    -- -- --    001  -- --  --    WA  850    850   NOP   NOP    NOP     1.0           0.0  NOP
   --  --  000  --   002 025    --   --    -- -- --    111  -- --  --    BS  ETAu   --    NOP   NOP    NOP     1.0           0.0  NOP
   --  --  000  --   007 005    --   --    -- -- --    001  -- --  --    SW  850    850   NOP   NOP    NOP     1.0           0.0  NOP
#
   --  --  000  --   007 011    --   --    -- -- --    001  -- --  --    IL   0     --    NOP   NOP    NOP     1.0           0.0  NOP
   --  --  000  --   007 010    --   --    -- -- --    001  -- --  --    LI   0     --    NOP   NOP    NOP     1.0           0.0  NOP

## --  --  000  --   007 006    --   --    -- -- --    111  -- --  --    BE  ETAu  12000  NOP   NOP    NOP     1.0           0.0  NOP
## --  --  000  --   007 008    --   --    -- -- --    111  -- --  --    HL  ETAu  12000  NOP   NOP    NOP     1.0           0.0  NOP
## --  --  000  --   007 198    --   --    -- -- --    111  -- --  --    BI  ETAu   --    NOP   0      NOP     1.0           0.0  NOP

   --  --  000  --   007 198    --   --    -- -- --    001  -- --  --    BI  0      --    NOP   0      NOP     1.0           0.0  NOP
   --  --  000  --   007 006    --   --    -- -- --    001  -- --  --    BE  0      --    NOP   NOP    NOP     1.0           0.0  NOP
   --  --  000  --   007 008    --   --    -- -- --    001  -- --  --    HL  0      --    NOP   NOP    NOP     1.0           0.0  NOP


   --  --  000  --   004 000    --   --    -- -- --    001 --  --  --    FS  0      --    NOP   NOP    NOP    -1.0            0.0 NOP
   --  --  000  --   004 000    --   --    -- -- --    001 --  --  --    FS  0      --    Th      0    NOP    -1.0            0.0 NOP
   --  --  000  --   004 000    03   --    -- -- --    001 --  --  --    FS  0      --    Th1   Th2    NOP    -1.0            0.0 NOP

   --  --  000  --   005 003    --   --    -- -- --    001 --  --  --    FI  0      --    Th      0    NOP     1.0            0.0 NOP
   --  --  000  --   005 003    03   --    -- -- --    001 --  --  --    FI  0      --    Th1   Th2    NOP     1.0            0.0 NOP

   --  --  002  --   000 002    --   --    -- -- --    001 --  --  --    TG  0      --    NOP   NOP    NOP     1.0            0.0 NOP