Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So in this case its value is not MISSING but it is possible for this value to be MISSING. This is not indicated here. 

So whereas one can set the "iDirectionIncrement" key to MISSING, one cannot do this for another key which cannot be MISSING. For example:

...

The solution is to use the "-D" option of grib_dump and look for the string "can be missing".
Let's try that:

Code Block
% grib_dump -D GRIB2.tmpl | grep 'can be missing'
...
79-83 unsigned subdivisionsOfBasicAngle = MISSING (can be missing)
100-104 unsigned iDirectionIncrement = 2000000 (can be missing) [Di, Dx]
104-108 unsigned jDirectionIncrement = 2000000 (can be missing) [Dj, Dy]
123-125 unsigned hoursAfterDataCutoff = 0 (can be missing) [hoursAfterReferenceTimeOfDataCutoff]
125-126 unsigned minutesAfterDataCutoff = 0 (can be missing) [minutesAfterReferenceTimeOfDataCutoff]
132-133 signed scaleFactorOfFirstFixedSurface = MISSING (can be missing)
133-137 unsigned scaledValueOfFirstFixedSurface = MISSING (can be missing)
138-139 signed scaleFactorOfSecondFixedSurface = MISSING (can be missing)
139-143 unsigned scaledValueOfSecondFixedSurface = MISSING (can be missing)
...

...