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

Adjusted some limits and dependencies in variables.csv #308

Closed

Conversation

BaptisteVandecrux
Copy link
Member

No description provided.

ladsmund and others added 5 commits October 8, 2024 11:24
* Added unit test for processing wind speed
We only of 1 digits precision measurments from out instantaneous values. This violates the bufr schema which expects 2 digits precision.
OOL contains dependent variables (children)
* Added unit test functions for clip_values
* Add a helper class, DependencyGraph, for modelling the dependency relations to find the children closure and handle circular dependencies.
* Updated clip_values to set children variables to nan whenever a parent is nan.
* Fixed a bug in clipValues introduced in commit d1a6ac8, where child variables were not set to nan due to an erroneous change in variable names.

Fixed variables.csv
* Removed incorrect OOL relations from variables.csv. wspd_x_u, wspd_y_u... had wdir and wspd as children. The relation is the opposite.
* Removed double quotes around ool
* Removed comma between ool entries in wspeed
* The rh corrected clipping were asigning 0 to inpu nan
* Added unit test specifically for rh corr
@BaptisteVandecrux
Copy link
Member Author

OOL and variable dependencies were not working properly.
In #307
there was an update of how to map variable dependency, but it was not activated because each dependency needs to be investigated separately before being applied.

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.

2 participants