ESMValGroup / ESMValTool

ESMValTool: A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP
https://www.esmvaltool.org
Apache License 2.0
217 stars 127 forks source link

Recipe test workflow should support recipes in subdirectories #3566

Closed alistairsellar closed 4 months ago

alistairsellar commented 5 months ago

Is your feature request related to a problem? Please describe. The recipe test workflow prototype assumes that recipes reside in esmvaltool/recipes/ and can't cope with subdirectories. It should be adapted so that recipes in subdirectories can be used.

Would you be able to help out? Yes, I will start a PR now.

alistairsellar commented 5 months ago

Solution agreed with @ehogan is to specify the path of recipes relative to esmvaltool/recipes, without the .yml extension. / is an illegal character for Cylc parameters, so will be replaced by -- as a "special" character. No existing recipe has -- in its path, and it's an unlikely combination to be used in future.

ehogan commented 4 months ago

GitHub didn't automatically close this issue when the PR was merged, so I'm closing it now 👍