Skip to content
Snippets Groups Projects
Commit e5145ddb authored by Ann-Kathrin Margarete Edrich's avatar Ann-Kathrin Margarete Edrich
Browse files

changes to cut_and_interpolate.py

parent f9212cb9
Branches
No related tags found
No related merge requests found
Pipeline #504414 passed
...@@ -916,6 +916,8 @@ class cut_and_interpolate: ...@@ -916,6 +916,8 @@ class cut_and_interpolate:
nan_interp[:, i] = f(y_new) nan_interp[:, i] = f(y_new)
# Set all by nan values affected pixels to no data value # Set all by nan values affected pixels to no data value
if self.prop_settings['no_value'] != None:
data_interp[nan_interp > 0] = self.prop_settings['no_value'] data_interp[nan_interp > 0] = self.prop_settings['no_value']
return data_interp return data_interp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment