Added the two constants GRIB_MISSING_DOUBLE and GRIB_MISSING_LONG

This commit is contained in:
Shahram Najm 2015-11-16 16:22:21 +00:00
parent 92e07e5a38
commit e20833fce2
2 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,9 @@ from gribapi import CODES_PRODUCT_GRIB
from gribapi import CODES_PRODUCT_BUFR
from gribapi import CODES_PRODUCT_ANY
from gribapi import GRIB_MISSING_DOUBLE as CODES_MISSING_DOUBLE
from gribapi import GRIB_MISSING_LONG as CODES_MISSING_LONG
from gribapi import grib_new_from_file as codes_grib_new_from_file
from gribapi import bufr_new_from_file as codes_bufr_new_from_file
from gribapi import metar_new_from_file as codes_metar_new_from_file

View File

@ -56,6 +56,10 @@ CODES_PRODUCT_GTS=4
CODES_PRODUCT_TAF=5
""" TAF product kind """
# Constants for 'missing'
GRIB_MISSING_DOUBLE = -1e+100
GRIB_MISSING_LONG = 2147483647
# GRIB-51 Skip function arguments type checking if the
# environment variable is defined