ECC-1903: Corrected equal to not-equal - we only want wavelength keys post GRIB2.

This commit is contained in:
Matthew Griffith 2024-12-09 11:31:36 +00:00
parent fe8cc1722b
commit 473517435d
1 changed files with 1 additions and 1 deletions

View File

@ -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 ;