Versions Compared

Key

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

...

Warning

In the Fortran interface, for keys whose value is MISSING, GRIB-API would return -1 whereas ecCodes returns the constant CODES_MISSING_LONG.
It is best to check whether a key is missing by using the function "grib_is_missing" rather than comparing the result of grib_get with a number.

An example of such a key is "Ni" (the number of points per latitude) for Reduced Gaussian Grids. Please check your code for comparing key values with -1!

...