-
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
Configuration consistency/sanity checks? #421
Comments
Sorry to equivocate, but all the options you've presented sound reasonable, depending on the specifics of the use case. To my mind The question of The downside of Perhaps some specific examples would help to elucidate this? As an extension I'd like to see checks like this be part of CI when updating released configurations. |
Agreed. I just wondered whether it might be cleanest to have the checks in their own method. It would make it clear to new driver developers, for example, that checks are a good idea and where they should live. But yes, it boils down to the same thing, and thinking about it more I can't see any value in having separate All of the checks I want to run at the moment make the most sense in the (access-om3) driver. But, I wanted to check there were no strong opinions about whether/where/how they should be included in Payu.
Yes! And if the checks are in Payu we could use Payu to do this |
If these are checks that one would always want to run for all versions of Agreed a |
We're implementing some QA checks in CI for the access-om2 configurations ACCESS-NRI/access-om2-configs#32 They're an example of checks we want to do for released configs, but not routinely when running the model. Just FYI. |
This came up in a meeting today. The Question: can I add a |
I think I was referencing this issue (ACCESS-NRI/model-config-tests#9) where we could run Yeah if these checks can be run on a github runner, e.g. just need the payu configuration available, then I think adding |
I had a chat with the team and it sounds like there isn't really a demand to be able to run the checks quickly on the Github runners, so scratch my suggestion 🙂. I'll close this issue |
Often it is important that different parameters in a configuration are set consistently. These may be different but related parameters, or one parameter that needs to be set to the same value in multiple places (yuck, I know, but we're stuck with this unfortunately). There's an argument for including simple checks like these in Payu, to be run automatically as part of
payu run
. If you agree, where's the right place to do this:setup
step of a model driver (there are some checks in some drivers already)?userscript
?check
method (and subcommand)?The text was updated successfully, but these errors were encountered: