2020-01-28 14:32:34 +00:00
|
|
|
# (C) Copyright 2005- ECMWF.
|
2014-07-04 13:52:04 +00:00
|
|
|
|
2023-08-21 17:56:17 +00:00
|
|
|
ascii[4] identifier = "BUFR" : read_only,hidden;
|
2014-07-04 13:52:04 +00:00
|
|
|
alias identifier=identifier;
|
|
|
|
|
2023-08-21 17:56:17 +00:00
|
|
|
section_length[3] totalLength ;
|
2014-07-04 13:52:04 +00:00
|
|
|
|
2016-09-21 16:15:49 +00:00
|
|
|
unsigned[1] edition = 3 : dump;
|
|
|
|
alias editionNumber=edition;
|
2014-07-04 13:52:04 +00:00
|
|
|
|
2019-04-25 15:51:02 +00:00
|
|
|
template section_1 "bufr/section.1.3.def";
|
2014-07-04 13:52:04 +00:00
|
|
|
|
2016-07-19 10:52:55 +00:00
|
|
|
flagbit localSectionPresent(section1Flags,7) = 1;
|
|
|
|
alias section2Present=localSectionPresent;
|
2019-09-20 15:19:09 +00:00
|
|
|
alias localUsePresent=localSectionPresent;
|
2014-07-04 13:52:04 +00:00
|
|
|
|
2016-07-19 10:52:55 +00:00
|
|
|
if(localSectionPresent){
|
2023-08-21 17:56:17 +00:00
|
|
|
template section_2 "bufr/section.2.def";
|
2014-07-04 13:52:04 +00:00
|
|
|
}
|
|
|
|
else {
|
2023-08-21 17:56:17 +00:00
|
|
|
transient section2Length = 0;
|
2014-07-04 13:52:04 +00:00
|
|
|
}
|
|
|
|
|
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";
|