Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decisions on filter output conventions #20

Open
cchwala opened this issue Mar 12, 2024 · 0 comments
Open

Decisions on filter output conventions #20

cchwala opened this issue Mar 12, 2024 · 0 comments

Comments

@cchwala
Copy link
Member

cchwala commented Mar 12, 2024

Some decision regarding convection of the output of the filter functions, based on discussion with @lepetersson and @JochenSeidel.

Meaning of flag values:

  • filter output is 1 for detecting an anomaly
  • filter output for functions stemming from the PWSQC R code is -1 in case the filter cannot be applied because not enough (non-NaN) data from neighbors
  • filter output is 0 otherwise

Data handling:

  • we write the flag time series to the xarray.Dataset as new variable
  • raw data is not changed
  • this way the user can decided, after generating/computing the flags, if all flags should be applied and how
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant