Commit fbb1d692 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fix.

parent ada82e62
Pipeline #3755 passed with stage
in 18 minutes and 22 seconds
......@@ -1624,8 +1624,7 @@ class RSImage_ClusterPredictor(object):
# re-apply nodata values to predicted result
if image.nodata is not None:
image_predicted[image.mask_nodata[:] == 0] = image.nodata
image.mask_nodata.save('/home/gfz-fe/scheffler/temp/mask_nodata__%s_%s.bsq'
% (classifier.src_satellite, classifier.src_sensor))
# copy mask_nodata
image_predicted.mask_nodata = image.mask_nodata
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment