2020-01-28 14:32:34 +00:00
|
|
|
# (C) Copyright 2005- ECMWF.
|
2013-03-25 12:04:10 +00:00
|
|
|
|
|
|
|
constant grib2divider = 1000000;
|
|
|
|
transient missingValue = 9999;
|
|
|
|
constant ieeeFloats = 1 : edition_specific;
|
|
|
|
|
|
|
|
ascii[4] identifier;
|
|
|
|
ascii[2] reserved : hidden;
|
|
|
|
codetable[1] discipline 'grib2/0.0.table';
|
|
|
|
unsigned[1] editionNumber : edition_specific;
|
2014-06-21 21:28:40 +00:00
|
|
|
section_length[8] totalLength;
|
2013-03-25 12:04:10 +00:00
|
|
|
|
2021-07-01 14:13:32 +00:00
|
|
|
template core "grib2/sections.def";
|
2013-03-25 12:04:10 +00:00
|
|
|
|
|
|
|
lookup[4] endOfProduct(0);
|
2021-07-01 14:13:32 +00:00
|
|
|
if(endOfProduct != `7777`){
|
|
|
|
template core "grib2/sections.def";
|
|
|
|
}
|
|
|
|
template section8 "grib2/section.8.def";
|