diff --git a/saqc/funcs/harm_functions.py b/saqc/funcs/harm_functions.py index 5fd514ca6baf567f9a6d924f7863f7c15144d19d..9dd31852bff1a4ce8650cc5d242cba859560ef86 100644 --- a/saqc/funcs/harm_functions.py +++ b/saqc/funcs/harm_functions.py @@ -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!