MetOffice / MetOffice/CMEW

Add support for grouped recipes

Open
#277 0 comments 0 reactions 1 assignee View on GitHub

@Jon-Lillis is already working on this.

Since Jan 7, 2026.

climate model monitor
Dominant language
Python
Stars
5
Forks
3
Avg merge
5d 6h
Merged PRs (30d)
8

Description

In ESMValTool, recipes can either be stored in the top level recipe directory (e.g. `esmvaltool/recipes/recipe_name.yml`), or they can be grouped in subdirectories (e.g. `esmvaltool/recipes/recipe_group/recipe_name.yml`) making run commands `esmvaltool run recipe_name.yml` and `esmvaltool run recipe_group/recipe_name.yml` respectively.

CMEW constructs the recipe name by prepending `recipe_` and appending `.yml` to the assessment area variable defined in the flow.cylc. If the assessment area is 'name' then CMEW can construct `recipe_name.yml`, but it currently has no concept of groups. `/` also can't be used in a task parameter value.

This is of relevance to the porting of the Climate Model Monitor because the ESMValTool monitor recipe is itself a grouped recipe.

See [RTW](https://github.com/ESMValGroup/ESMValTool/blob/main/esmvaltool/utils/recipe_test_workflow/site/metoffice/recipes.jinja) for solution (ask Alistair for more info)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.