gribdecoder.py mustn't use intValue now, for a reason I forgot

This commit is contained in:
mjames-upc 2018-01-10 13:12:16 -07:00
parent ace94343cb
commit 91315a05e8

View file

@ -277,8 +277,10 @@ class GribDecoder():
data = numpy.where(data == secondaryFill, F32_GRID_FILL_VALUE, data) data = numpy.where(data == secondaryFill, F32_GRID_FILL_VALUE, data)
gridCoverage = gribDict['coverage'] gridCoverage = gribDict['coverage']
nx = gridCoverage.getNx().intValue() #nx = gridCoverage.getNx().intValue()
ny = gridCoverage.getNy().intValue() #ny = gridCoverage.getNy().intValue()
nx = gridCoverage.getNx()
ny = gridCoverage.getNy()
# Correct the data according to the scan mode found in the gds section. # Correct the data according to the scan mode found in the gds section.
scanMode = gribDict['scanMode'] scanMode = gribDict['scanMode']