27.03.2013 Views

Guide to WMO Table Driven Code Forms

Guide to WMO Table Driven Code Forms

Guide to WMO Table Driven Code Forms

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GRIB1 Sections GRIB2 Sections<br />

Indica<strong>to</strong>r Section Indica<strong>to</strong>r Section<br />

No counterpart Local Use Section<br />

¦-------> Identification Section<br />

Product Definition Section Product Definition Section<br />

¦-------> Data Representation Section<br />

Grid Description Section Grid Definition Section<br />

Bit-Map Section Bit-Map Section<br />

Binary Data Section Data Section<br />

End Section End Section<br />

The subdivision of the GRIB1 Product Definition Section in<strong>to</strong> the GRIB2 Identification, Product<br />

Definition, and Data Representation Sections is one of the fundamental differences between<br />

GRIB1 and GRIB2. This, combined with the option for iterating the Sections (described next) and<br />

expansion of the concept of templates (described in Item 1.2.2), are what provide GRIB2 with its<br />

substantially enhanced flexibility over what is possible in GRIB1.<br />

1.2.1.2 Iterating the Sections<br />

GRIB1 only permits one field <strong>to</strong> be represented by a single GRIB1 message. However, GRIB2<br />

achieves additional flexibility by allowing more than one field <strong>to</strong> be represented in a single GRIB2<br />

message. This is allowed by permitting specific groups of sections <strong>to</strong> be repeated within a GRIB2<br />

message. Consider the sections of a GRIB2 message referred <strong>to</strong> above:<br />

Section 0: Indica<strong>to</strong>r Section<br />

Section 1: Identification Section<br />

Section 2: Local Use Section (optional) |<br />

Section 3: Grid Definition Section | |<br />

Section 4: Product Definition Section | | |<br />

Section 5: Data Representation Section | repeated |repeated |repeated<br />

Section 6: Bit-Map Section | | |<br />

Section 7: Data Section | | |<br />

Section 8: End Section<br />

The GRIB2 regulations state that (A) Sequences of GRIB2 sections 2 <strong>to</strong> 7, 3 <strong>to</strong> 7, or 4 <strong>to</strong> 7 may be<br />

repeated within a single GRIB2 message, (B) All sections within such repeated sequences must<br />

be present and shall appear in the numerical order noted above, and (C) Unrepeated sections<br />

remain in effect until redefined. This is denoted schematically in the above table by the three<br />

groups of vertical bars.<br />

Consider, for example, 500 hPa height field forecasts on a Northern Hemisphere polar<br />

stereographic grid produced by a particular numerical model at forecast hours 12, 24, 36, and 48.<br />

These four fields could be represented by a single GRIB2 message by repeating the sequence of<br />

Sections 4 <strong>to</strong> 7 four times, making the appropriate forecast time changes in the Product Definition<br />

Section in each iteration of the sequence. This GRIB2 message would appear schematically as<br />

follows:<br />

4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!