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

Fill value #41

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Fill value #41

wants to merge 13 commits into from

Conversation

ramarty
Copy link
Contributor

@ramarty ramarty commented Dec 21, 2023

  • Added function to remove fill values (for example, NTL values set to 65535 should be replaced with NA). Originally this was done with the quality_flag_rm parameter (eg, when is 255), but this caused some confusing things. For example, when using gap filled daily values, the quality flag is 255 when quality filled -- because the quality is for that day, specifically. The expected default output with gap filled is having the gap filled values. So modified code to take "255" out of quality flag, and instead apply the "fill value" (based on documentation) to each variable. I tried to follow an approach of using dataset.attrs.get, but didn't see the fill value as a function. Now I think "quality_flag_rm" options make more sense, as they're all quality -- as fill values are bit different, and think always want to remove.
  • Updated the examples based on this new approach

Copy link
Member

@g4brielvs g4brielvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'm resolving the conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants