MetOffice / MetOffice/CSET

Support user provided recipes in workflow

Open
#831 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
33
Forks
19
Avg merge
1d 22h
Merged PRs (30d)
30

Description

### What problem does your feature request solve?

Currently the workflow requires that new recipes be added to the CSET python package, then also added to the workflow via an include file. This is quite a lot of work, and prevents users adding new recipes without being reasonably experienced developers, hampering the flexibility of CSET.

### Describe the solution you'd like

We should allow users to add recipes as simple file paths. a list input in rose edit would be a good way of allowing however many recipes are needed to be specified.

### Describe alternatives you've considered

To do this properly we really need to get rid of include files, and have them automatically generated at runtime. Alternatively we could only support recipe files without any variables, and just use a static include file for them all.

We may also run into issues if the recipes titles clash, as then they will use the same underlying folder, so this may require resolving.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the workflow currently loads recipes from the CSET Python package and include files; the issue names no files or tests. Compare the proposed Rose edit list input with runtime-generated includes and recipe files with variables, then define how duplicate recipe titles are handled. Done should let users provide recipe paths without adding them to the package.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.