-
Notifications
You must be signed in to change notification settings - Fork 120
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
Question on setting run config using a dictionary #1283
Comments
Hi Simon, Yes I agree this makes very much sense.
It would be good to have a quick round of discussion and thinking around this, to make a good mechanism to support many (future) needs in one go, and not having to modify it soon (and breaking backwards compatibility). Thus in the meantime @gauteh or @vegardb could have some opinions or suggestions here. |
Yes this is what we are aiming for, single command to run a simulation from a json file. Happy to contribute/collaborate on this. |
Hi, One could update If you think that either of these ways would solve the config need, we are then left with the second task of creating a (generic) way of running a simulation from commandline and possibly config file with: |
Thanks @knutfrode - yes that Indeed lots of different ways to do the wrapping for the reader loading and allow use of other methods etc...we'll start and share as we go, happy to join a chat if that becomes a priority for you at some point. |
Hi there @knutfrode ,
I have a question about the best way to set a full model configuration using a dictionary (to automate some of our runs). In some ways related to release [v1111].(https://github.com/OpenDrift/opendrift/blob/1eadfa728debc49d11bffa3a70769ddb5d5e6aab/history.rst#2024-01-25--release-v1111)
From what I understand, one can now set several config at the same time for a given "category" (e.g. 'seed', 'general' etc..), as follow:
Ideally I'd like to do it in one go for the entire config (rather than category by category). Is there something place already ?
This could be an option below, with a new function
set_configspec()
? Keen to hear your feedback on this..happy to do a PR if it makes sense.where
The text was updated successfully, but these errors were encountered: