eccodes/definitions/bufr/boot_edition_4.def

26 lines
628 B
Modula-2
Raw Normal View History

2019-04-15 13:44:45 +00:00
# Copyright 2005-2019 ECMWF.
ascii[4] identifier = "BUFR" : read_only,hidden;
alias identifier=identifier;
2016-01-29 14:34:30 +00:00
section_length[3] totalLength ;
2016-07-19 12:58:33 +00:00
unsigned[1] edition = 4 : dump;
2016-02-17 08:45:48 +00:00
alias editionNumber=edition;
2019-04-25 15:51:02 +00:00
template section_1 "bufr/section.1.4.def";
2016-07-19 10:52:55 +00:00
flagbit localSectionPresent(section1Flags,7) = 1;
alias section2Present=localSectionPresent;
alias localUsePresent=localSectionPresent;
2016-07-19 10:52:55 +00:00
if(localSectionPresent){
2019-04-25 15:51:02 +00:00
template section_2 "bufr/section.2.def";
} else {
transient section2Length = 0;
}
2019-04-25 15:51:02 +00:00
template section_3 "bufr/section.3.def";
template section_4 "bufr/section.4.def";
template section_5 "bufr/section.5.def";