-
Notifications
You must be signed in to change notification settings - Fork 0
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
Revamping time series interface to ease adding new pH analysis #39
Comments
The fields that Julien wants are:
I propose adding these into a new suite called |
In terms of the interface, it currently works like this. This is how
where analysisSuite is provided in the command line. The details on how to run that analysis is then provided in a long function:
The autovivification (av) is not actually passed to
There has got to be a better way to do this. |
There are two parts to this:
This is actually a kind of massive job, but I think getting it right would make the new user experience a lot better. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I'm going ahead with working on a keys interface right now. As I think this is the way forward. I don't think that putting this into a single massive config file is the right way. |
This comment was marked as outdated.
This comment was marked as outdated.
sounds good - the idea of a config file is to have anything that a user would tune on a regular basis, if there are a lot of config values that stay the same over long periods, we can either let them sit in the code or we can do a config-developer that is not touched by the users many times |
OK but that didn't change the configuration, it just put things neatly in a user-readable format 😁 |
also, if you want to move a lot of text to other files, you can think of CMOR-like files where we store all those variables |
My plan is the following code structure:
So yeah, kinda like cmor in esmvaltool. (This is why I said it would be good to have a chat - heading to lunch now) |
Starting to work in this here: https://github.com/valeriupredoi/bgcval2/tree/improving_the_timeseries_suite_list_interface |
I like it! I'd just not call dirs with |
open (Draft) PR too, man, so we can debug on the way |
Hey, so the AV stuff, I already did that, but in the GMD version of BGC-val: This writes them as a single long list, but I think individual files is the way forward instead, I'm wondering if there's some easy way of bringing those changes over. The code that reads these files is: |
Bringing in the code from that bgc-val-public:
|
Okay, I've got some progress here for a debug mode. It's running! I'll set up a draft PR next. |
Julien P. has requested that we add a few more fields to the analysis.
While this may seem like a simple task, I think it would be a good opportunity to re-vamp the
analysis_timeseries
andanalysis_compare
interfaces. I'm thinking of good ways to do this, and I'll add some ideas to this issue but it might be good to have a chat about it and come up with a plan.Two sets of files:
or a single long massive yaml file:
or ... Something else?
The problem that I had before with this was that you can't include a function in yaml, only dicts. Will explain on the phone.
The text was updated successfully, but these errors were encountered: