Skip to content

Support automatic addition of supplementary variables for CORDEX#3098

Open
bouweandela wants to merge 2 commits into
mainfrom
support-automatic-supplementary-finding-for-cordex
Open

Support automatic addition of supplementary variables for CORDEX#3098
bouweandela wants to merge 2 commits into
mainfrom
support-automatic-supplementary-finding-for-cordex

Conversation

@bouweandela
Copy link
Copy Markdown
Member

@bouweandela bouweandela commented Jun 3, 2026

Description

Idea to improve a bit on #3031

Recipe for testing this with CORDEX data:

documentation:
  title: |
    Example recipe that loads CORDEX-CMIP5 datasets.
  description: |
    This is an example recipe that loads CORDEX-CMIP5 datasets.
    It computes the climatology for surface temperature (ts).
  authors:
    - andela_bouwe
  maintainer:
    - andela_bouwe

preprocessors:
  ts_pp:
    custom_order: true
    climate_statistics:
      period: full
      operator: mean
    mask_landsea:
      mask_out: sea

datasets:
  - dataset: CCLM4-8-17
    driver: ICHEC-EC-EARTH
    ensemble: r12i1p1
    institute: CLMcom
    rcm_version: v1

diagnostics:
  bias:
    variables:
      ts:
        project: CORDEX
        mip: day
        domain: EUR-11
        exp: historical
        timerange: 2003/2005
        preprocessor: ts_pp
    scripts:
      plot:
        plot_folder: '{plot_dir}'
        plot_filename: '{plot_type}_{real_name}_{alias}_{mip}'
        facet_used_for_labels: 'alias'
        script: monitor/multi_datasets.py
        plots:
          map:
            show_stats: false

To check that it works correctly, ensure that the sea is masked in the resulting plot.

Link to documentation: https://docs.esmvaltool.org/projects/ESMValCore/en/latest/recipe/overview.html#automatic-definition-of-supplementary-variables


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
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.16%. Comparing base (96095e3) to head (8c83f90).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3098   +/-   ##
=======================================
  Coverage   96.16%   96.16%           
=======================================
  Files         270      270           
  Lines       15837    15837           
=======================================
  Hits        15230    15230           
  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 bouweandela added the enhancement New feature or request label Jun 5, 2026
@bouweandela bouweandela marked this pull request as ready for review June 5, 2026 10:20
@bouweandela bouweandela requested a review from ghossh June 5, 2026 10:23
@bouweandela bouweandela added this to the v2.15.0 milestone Jun 5, 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