2020-01-28 14:32:34 +00:00
|
|
|
# (C) Copyright 2005- ECMWF.
|
2016-08-16 16:53:11 +00:00
|
|
|
|
2017-05-08 17:13:36 +00:00
|
|
|
# Section 0 - Indicator Section
|
2017-05-09 15:02:05 +00:00
|
|
|
|
2016-08-22 14:04:08 +00:00
|
|
|
position offsetSection0;
|
|
|
|
constant section0Length = 16;
|
2017-05-08 15:12:45 +00:00
|
|
|
ascii[4] identifier = "GRIB" : read_only;
|
2016-08-22 14:04:08 +00:00
|
|
|
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
|
|
|
|
2016-08-22 14:04:08 +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);
|