-
Notifications
You must be signed in to change notification settings - Fork 28
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
WIP: New configs #33
WIP: New configs #33
Conversation
@jessicaaustinaxiom The PR is in decent shape for a usability review. Please take a look! |
@kwilcox awesome! I will take a look next week and please yell at me if I don't. |
🙀 |
@kwilcox can you please rebase from master? Looks like this is 10 commits behind and I got conflicts when I tried. |
@kwilcox some general thoughts on the configs:
For example, say you have the following config, based on variable names:
Here's a version that's more generic:
This could be implemented by having the Thoughts? |
oooo great points, this is exactly what we needed to discuss. Few counter points for discussion:
I see this as less generic because it is now specific to a stream format that understands what a standard_name is.
I see that as a job for someone using/implementing the I do like the idea of an optional
|
Right, this is the main point that we need to clarify -- how much is this the job of ioos_qc vs the user. In Now this this is expanding the scope of this PR, which is primarily about making ioos_qc capable of running on moving platforms. So maybe we should table the conversation. BUT I would like to leave that option open for the future... so then the question is, are we painting ourselves into a corner? Specifically, do we make Some other points:
I agree with this -- attrs wouldn't have to be required, and it would fall back to just using the variable name as the lookup key (which is the current behavior in this PR).
The stream format doesn't need to know what a |
Let's add support for the |
@kwilcox where do we stand with this? I think this are the outstanding tasks:
|
Ability to pass JSON/YAML strings and String.IO objects into loader Starting to move to the new style YAML loading in `ruamel.yaml`
This is for backwards compat. No test changes... it works the same way.
50% test effort
This allows for namedtuple defaults, which are my fav
Picked back up in #39 |
Major refactor of how test configurations are specified. Allows for storage of generic configuration objects that specify test configs based on variable, region, and time window. This is useful for applying test configs to moving platforms, such as gliders, animal tracks, etc.
The previous config object,
QcConfig
, still exists and functions the same, but is now known asStreamConfig
.TODO what are the major changes around storage of results?