Skip to content
Snippets Groups Projects
Commit 457eeabc authored by David Schäfer's avatar David Schäfer
Browse files

bugfix: actually create a mask in flagMissing

parent 48fb149f
No related branches found
No related tags found
2 merge requests!193Release 1.4,!188Release 1.4
......@@ -423,7 +423,7 @@ def flagMissing(data, field, flagger, nodata=np.nan, **kwargs):
if np.isnan(nodata):
mask = datacol.isna()
else:
mask = datacol[datacol == nodata]
mask = datacol == nodata
flagger = flagger.setFlags(field, loc=mask, **kwargs)
return data, flagger
......
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