eccodes/definitions/grib1/local.98.191.def

36 lines
867 B
Modula-2
Raw Permalink Normal View History

2020-01-28 14:32:34 +00:00
# (C) Copyright 2005- ECMWF.
2013-03-25 12:04:10 +00:00
template mars_labeling "grib1/mars_labeling.def";
# zeroForCompatibilityWithMars
pad padding_loc191_1(2);
unsigned[1] formatVersionMajorNumber : dump;
unsigned[1] formatVersionMinorNumber : dump;
unsigned[1] originalSubCentreIdentifier : dump;
# This does not belong here, this is for class=ms,country=de
alias mars.levelist = level;
# setToZero
pad padding_loc191_2(4);
unsigned[2] numberOfBytesOfFreeFormatData : dump;
position offsetFreeFormData;
#freeFormDataList list(numberOfBytesOfFreeFormatData) {
# unsigned[1] freeFormData;
#}
unsigned[1] freeFormData[numberOfBytesOfFreeFormatData] : dump;
# padToAMultipleOf80Bytes
# -1 comes from gribex
padtomultiple padding_loc191_3(offsetFreeFormData,80);
position offsetAfterPadding;
constant GRIBEXSection1Problem = ( offsetAfterPadding - offsetFreeFormData) % 80 ;