Definitions: cleanup

This commit is contained in:
Shahram Najm 2023-08-21 18:56:17 +01:00
parent 47588fd277
commit 33cd110bd1
4 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,6 @@
# (C) Copyright 2005- ECMWF.
ascii[4] identifier = "BUFR" : read_only,hidden;
ascii[4] identifier = "BUFR" : read_only,hidden;
alias identifier=identifier;
unsigned[3] section1Length;
@ -8,7 +8,7 @@ unsigned[3] section1Length;
unsigned[1] edition = 1 : dump;
alias editionNumber=edition;
template section_1 "bufr/section.1.1.def";
template section_1 "bufr/section.1.1.def";
flagbit localSectionPresent(section1Flags,7) = 1;
alias section2Present=localSectionPresent;
@ -18,7 +18,7 @@ if(localSectionPresent){
template section_2 "bufr/section.2.def";
}
else {
transient section2Length = 0;
transient section2Length = 0;
}
template section_3 "bufr/section.3.def";

View File

@ -1,24 +1,24 @@
# (C) Copyright 2005- ECMWF.
ascii[4] identifier = "BUFR" : read_only,hidden;
ascii[4] identifier = "BUFR" : read_only,hidden;
alias identifier=identifier;
unsigned[3] totalLength;
unsigned[3] totalLength;
unsigned[1] edition = 2 : dump;
alias editionNumber=edition;
template section_1 "bufr/section.1.2.def";
template section_1 "bufr/section.1.2.def";
flagbit localSectionPresent(section1Flags,7) = 1;
alias section2Present=localSectionPresent;
alias localUsePresent=localSectionPresent;
if(localSectionPresent){
template section_2 "bufr/section.2.def";
template section_2 "bufr/section.2.def";
}
else {
transient section2Length = 0;
transient section2Length = 0;
}
template section_3 "bufr/section.3.def";

View File

@ -1,9 +1,9 @@
# (C) Copyright 2005- ECMWF.
ascii[4] identifier = "BUFR" : read_only,hidden;
ascii[4] identifier = "BUFR" : read_only,hidden;
alias identifier=identifier;
section_length[3] totalLength ;
section_length[3] totalLength ;
unsigned[1] edition = 3 : dump;
alias editionNumber=edition;
@ -15,10 +15,10 @@ alias section2Present=localSectionPresent;
alias localUsePresent=localSectionPresent;
if(localSectionPresent){
template section_2 "bufr/section.2.def";
template section_2 "bufr/section.2.def";
}
else {
transient section2Length = 0;
transient section2Length = 0;
}
template section_3 "bufr/section.3.def";

View File

@ -1,23 +1,23 @@
# (C) Copyright 2005- ECMWF.
ascii[4] identifier = "BUFR" : read_only,hidden;
ascii[4] identifier = "BUFR" : read_only,hidden;
alias identifier=identifier;
section_length[3] totalLength ;
section_length[3] totalLength ;
unsigned[1] edition = 4 : dump;
alias editionNumber=edition;
template section_1 "bufr/section.1.4.def";
template section_1 "bufr/section.1.4.def";
flagbit localSectionPresent(section1Flags,7) = 1;
alias section2Present=localSectionPresent;
alias localUsePresent=localSectionPresent;
if(localSectionPresent){
template section_2 "bufr/section.2.def";
template section_2 "bufr/section.2.def";
} else {
transient section2Length = 0;
transient section2Length = 0;
}
template section_3 "bufr/section.3.def";