mirror of https://github.com/ecmwf/eccodes.git
ECC-1903: Corrected equal to not-equal - we only want wavelength keys post GRIB2.
This commit is contained in:
parent
fe8cc1722b
commit
473517435d
|
@ -18,7 +18,7 @@ constant billion = 1000000000 : hidden;
|
|||
meta firstWavelengthInNanometres multdouble(firstWavelength, billion) : read_only;
|
||||
meta secondWavelengthInNanometres multdouble(secondWavelength, billion) : read_only;
|
||||
|
||||
if (defined(MTG2Switch) and MTG2Switch == 0) {
|
||||
if (defined(MTG2Switch) and MTG2Switch != 0) {
|
||||
# typeOfWavelengthInterval (table 4.91 specifies if first / second / first+second limit(s) are to be defined)
|
||||
if ( typeOfWavelengthInterval == 0 || typeOfWavelengthInterval == 3 || typeOfWavelengthInterval == 5 || typeOfWavelengthInterval == 8 || typeOfWavelengthInterval == 11 ){
|
||||
alias mars.wavelength = firstWavelengthInNanometres ;
|
||||
|
|
Loading…
Reference in New Issue