Skip to content

Add the option to only show the configuration for a single project#3020

Open
bouweandela wants to merge 2 commits intomainfrom
add-option-to-filter-config-by-project
Open

Add the option to only show the configuration for a single project#3020
bouweandela wants to merge 2 commits intomainfrom
add-option-to-filter-config-by-project

Conversation

@bouweandela
Copy link
Member

@bouweandela bouweandela commented Mar 18, 2026

Description

Example usage:

$ esmvaltool config show --project CMIP7

prints

# Current configuration for project 'CMIP7', excluding the keys 'extra_facets':
projects:
  CMIP7:
    cmor_table:
      paths:
      - cmip7/tables
      - cmip6-custom
      type: esmvalcore.cmor.table.CMIP6Info
    data:
      local:
        dirname_template: '{drs_specs}/{project}/{activity}/{institute}/{dataset}/{exp}/{ensemble}/{region}/{frequency}/{short_name}/{branding_suffix}/{grid}/{version}'
        filename_template: '{short_name}_{branding_suffix}_{frequency}_{region}_{grid}_{dataset}_{exp}_{ensemble}*.nc'
        rootpath: ~/climate_data
        type: esmvalcore.io.local.LocalDataSource
    preprocessor_filename_template: '{short_name}_{branding_suffix}_{frequency}_{region}_{grid}_{dataset}_{exp}_{ensemble}'

Link to documentation:


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:

@bouweandela bouweandela added the enhancement New feature or request label Mar 18, 2026
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.70%. Comparing base (69f2019) to head (46c6252).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3020   +/-   ##
=======================================
  Coverage   95.70%   95.70%           
=======================================
  Files         267      267           
  Lines       15768    15774    +6     
=======================================
+ Hits        15090    15096    +6     
  Misses        678      678           

☔ View full report in Codecov by Sentry.
📢 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 marked this pull request as ready for review March 18, 2026 13:48
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