mirror of https://github.com/ecmwf/eccodes.git
Definitions: cleanup
This commit is contained in:
parent
47588fd277
commit
33cd110bd1
|
@ -1,6 +1,6 @@
|
||||||
# (C) Copyright 2005- ECMWF.
|
# (C) Copyright 2005- ECMWF.
|
||||||
|
|
||||||
ascii[4] identifier = "BUFR" : read_only,hidden;
|
ascii[4] identifier = "BUFR" : read_only,hidden;
|
||||||
alias identifier=identifier;
|
alias identifier=identifier;
|
||||||
|
|
||||||
unsigned[3] section1Length;
|
unsigned[3] section1Length;
|
||||||
|
@ -8,7 +8,7 @@ unsigned[3] section1Length;
|
||||||
unsigned[1] edition = 1 : dump;
|
unsigned[1] edition = 1 : dump;
|
||||||
alias editionNumber=edition;
|
alias editionNumber=edition;
|
||||||
|
|
||||||
template section_1 "bufr/section.1.1.def";
|
template section_1 "bufr/section.1.1.def";
|
||||||
|
|
||||||
flagbit localSectionPresent(section1Flags,7) = 1;
|
flagbit localSectionPresent(section1Flags,7) = 1;
|
||||||
alias section2Present=localSectionPresent;
|
alias section2Present=localSectionPresent;
|
||||||
|
@ -18,7 +18,7 @@ if(localSectionPresent){
|
||||||
template section_2 "bufr/section.2.def";
|
template section_2 "bufr/section.2.def";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
transient section2Length = 0;
|
transient section2Length = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
template section_3 "bufr/section.3.def";
|
template section_3 "bufr/section.3.def";
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
# (C) Copyright 2005- ECMWF.
|
# (C) Copyright 2005- ECMWF.
|
||||||
|
|
||||||
ascii[4] identifier = "BUFR" : read_only,hidden;
|
ascii[4] identifier = "BUFR" : read_only,hidden;
|
||||||
alias identifier=identifier;
|
alias identifier=identifier;
|
||||||
|
|
||||||
unsigned[3] totalLength;
|
unsigned[3] totalLength;
|
||||||
|
|
||||||
unsigned[1] edition = 2 : dump;
|
unsigned[1] edition = 2 : dump;
|
||||||
alias editionNumber=edition;
|
alias editionNumber=edition;
|
||||||
|
|
||||||
template section_1 "bufr/section.1.2.def";
|
template section_1 "bufr/section.1.2.def";
|
||||||
|
|
||||||
flagbit localSectionPresent(section1Flags,7) = 1;
|
flagbit localSectionPresent(section1Flags,7) = 1;
|
||||||
alias section2Present=localSectionPresent;
|
alias section2Present=localSectionPresent;
|
||||||
alias localUsePresent=localSectionPresent;
|
alias localUsePresent=localSectionPresent;
|
||||||
|
|
||||||
if(localSectionPresent){
|
if(localSectionPresent){
|
||||||
template section_2 "bufr/section.2.def";
|
template section_2 "bufr/section.2.def";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
transient section2Length = 0;
|
transient section2Length = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
template section_3 "bufr/section.3.def";
|
template section_3 "bufr/section.3.def";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# (C) Copyright 2005- ECMWF.
|
# (C) Copyright 2005- ECMWF.
|
||||||
|
|
||||||
ascii[4] identifier = "BUFR" : read_only,hidden;
|
ascii[4] identifier = "BUFR" : read_only,hidden;
|
||||||
alias identifier=identifier;
|
alias identifier=identifier;
|
||||||
|
|
||||||
section_length[3] totalLength ;
|
section_length[3] totalLength ;
|
||||||
|
|
||||||
unsigned[1] edition = 3 : dump;
|
unsigned[1] edition = 3 : dump;
|
||||||
alias editionNumber=edition;
|
alias editionNumber=edition;
|
||||||
|
@ -15,10 +15,10 @@ alias section2Present=localSectionPresent;
|
||||||
alias localUsePresent=localSectionPresent;
|
alias localUsePresent=localSectionPresent;
|
||||||
|
|
||||||
if(localSectionPresent){
|
if(localSectionPresent){
|
||||||
template section_2 "bufr/section.2.def";
|
template section_2 "bufr/section.2.def";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
transient section2Length = 0;
|
transient section2Length = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
template section_3 "bufr/section.3.def";
|
template section_3 "bufr/section.3.def";
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
# (C) Copyright 2005- ECMWF.
|
# (C) Copyright 2005- ECMWF.
|
||||||
|
|
||||||
ascii[4] identifier = "BUFR" : read_only,hidden;
|
ascii[4] identifier = "BUFR" : read_only,hidden;
|
||||||
alias identifier=identifier;
|
alias identifier=identifier;
|
||||||
|
|
||||||
section_length[3] totalLength ;
|
section_length[3] totalLength ;
|
||||||
|
|
||||||
unsigned[1] edition = 4 : dump;
|
unsigned[1] edition = 4 : dump;
|
||||||
alias editionNumber=edition;
|
alias editionNumber=edition;
|
||||||
|
|
||||||
template section_1 "bufr/section.1.4.def";
|
template section_1 "bufr/section.1.4.def";
|
||||||
|
|
||||||
flagbit localSectionPresent(section1Flags,7) = 1;
|
flagbit localSectionPresent(section1Flags,7) = 1;
|
||||||
alias section2Present=localSectionPresent;
|
alias section2Present=localSectionPresent;
|
||||||
alias localUsePresent=localSectionPresent;
|
alias localUsePresent=localSectionPresent;
|
||||||
|
|
||||||
if(localSectionPresent){
|
if(localSectionPresent){
|
||||||
template section_2 "bufr/section.2.def";
|
template section_2 "bufr/section.2.def";
|
||||||
} else {
|
} else {
|
||||||
transient section2Length = 0;
|
transient section2Length = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
template section_3 "bufr/section.3.def";
|
template section_3 "bufr/section.3.def";
|
||||||
|
|
Loading…
Reference in New Issue