New error codes

This commit is contained in:
Shahram Najm 2016-07-21 17:24:08 +01:00
parent 23df9d1a84
commit 10d059a5b1
3 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
integer, parameter,public :: CODES_WRONG_BITMAP_SIZE = -66
integer, parameter,public :: CODES_OUT_OF_RANGE = -65
integer, parameter,public :: CODES_UNSUPPORTED_EDITION = -64
integer, parameter,public :: CODES_ATTRIBUTE_NOT_FOUND = -63

View File

@ -137,5 +137,7 @@ Error codes returned by the grib_api functions.
#define GRIB_UNSUPPORTED_EDITION -64
/** Value out of coding range */
#define GRIB_OUT_OF_RANGE -65
/** Size of bitmap is incorrect */
#define GRIB_WRONG_BITMAP_SIZE -66
/*! @}*/
#endif

View File

@ -1340,7 +1340,8 @@ Error codes returned by the eccodes functions.
#define CODES_UNSUPPORTED_EDITION GRIB_UNSUPPORTED_EDITION
/** Value out of coding range */
#define CODES_OUT_OF_RANGE GRIB_OUT_OF_RANGE
/** Size of bitmap is incorrect */
#define CODES_WRONG_BITMAP_SIZE GRIB_WRONG_BITMAP_SIZE
/*! @}*/
#endif