diff --git a/python/swig_wrap_array.c b/python/swig_wrap_array.c index 85d1ee7a2..94231157d 100644 --- a/python/swig_wrap_array.c +++ b/python/swig_wrap_array.c @@ -8154,25 +8154,29 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "GRIB_MISSING_KEY",SWIG_From_int((int)(-34))); SWIG_Python_SetConstant(d, "GRIB_OUT_OF_AREA",SWIG_From_int((int)(-35))); SWIG_Python_SetConstant(d, "GRIB_CONCEPT_NO_MATCH",SWIG_From_int((int)(-36))); - SWIG_Python_SetConstant(d, "GRIB_NO_DEFINITIONS",SWIG_From_int((int)(-37))); - SWIG_Python_SetConstant(d, "GRIB_WRONG_TYPE",SWIG_From_int((int)(-38))); - SWIG_Python_SetConstant(d, "GRIB_END",SWIG_From_int((int)(-39))); - SWIG_Python_SetConstant(d, "GRIB_NO_VALUES",SWIG_From_int((int)(-40))); - SWIG_Python_SetConstant(d, "GRIB_WRONG_GRID",SWIG_From_int((int)(-41))); - SWIG_Python_SetConstant(d, "GRIB_END_OF_INDEX",SWIG_From_int((int)(-42))); - SWIG_Python_SetConstant(d, "GRIB_NULL_INDEX",SWIG_From_int((int)(-43))); - SWIG_Python_SetConstant(d, "GRIB_PREMATURE_END_OF_FILE",SWIG_From_int((int)(-44))); - SWIG_Python_SetConstant(d, "GRIB_INTERNAL_ARRAY_TOO_SMALL",SWIG_From_int((int)(-45))); - SWIG_Python_SetConstant(d, "GRIB_MESSAGE_TOO_LARGE",SWIG_From_int((int)(-46))); - SWIG_Python_SetConstant(d, "GRIB_CONSTANT_FIELD",SWIG_From_int((int)(-47))); - SWIG_Python_SetConstant(d, "GRIB_SWITCH_NO_MATCH",SWIG_From_int((int)(-48))); - SWIG_Python_SetConstant(d, "GRIB_UNDERFLOW",SWIG_From_int((int)(-49))); - SWIG_Python_SetConstant(d, "GRIB_MESSAGE_MALFORMED",SWIG_From_int((int)(-50))); - SWIG_Python_SetConstant(d, "GRIB_CORRUPTED_INDEX",SWIG_From_int((int)(-51))); - SWIG_Python_SetConstant(d, "GRIB_INVALID_BPV",SWIG_From_int((int)(-52))); - SWIG_Python_SetConstant(d, "GRIB_DIFFERENT_EDITION",SWIG_From_int((int)(-53))); - SWIG_Python_SetConstant(d, "GRIB_VALUE_DIFFERENT",SWIG_From_int((int)(-54))); - SWIG_Python_SetConstant(d, "GRIB_INVALID_KEY_VALUE",SWIG_From_int((int)(-55))); + SWIG_Python_SetConstant(d, "GRIB_HASH_ARRAY_NO_MATCH",SWIG_From_int((int)(-37))); + SWIG_Python_SetConstant(d, "GRIB_NO_DEFINITIONS",SWIG_From_int((int)(-38))); + SWIG_Python_SetConstant(d, "GRIB_WRONG_TYPE",SWIG_From_int((int)(-39))); + SWIG_Python_SetConstant(d, "GRIB_END",SWIG_From_int((int)(-40))); + SWIG_Python_SetConstant(d, "GRIB_NO_VALUES",SWIG_From_int((int)(-41))); + SWIG_Python_SetConstant(d, "GRIB_WRONG_GRID",SWIG_From_int((int)(-42))); + SWIG_Python_SetConstant(d, "GRIB_END_OF_INDEX",SWIG_From_int((int)(-43))); + SWIG_Python_SetConstant(d, "GRIB_NULL_INDEX",SWIG_From_int((int)(-44))); + SWIG_Python_SetConstant(d, "GRIB_PREMATURE_END_OF_FILE",SWIG_From_int((int)(-45))); + SWIG_Python_SetConstant(d, "GRIB_INTERNAL_ARRAY_TOO_SMALL",SWIG_From_int((int)(-46))); + SWIG_Python_SetConstant(d, "GRIB_MESSAGE_TOO_LARGE",SWIG_From_int((int)(-47))); + SWIG_Python_SetConstant(d, "GRIB_CONSTANT_FIELD",SWIG_From_int((int)(-48))); + SWIG_Python_SetConstant(d, "GRIB_SWITCH_NO_MATCH",SWIG_From_int((int)(-49))); + SWIG_Python_SetConstant(d, "GRIB_UNDERFLOW",SWIG_From_int((int)(-50))); + SWIG_Python_SetConstant(d, "GRIB_MESSAGE_MALFORMED",SWIG_From_int((int)(-51))); + SWIG_Python_SetConstant(d, "GRIB_CORRUPTED_INDEX",SWIG_From_int((int)(-52))); + SWIG_Python_SetConstant(d, "GRIB_INVALID_BPV",SWIG_From_int((int)(-53))); + SWIG_Python_SetConstant(d, "GRIB_DIFFERENT_EDITION",SWIG_From_int((int)(-54))); + SWIG_Python_SetConstant(d, "GRIB_VALUE_DIFFERENT",SWIG_From_int((int)(-55))); + SWIG_Python_SetConstant(d, "GRIB_INVALID_KEY_VALUE",SWIG_From_int((int)(-56))); + SWIG_Python_SetConstant(d, "GRIB_STRING_TOO_SMALL",SWIG_From_int((int)(-57))); + SWIG_Python_SetConstant(d, "GRIB_WRONG_CONVERSION",SWIG_From_int((int)(-58))); + SWIG_Python_SetConstant(d, "GRIB_MISSING_BUFR_ENTRY",SWIG_From_int((int)(-59))); #if PY_VERSION_HEX >= 0x03000000 return m; #else diff --git a/python/swig_wrap_array.py b/python/swig_wrap_array.py index d817a3057..a19e997b7 100644 --- a/python/swig_wrap_array.py +++ b/python/swig_wrap_array.py @@ -111,6 +111,7 @@ GRIB_INVALID_ORDERBY = _gribapi_swig.GRIB_INVALID_ORDERBY GRIB_MISSING_KEY = _gribapi_swig.GRIB_MISSING_KEY GRIB_OUT_OF_AREA = _gribapi_swig.GRIB_OUT_OF_AREA GRIB_CONCEPT_NO_MATCH = _gribapi_swig.GRIB_CONCEPT_NO_MATCH +GRIB_HASH_ARRAY_NO_MATCH = _gribapi_swig.GRIB_HASH_ARRAY_NO_MATCH GRIB_NO_DEFINITIONS = _gribapi_swig.GRIB_NO_DEFINITIONS GRIB_WRONG_TYPE = _gribapi_swig.GRIB_WRONG_TYPE GRIB_END = _gribapi_swig.GRIB_END @@ -130,6 +131,9 @@ GRIB_INVALID_BPV = _gribapi_swig.GRIB_INVALID_BPV GRIB_DIFFERENT_EDITION = _gribapi_swig.GRIB_DIFFERENT_EDITION GRIB_VALUE_DIFFERENT = _gribapi_swig.GRIB_VALUE_DIFFERENT GRIB_INVALID_KEY_VALUE = _gribapi_swig.GRIB_INVALID_KEY_VALUE +GRIB_STRING_TOO_SMALL = _gribapi_swig.GRIB_STRING_TOO_SMALL +GRIB_WRONG_CONVERSION = _gribapi_swig.GRIB_WRONG_CONVERSION +GRIB_MISSING_BUFR_ENTRY = _gribapi_swig.GRIB_MISSING_BUFR_ENTRY class intp(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, intp, name, value) diff --git a/python/swig_wrap_numpy.c b/python/swig_wrap_numpy.c index b33720c78..3e13db00f 100644 --- a/python/swig_wrap_numpy.c +++ b/python/swig_wrap_numpy.c @@ -8984,25 +8984,29 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "GRIB_MISSING_KEY",SWIG_From_int((int)(-34))); SWIG_Python_SetConstant(d, "GRIB_OUT_OF_AREA",SWIG_From_int((int)(-35))); SWIG_Python_SetConstant(d, "GRIB_CONCEPT_NO_MATCH",SWIG_From_int((int)(-36))); - SWIG_Python_SetConstant(d, "GRIB_NO_DEFINITIONS",SWIG_From_int((int)(-37))); - SWIG_Python_SetConstant(d, "GRIB_WRONG_TYPE",SWIG_From_int((int)(-38))); - SWIG_Python_SetConstant(d, "GRIB_END",SWIG_From_int((int)(-39))); - SWIG_Python_SetConstant(d, "GRIB_NO_VALUES",SWIG_From_int((int)(-40))); - SWIG_Python_SetConstant(d, "GRIB_WRONG_GRID",SWIG_From_int((int)(-41))); - SWIG_Python_SetConstant(d, "GRIB_END_OF_INDEX",SWIG_From_int((int)(-42))); - SWIG_Python_SetConstant(d, "GRIB_NULL_INDEX",SWIG_From_int((int)(-43))); - SWIG_Python_SetConstant(d, "GRIB_PREMATURE_END_OF_FILE",SWIG_From_int((int)(-44))); - SWIG_Python_SetConstant(d, "GRIB_INTERNAL_ARRAY_TOO_SMALL",SWIG_From_int((int)(-45))); - SWIG_Python_SetConstant(d, "GRIB_MESSAGE_TOO_LARGE",SWIG_From_int((int)(-46))); - SWIG_Python_SetConstant(d, "GRIB_CONSTANT_FIELD",SWIG_From_int((int)(-47))); - SWIG_Python_SetConstant(d, "GRIB_SWITCH_NO_MATCH",SWIG_From_int((int)(-48))); - SWIG_Python_SetConstant(d, "GRIB_UNDERFLOW",SWIG_From_int((int)(-49))); - SWIG_Python_SetConstant(d, "GRIB_MESSAGE_MALFORMED",SWIG_From_int((int)(-50))); - SWIG_Python_SetConstant(d, "GRIB_CORRUPTED_INDEX",SWIG_From_int((int)(-51))); - SWIG_Python_SetConstant(d, "GRIB_INVALID_BPV",SWIG_From_int((int)(-52))); - SWIG_Python_SetConstant(d, "GRIB_DIFFERENT_EDITION",SWIG_From_int((int)(-53))); - SWIG_Python_SetConstant(d, "GRIB_VALUE_DIFFERENT",SWIG_From_int((int)(-54))); - SWIG_Python_SetConstant(d, "GRIB_INVALID_KEY_VALUE",SWIG_From_int((int)(-55))); + SWIG_Python_SetConstant(d, "GRIB_HASH_ARRAY_NO_MATCH",SWIG_From_int((int)(-37))); + SWIG_Python_SetConstant(d, "GRIB_NO_DEFINITIONS",SWIG_From_int((int)(-38))); + SWIG_Python_SetConstant(d, "GRIB_WRONG_TYPE",SWIG_From_int((int)(-39))); + SWIG_Python_SetConstant(d, "GRIB_END",SWIG_From_int((int)(-40))); + SWIG_Python_SetConstant(d, "GRIB_NO_VALUES",SWIG_From_int((int)(-41))); + SWIG_Python_SetConstant(d, "GRIB_WRONG_GRID",SWIG_From_int((int)(-42))); + SWIG_Python_SetConstant(d, "GRIB_END_OF_INDEX",SWIG_From_int((int)(-43))); + SWIG_Python_SetConstant(d, "GRIB_NULL_INDEX",SWIG_From_int((int)(-44))); + SWIG_Python_SetConstant(d, "GRIB_PREMATURE_END_OF_FILE",SWIG_From_int((int)(-45))); + SWIG_Python_SetConstant(d, "GRIB_INTERNAL_ARRAY_TOO_SMALL",SWIG_From_int((int)(-46))); + SWIG_Python_SetConstant(d, "GRIB_MESSAGE_TOO_LARGE",SWIG_From_int((int)(-47))); + SWIG_Python_SetConstant(d, "GRIB_CONSTANT_FIELD",SWIG_From_int((int)(-48))); + SWIG_Python_SetConstant(d, "GRIB_SWITCH_NO_MATCH",SWIG_From_int((int)(-49))); + SWIG_Python_SetConstant(d, "GRIB_UNDERFLOW",SWIG_From_int((int)(-50))); + SWIG_Python_SetConstant(d, "GRIB_MESSAGE_MALFORMED",SWIG_From_int((int)(-51))); + SWIG_Python_SetConstant(d, "GRIB_CORRUPTED_INDEX",SWIG_From_int((int)(-52))); + SWIG_Python_SetConstant(d, "GRIB_INVALID_BPV",SWIG_From_int((int)(-53))); + SWIG_Python_SetConstant(d, "GRIB_DIFFERENT_EDITION",SWIG_From_int((int)(-54))); + SWIG_Python_SetConstant(d, "GRIB_VALUE_DIFFERENT",SWIG_From_int((int)(-55))); + SWIG_Python_SetConstant(d, "GRIB_INVALID_KEY_VALUE",SWIG_From_int((int)(-56))); + SWIG_Python_SetConstant(d, "GRIB_STRING_TOO_SMALL",SWIG_From_int((int)(-57))); + SWIG_Python_SetConstant(d, "GRIB_WRONG_CONVERSION",SWIG_From_int((int)(-58))); + SWIG_Python_SetConstant(d, "GRIB_MISSING_BUFR_ENTRY",SWIG_From_int((int)(-59))); import_array(); diff --git a/python/swig_wrap_numpy.py b/python/swig_wrap_numpy.py index d9d30026b..a5b0b5a15 100644 --- a/python/swig_wrap_numpy.py +++ b/python/swig_wrap_numpy.py @@ -111,6 +111,7 @@ GRIB_INVALID_ORDERBY = _gribapi_swig.GRIB_INVALID_ORDERBY GRIB_MISSING_KEY = _gribapi_swig.GRIB_MISSING_KEY GRIB_OUT_OF_AREA = _gribapi_swig.GRIB_OUT_OF_AREA GRIB_CONCEPT_NO_MATCH = _gribapi_swig.GRIB_CONCEPT_NO_MATCH +GRIB_HASH_ARRAY_NO_MATCH = _gribapi_swig.GRIB_HASH_ARRAY_NO_MATCH GRIB_NO_DEFINITIONS = _gribapi_swig.GRIB_NO_DEFINITIONS GRIB_WRONG_TYPE = _gribapi_swig.GRIB_WRONG_TYPE GRIB_END = _gribapi_swig.GRIB_END @@ -130,6 +131,9 @@ GRIB_INVALID_BPV = _gribapi_swig.GRIB_INVALID_BPV GRIB_DIFFERENT_EDITION = _gribapi_swig.GRIB_DIFFERENT_EDITION GRIB_VALUE_DIFFERENT = _gribapi_swig.GRIB_VALUE_DIFFERENT GRIB_INVALID_KEY_VALUE = _gribapi_swig.GRIB_INVALID_KEY_VALUE +GRIB_STRING_TOO_SMALL = _gribapi_swig.GRIB_STRING_TOO_SMALL +GRIB_WRONG_CONVERSION = _gribapi_swig.GRIB_WRONG_CONVERSION +GRIB_MISSING_BUFR_ENTRY = _gribapi_swig.GRIB_MISSING_BUFR_ENTRY class intp(_object): __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, intp, name, value)