diff --git a/fortran/eccodes_constants.h b/fortran/eccodes_constants.h index 975f2d8f8..94daa6603 100644 --- a/fortran/eccodes_constants.h +++ b/fortran/eccodes_constants.h @@ -1,3 +1,4 @@ + integer, parameter,public :: CODES_OUT_OF_RANGE = -65 integer, parameter,public :: CODES_UNSUPPORTED_EDITION = -64 integer, parameter,public :: CODES_ATTRIBUTE_NOT_FOUND = -63 integer, parameter,public :: CODES_TOO_MANY_ATTRIBUTES = -62 diff --git a/src/eccodes.h b/src/eccodes.h index 9745678ff..e45d06293 100644 --- a/src/eccodes.h +++ b/src/eccodes.h @@ -1250,6 +1250,8 @@ Error codes returned by the eccodes functions. #define CODES_ATTRIBUTE_NOT_FOUND GRIB_ATTRIBUTE_NOT_FOUND /** Edition not supported. */ #define CODES_UNSUPPORTED_EDITION GRIB_UNSUPPORTED_EDITION +/** Value out of coding range */ +#define CODES_OUT_OF_RANGE GRIB_OUT_OF_RANGE /*! @}*/