eccodes/definitions/grib3/section.00.def

20 lines
649 B
Modula-2
Raw Normal View History

2020-01-28 14:32:34 +00:00
# (C) Copyright 2005- ECMWF.
2016-08-16 16:53:11 +00:00
# Section 0 - Indicator Section
position offsetSection0;
constant section0Length = 16;
2017-05-08 15:12:45 +00:00
ascii[4] identifier = "GRIB" : read_only;
unsigned[2] reserved = missing() : can_be_missing,hidden,read_only,edition_specific;
2016-08-16 16:53:11 +00:00
2017-05-08 15:12:45 +00:00
codetable[1] tablesVersion 'grib3/tables/0.0.table' = 1 : edition_specific;
alias gribMasterTablesVersionNumber=tablesVersion;
unsigned[1] editionNumber = 3 : edition_specific,dump;
2016-08-16 16:53:11 +00:00
alias ls.edition = editionNumber;
2017-05-08 15:12:45 +00:00
section_length[8] totalLength;
2016-08-17 17:44:44 +00:00
position startOfHeaders; # See later for endOfHeadersMarker
2016-08-16 16:53:11 +00:00
meta section0Pointer section_pointer(offsetSection0,section0Length,0);