We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8ec124 + 574bd7f commit fbd8c73Copy full SHA for fbd8c73
1 file changed
async_packager/src/cumulus_packager/writers/dss7.py
@@ -123,10 +123,7 @@ def writer(
123
# Flip the dataset up/down because tif and dss have different origins
124
data = numpy.flipud(data)
125
DSS_UNDEFINED_VALUE = -3.4028234663852886e+38
126
- data = numpy.array(data, dtype=numpy.float64)
127
- numpy.putmask(
128
- data, data == nodata, numpy.nan
129
- ) # Replace nodata with NaN for processing
+ data[data == nodata] = numpy.nan # Replace nodata with NaN for processing
130
# GeoTransforma and lower X Y
131
xsize = warp_ds.RasterXSize
132
ysize = warp_ds.RasterYSize
0 commit comments