Skip to content
Snippets Groups Projects
Commit d6580d03 authored by Peter Lünenschloß's avatar Peter Lünenschloß
Browse files

ensured BAD-flaggedd-drop for harmonization

parent 427019d3
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,9 @@ def harmWrapper(heap={}):
data, flagger = flagMissing(
data, field, flagger, nodata=data_missing_value, **kwargs
)
# and dropped for harmonization:
if drop_flags is not None:
drop_flags.append(flagger.BAD)
# before sending the current flags and data frame to the future (for backtracking reasons), we clear it
# from merge-nans that just resulted from harmonization of other variables!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment