Skip to content

Recipe ref/recipe_ref_file.yml does not work with CMIP7 data #4343

@bouweandela

Description

@bouweandela

We are in the process of testing the REF with some CMIP6 data that has been reCMORized so it looks like CMIP7 data and encountered the following issue with recipe ref/recipe_ref_fire.yml:

INFO:fire_diagnostic:Processing vapor_pressure_deficit for CanESM5
INFO:fire_diagnostic:Saving vapor_pressure_deficit in /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation/tas_tavg-h2m-hxy-u_Amon_glb_gn_CanESM5_vpd_r1i1p1f1_2013-2014
Traceback (most recent call last):
  File "/home/bandela/climate_ref/software/conda/esmvaltool-efbbc9d45c9eb22679208cc3eac458e67ddb7308/lib/python3.13/site-packages/esmvaltool/diag_scripts/fire/fire_diagnostic.py", line 469, in <module>
    main(config)
    ~~~~^^^^^^^^
  File "/home/bandela/climate_ref/software/conda/esmvaltool-efbbc9d45c9eb22679208cc3eac458e67ddb7308/lib/python3.13/site-packages/esmvaltool/diag_scripts/fire/fire_diagnostic.py", line 390, in main
    [vars_file[v]["filename"], v] for v in cfg["var_order"]
     ~~~~~~~~~^^^
KeyError: 'tasmax'

It seems likely that this happens because tasmax is called tas in CMIP7 and the branding_suffix distinguishes it from plain tas.

Recipe
documentation:
  description: 'Recipe that plots diagnostics regarding climate drivers for fire.

    The diagnostic uses code for the ConFire model from the following GitHub repository:

    https://github.com/douglask3/Bayesian_fire_models/tree/AR7_REF

    '
  title: Climate drivers for fire.
  authors:
  - lenhardt_julien
  - kelley_douglas
  maintainer:
  - lenhardt_julien
datasets: []
preprocessors:
  preproc:
    regrid:
      target_grid: 2.5x2.5
      scheme: nearest
    mask_landsea:
      mask_out: sea
  preproc_fraction:
    regrid:
      target_grid: 2.5x2.5
      scheme: nearest
    mask_landsea:
      mask_out: sea
    convert_units:
      units: 1
diagnostics:
  fire_evaluation:
    description: Climate drivers for fire
    variables:
      pr:
        mip: atmos
        preprocessor: preproc
        short_name: pr
        start_year: 2013
        end_year: 2014
        additional_datasets:
        - project: CMIP7
          activity: CMIP
          branding_suffix: tavg-u-hxy-u
          dataset: CanESM5
          ensemble: r1i1p1f1
          exp: historical
          frequency: mon
          grid: gn
          institute: CCCma
          mip: atmos
          region: glb
      tasmax:
        mip: atmos
        preprocessor: preproc
        short_name: tas
        start_year: 2013
        end_year: 2014
        additional_datasets:
        - project: CMIP7
          activity: CMIP
          branding_suffix: tmaxavg-h2m-hxy-u
          dataset: CanESM5
          ensemble: r1i1p1f1
          exp: historical
          frequency: mon
          grid: gn
          institute: CCCma
          mip: atmos
          region: glb
      treeFrac:
        mip: land
        preprocessor: preproc_fraction
        short_name: treeFrac
        start_year: 2013
        end_year: 2014
        additional_datasets:
        - project: CMIP7
          activity: CMIP
          branding_suffix: tavg-u-hxy-u
          dataset: CanESM5
          ensemble: r1i1p1f1
          exp: historical
          frequency: mon
          grid: gn
          institute: CCCma
          mip: land
          region: glb
      vegFrac:
        mip: land
        preprocessor: preproc_fraction
        short_name: vegFrac
        start_year: 2013
        end_year: 2014
        additional_datasets:
        - project: CMIP7
          activity: CMIP
          branding_suffix: tavg-u-hxy-u
          dataset: CanESM5
          ensemble: r1i1p1f1
          exp: historical
          frequency: mon
          grid: gn
          institute: CCCma
          mip: land
          region: glb
      cVeg:
        mip: land
        preprocessor: preproc
        short_name: cVeg
        start_year: 2013
        end_year: 2014
        additional_datasets:
        - project: CMIP7
          activity: CMIP
          branding_suffix: tavg-u-hxy-lnd
          dataset: CanESM5
          ensemble: r1i1p1f1
          exp: historical
          frequency: mon
          grid: gn
          institute: CCCma
          mip: land
          region: glb
      tas:
        mip: atmos
        preprocessor: preproc
        short_name: tas
        start_year: 2013
        end_year: 2014
        additional_datasets:
        - project: CMIP7
          activity: CMIP
          branding_suffix: tavg-h2m-hxy-u
          dataset: CanESM5
          ensemble: r1i1p1f1
          exp: historical
          frequency: mon
          grid: gn
          institute: CCCma
          mip: atmos
          region: glb
      hurs:
        mip: atmos
        preprocessor: preproc
        short_name: hurs
        start_year: 2013
        end_year: 2014
        additional_datasets:
        - project: CMIP7
          activity: CMIP
          branding_suffix: tavg-h2m-hxy-u
          dataset: CanESM5
          ensemble: r1i1p1f1
          exp: historical
          frequency: mon
          grid: gn
          institute: CCCma
          mip: atmos
          region: glb
    scripts:
      fire_evaluation:
        script: fire/fire_diagnostic.py
        confire_param: https://zenodo.org/records/14917245
        var_order:
        - pr
        - tasmax
        - treeFrac
        - vegFrac
        - vpd
        - cVeg
        remove_confire_files: true
Diagnostic log
INFO:esmvaltool.diag_scripts.shared._base:Starting diagnostic script fire_evaluation with configuration:
auxiliary_data_dir: /home/bandela/auxiliary_data
confire_param: https://zenodo.org/records/14917245
input_data:
  ? /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/cVeg/cVeg_tavg-u-hxy-lnd_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
  : activity: CMIP
    alias: CanESM5
    branding_suffix: tavg-u-hxy-lnd
    dataset: CanESM5
    diagnostic: fire_evaluation
    drs_specs: MIP-DRS7
    end_year: 2014
    ensemble: r1i1p1f1
    exp: historical
    filename: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/cVeg/cVeg_tavg-u-hxy-lnd_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
    frequency: mon
    grid: gn
    institute: CCCma
    long_name: Carbon Mass in Vegetation
    mip: land
    modeling_realm:
    - land
    preprocessor: preproc
    project: CMIP7
    realm: land
    recipe_dataset_index: 0
    region: glb
    short_name: cVeg
    standard_name: vegetation_carbon_content
    start_year: 2013
    timerange: 2013/2014
    units: kg m-2
    variable_group: cVeg
    version: '20190429'
  ? /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/hurs/hurs_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
  : activity: CMIP
    alias: CanESM5
    branding_suffix: tavg-h2m-hxy-u
    dataset: CanESM5
    diagnostic: fire_evaluation
    drs_specs: MIP-DRS7
    end_year: 2014
    ensemble: r1i1p1f1
    exp: historical
    filename: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/hurs/hurs_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
    frequency: mon
    grid: gn
    institute: CCCma
    long_name: Near-Surface Relative Humidity
    mip: atmos
    modeling_realm:
    - atmos
    preprocessor: preproc
    project: CMIP7
    realm: atmos
    recipe_dataset_index: 0
    region: glb
    short_name: hurs
    standard_name: relative_humidity
    start_year: 2013
    timerange: 2013/2014
    units: '%'
    variable_group: hurs
    version: '20190429'
  ? /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/pr/pr_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
  : activity: CMIP
    alias: CanESM5
    branding_suffix: tavg-u-hxy-u
    dataset: CanESM5
    diagnostic: fire_evaluation
    drs_specs: MIP-DRS7
    end_year: 2014
    ensemble: r1i1p1f1
    exp: historical
    filename: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/pr/pr_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
    frequency: mon
    grid: gn
    institute: CCCma
    long_name: Precipitation
    mip: atmos
    modeling_realm:
    - atmos
    preprocessor: preproc
    project: CMIP7
    realm: atmos
    recipe_dataset_index: 0
    region: glb
    short_name: pr
    standard_name: precipitation_flux
    start_year: 2013
    timerange: 2013/2014
    units: kg m-2 s-1
    variable_group: pr
    version: '20190429'
  ? /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tas/tas_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
  : activity: CMIP
    alias: CanESM5
    branding_suffix: tavg-h2m-hxy-u
    dataset: CanESM5
    diagnostic: fire_evaluation
    drs_specs: MIP-DRS7
    end_year: 2014
    ensemble: r1i1p1f1
    exp: historical
    filename: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tas/tas_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
    frequency: mon
    grid: gn
    institute: CCCma
    long_name: Near-Surface Air Temperature
    mip: atmos
    modeling_realm:
    - atmos
    preprocessor: preproc
    project: CMIP7
    realm: atmos
    recipe_dataset_index: 0
    region: glb
    short_name: tas
    standard_name: air_temperature
    start_year: 2013
    timerange: 2013/2014
    units: K
    variable_group: tas
    version: '20190429'
  ? /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tasmax/tas_tmaxavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
  : activity: CMIP
    alias: CanESM5
    branding_suffix: tmaxavg-h2m-hxy-u
    dataset: CanESM5
    diagnostic: fire_evaluation
    drs_specs: MIP-DRS7
    end_year: 2014
    ensemble: r1i1p1f1
    exp: historical
    filename: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tasmax/tas_tmaxavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
    frequency: mon
    grid: gn
    institute: CCCma
    long_name: Daily Maximum Near-Surface Air Temperature
    mip: atmos
    modeling_realm:
    - atmos
    preprocessor: preproc
    project: CMIP7
    realm: atmos
    recipe_dataset_index: 0
    region: glb
    short_name: tas
    standard_name: air_temperature
    start_year: 2013
    timerange: 2013/2014
    units: K
    variable_group: tasmax
    version: '20190429'
  ? /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/treeFrac/treeFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
  : activity: CMIP
    alias: CanESM5
    branding_suffix: tavg-u-hxy-u
    dataset: CanESM5
    diagnostic: fire_evaluation
    drs_specs: MIP-DRS7
    end_year: 2014
    ensemble: r1i1p1f1
    exp: historical
    filename: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/treeFrac/treeFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
    frequency: mon
    grid: gn
    institute: CCCma
    long_name: Tree Cover Percentage
    mip: land
    modeling_realm:
    - land
    preprocessor: preproc_fraction
    project: CMIP7
    realm: land
    recipe_dataset_index: 0
    region: glb
    short_name: treeFrac
    standard_name: area_fraction
    start_year: 2013
    timerange: 2013/2014
    units: '1'
    variable_group: treeFrac
    version: '20190429'
  ? /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/vegFrac/vegFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
  : activity: CMIP
    alias: CanESM5
    branding_suffix: tavg-u-hxy-u
    dataset: CanESM5
    diagnostic: fire_evaluation
    drs_specs: MIP-DRS7
    end_year: 2014
    ensemble: r1i1p1f1
    exp: historical
    filename: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/vegFrac/vegFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc
    frequency: mon
    grid: gn
    institute: CCCma
    long_name: Total Vegetated Percentage Cover
    mip: land
    modeling_realm:
    - land
    preprocessor: preproc_fraction
    project: CMIP7
    realm: land
    recipe_dataset_index: 0
    region: glb
    short_name: vegFrac
    standard_name: area_fraction
    start_year: 2013
    timerange: 2013/2014
    units: '1'
    variable_group: vegFrac
    version: '20190429'
input_files:
- /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/pr/metadata.yml
- /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tasmax/metadata.yml
- /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/treeFrac/metadata.yml
- /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/vegFrac/metadata.yml
- /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/cVeg/metadata.yml
- /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tas/metadata.yml
- /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/hurs/metadata.yml
log_level: info
output_file_type: png
plot_dir: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/plots/fire_evaluation/fire_evaluation
recipe: recipe.yml
remove_confire_files: true
run_dir: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/run/fire_evaluation/fire_evaluation
script: fire_evaluation
var_order:
- pr
- tasmax
- treeFrac
- vegFrac
- vpd
- cVeg
version: 2.14.0rc1
work_dir: /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation

INFO:esmvaltool.diag_scripts.shared._base:Creating /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation
INFO:esmvaltool.diag_scripts.shared._base:Creating /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/plots/fire_evaluation/fire_evaluation
INFO:fire_diagnostic:{'confire_param': 'https://zenodo.org/records/14917245', 'var_order': ['pr', 'tasmax', 'treeFrac', 'vegFrac', 'vpd', 'cVeg'], 'remove_confire_files': True, 'recipe': 'recipe.yml', 'version': '2.14.0rc1', 'script': 'fire_evaluation', 'run_dir': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/run/fire_evaluation/fire_evaluation', 'plot_dir': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/plots/fire_evaluation/fire_evaluation', 'work_dir': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation', 'output_file_type': 'png', 'log_level': 'info', 'auxiliary_data_dir': '/home/bandela/auxiliary_data', 'input_files': ['/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/pr/metadata.yml', '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tasmax/metadata.yml', '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/treeFrac/metadata.yml', '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/vegFrac/metadata.yml', '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/cVeg/metadata.yml', '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tas/metadata.yml', '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/hurs/metadata.yml'], 'input_data': {'/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/pr/pr_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc': {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/pr/pr_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Precipitation', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'pr', 'standard_name': 'precipitation_flux', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'kg m-2 s-1', 'variable_group': 'pr', 'version': '20190429'}, '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tasmax/tas_tmaxavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc': {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tmaxavg-h2m-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tasmax/tas_tmaxavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Daily Maximum Near-Surface Air Temperature', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'tas', 'standard_name': 'air_temperature', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'K', 'variable_group': 'tasmax', 'version': '20190429'}, '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/treeFrac/treeFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc': {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/treeFrac/treeFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Tree Cover Percentage', 'mip': 'land', 'modeling_realm': ['land'], 'preprocessor': 'preproc_fraction', 'project': 'CMIP7', 'realm': 'land', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'treeFrac', 'standard_name': 'area_fraction', 'start_year': 2013, 'timerange': '2013/2014', 'units': '1', 'variable_group': 'treeFrac', 'version': '20190429'}, '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/vegFrac/vegFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc': {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/vegFrac/vegFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Total Vegetated Percentage Cover', 'mip': 'land', 'modeling_realm': ['land'], 'preprocessor': 'preproc_fraction', 'project': 'CMIP7', 'realm': 'land', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'vegFrac', 'standard_name': 'area_fraction', 'start_year': 2013, 'timerange': '2013/2014', 'units': '1', 'variable_group': 'vegFrac', 'version': '20190429'}, '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/cVeg/cVeg_tavg-u-hxy-lnd_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc': {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-lnd', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/cVeg/cVeg_tavg-u-hxy-lnd_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Carbon Mass in Vegetation', 'mip': 'land', 'modeling_realm': ['land'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'land', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'cVeg', 'standard_name': 'vegetation_carbon_content', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'kg m-2', 'variable_group': 'cVeg', 'version': '20190429'}, '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tas/tas_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc': {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-h2m-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tas/tas_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Near-Surface Air Temperature', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'tas', 'standard_name': 'air_temperature', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'K', 'variable_group': 'tas', 'version': '20190429'}, '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/hurs/hurs_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc': {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-h2m-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/hurs/hurs_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Near-Surface Relative Humidity', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'hurs', 'standard_name': 'relative_humidity', 'start_year': 2013, 'timerange': '2013/2014', 'units': '%', 'variable_group': 'hurs', 'version': '20190429'}}}
INFO:fire_diagnostic:Retrieving ConFire model parameter files from https://zenodo.org/records/14917245
INFO:fire_diagnostic:Downloaded none_trace-params-_6-frac_points_0.2-nvariables_-frac_random_sample0.2-nvars_6-niterations_5000.txt to /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation/ConFire_parameter_files/.
INFO:fire_diagnostic:Downloaded trace-_6-frac_points_0.2-nvariables_-frac_random_sample0.2-nvars_6-niterations_5000.nc to /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation/ConFire_parameter_files/.
INFO:fire_diagnostic:Downloaded scalers-_6-frac_points_0.2-nvariables_-frac_random_sample0.2-nvars_6-niterations_5000.csv to /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation/ConFire_parameter_files/.
INFO:fire_diagnostic:Processing data for CanESM5
INFO:fire_diagnostic:[{'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/pr/pr_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Precipitation', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'pr', 'standard_name': 'precipitation_flux', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'kg m-2 s-1', 'variable_group': 'pr', 'version': '20190429'}, {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tmaxavg-h2m-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tasmax/tas_tmaxavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Daily Maximum Near-Surface Air Temperature', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'tas', 'standard_name': 'air_temperature', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'K', 'variable_group': 'tasmax', 'version': '20190429'}, {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/treeFrac/treeFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Tree Cover Percentage', 'mip': 'land', 'modeling_realm': ['land'], 'preprocessor': 'preproc_fraction', 'project': 'CMIP7', 'realm': 'land', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'treeFrac', 'standard_name': 'area_fraction', 'start_year': 2013, 'timerange': '2013/2014', 'units': '1', 'variable_group': 'treeFrac', 'version': '20190429'}, {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/vegFrac/vegFrac_tavg-u-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Total Vegetated Percentage Cover', 'mip': 'land', 'modeling_realm': ['land'], 'preprocessor': 'preproc_fraction', 'project': 'CMIP7', 'realm': 'land', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'vegFrac', 'standard_name': 'area_fraction', 'start_year': 2013, 'timerange': '2013/2014', 'units': '1', 'variable_group': 'vegFrac', 'version': '20190429'}, {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-u-hxy-lnd', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/cVeg/cVeg_tavg-u-hxy-lnd_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Carbon Mass in Vegetation', 'mip': 'land', 'modeling_realm': ['land'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'land', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'cVeg', 'standard_name': 'vegetation_carbon_content', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'kg m-2', 'variable_group': 'cVeg', 'version': '20190429'}, {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-h2m-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/tas/tas_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Near-Surface Air Temperature', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'tas', 'standard_name': 'air_temperature', 'start_year': 2013, 'timerange': '2013/2014', 'units': 'K', 'variable_group': 'tas', 'version': '20190429'}, {'activity': 'CMIP', 'alias': 'CanESM5', 'branding_suffix': 'tavg-h2m-hxy-u', 'dataset': 'CanESM5', 'diagnostic': 'fire_evaluation', 'drs_specs': 'MIP-DRS7', 'end_year': 2014, 'ensemble': 'r1i1p1f1', 'exp': 'historical', 'filename': '/home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/preproc/fire_evaluation/hurs/hurs_tavg-h2m-hxy-u_mon_glb_gn_CanESM5_historical_r1i1p1f1_2013-2014.nc', 'frequency': 'mon', 'grid': 'gn', 'institute': 'CCCma', 'long_name': 'Near-Surface Relative Humidity', 'mip': 'atmos', 'modeling_realm': ['atmos'], 'preprocessor': 'preproc', 'project': 'CMIP7', 'realm': 'atmos', 'recipe_dataset_index': 0, 'region': 'glb', 'short_name': 'hurs', 'standard_name': 'relative_humidity', 'start_year': 2013, 'timerange': '2013/2014', 'units': '%', 'variable_group': 'hurs', 'version': '20190429'}]
INFO:fire_diagnostic:Variable pr
INFO:fire_diagnostic:Variable tas
INFO:fire_diagnostic:Variable treeFrac
INFO:fire_diagnostic:Variable vegFrac
INFO:fire_diagnostic:Variable cVeg
INFO:fire_diagnostic:Variable tas
INFO:fire_diagnostic:Variable hurs
INFO:fire_diagnostic:dict_keys(['pr', 'tas', 'treeFrac', 'vegFrac', 'cVeg', 'hurs'])
INFO:fire_diagnostic:Processing vapor_pressure_deficit for CanESM5
INFO:fire_diagnostic:Saving vapor_pressure_deficit in /home/bandela/climate_ref/results/test-cases/esmvaltool/climate-drivers-for-fire/cmip7/executions/recipe_20260216_152449/work/fire_evaluation/fire_evaluation/tas_tavg-h2m-hxy-u_Amon_glb_gn_CanESM5_vpd_r1i1p1f1_2013-2014
Traceback (most recent call last):
  File "/home/bandela/climate_ref/software/conda/esmvaltool-efbbc9d45c9eb22679208cc3eac458e67ddb7308/lib/python3.13/site-packages/esmvaltool/diag_scripts/fire/fire_diagnostic.py", line 469, in <module>
    main(config)
    ~~~~^^^^^^^^
  File "/home/bandela/climate_ref/software/conda/esmvaltool-efbbc9d45c9eb22679208cc3eac458e67ddb7308/lib/python3.13/site-packages/esmvaltool/diag_scripts/fire/fire_diagnostic.py", line 390, in main
    [vars_file[v]["filename"], v] for v in cfg["var_order"]
     ~~~~~~~~~^^^
KeyError: 'tasmax'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions