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

tiny bugfix

parent edb5abb3
No related branches found
No related tags found
No related merge requests found
......@@ -138,8 +138,8 @@ def retrieveTrustworthyOriginal(dataseries, dataflags=None, flagger=None):
if (dataflags is not None) and (flagger is not None):
data_use = flagger.isFlagged(dataflags, flag=flagger.flags.good(), comparator='==') | \
flagger.isFlagged(dataflags, flag=flagger.flags.unflagged(), comparator='==')
# drop suspicious values
dataseries = dataseries[data_use.values]
# drop suspicious values
dataseries = dataseries[data_use.values]
# additionally, drop the nan values that result from any preceeding upsampling of the
# measurements:
dataseries = dataseries.dropna()
......
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