gribdecoder.py mustn't use intValue now, for a reason I forgot
This commit is contained in:
parent
ace94343cb
commit
91315a05e8
1 changed files with 4 additions and 2 deletions
|
@ -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']
|
||||||
|
|
Loading…
Add table
Reference in a new issue