Skip to content

Add a function for writing recipes in a standard YAML format#3143

Draft
bouweandela wants to merge 12 commits into
mainfrom
add-recipe-to-yaml-converter
Draft

Add a function for writing recipes in a standard YAML format#3143
bouweandela wants to merge 12 commits into
mainfrom
add-recipe-to-yaml-converter

Conversation

@bouweandela

@bouweandela bouweandela commented Jul 2, 2026

Copy link
Copy Markdown
Member

Description

Add a function for writing recipes in a standardized way. This is helpful when building recipes using a script, see e.g. the scripts in ESMValGroup/ESMValTool#4199 (comment). I have added the function to the public API though the esmvalcore.experimental.recipe.Recipe.to_yaml method for now.


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.26%. Comparing base (ef355e2) to head (4ef3e68).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3143      +/-   ##
==========================================
+ Coverage   96.24%   96.26%   +0.01%     
==========================================
  Files         273      274       +1     
  Lines       16172    16243      +71     
==========================================
+ Hits        15565    15636      +71     
  Misses        607      607              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

bouweandela added a commit to ESMValGroup/ESMValTool that referenced this pull request Jul 2, 2026
@bouweandela bouweandela force-pushed the add-recipe-to-yaml-converter branch from c5ad5e2 to 37cda20 Compare July 10, 2026 14:38
@bouweandela bouweandela added the enhancement New feature or request label Jul 10, 2026
@bouweandela bouweandela changed the title Add a converter for writing recipes as YAML Add a function for writing recipes in a standard YAML format Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant