Skip to content

fre.cmor: if cmip6 specified in user config, but using cmip7 tables, error #775

@ilaflott

Description

@ilaflott

thanks to @ceblanton for testing and bumping into this! the output error was not insightful to the real problem, and thus next steps for the user were not clear:

[DEBUG:           cmor_mixer.py:        cmor_run_subtool] the following variables were read from the table: dict_keys(['abs550aer_tavg-u-hxy-u', 'abs550bc_tavg-u-hxy-u', 'abs550dust_tavg-u-hxy-u', 'abs550no3_tavg-u-hxy-u', 'abs550oa_tavg-u-hxy-u', 'abs550so4_tavg-u-hxy-\
u', 'abs550ss_tavg-u-hxy-u', 'airmass_tavg-al-hxy-u', 'aoanh_tavg-al-hxy-u', 'bry_tavg-p39-hy-air', 'bs550aer_tpt-al-hxy-u', 'c2h6_tavg-al-hxy-u', 'c3h6_tavg-al-hxy-u', 'c3h8_tavg-al-hxy-u', 'ccldncl_tavg-u-hxy-ccl', 'ccn1_tavg-al-hxy-u', 'ccn_tavg-u-hxy-ccl', 'ccnp02_t\
avg-al-hxy-u', 'cdnc_tavg-al-hxy-u', 'cfc114_tavg-al-hxy-u', 'ch3coch3_tavg-al-hxy-u', 'cheaqpso4_tavg-al-hxy-u', 'chegpso4_tavg-al-hxy-u', 'chepasoa_tavg-u-hxy-u', 'chepsoa_tavg-u-hxy-u', 'cly_tavg-p39-hy-air', 'co_tavg-al-hxy-u', 'co_tavg-h2m-hxy-u', 'cod_tavg-u-hxy-u\
', 'conccn_tavg-al-hxy-u', 'conccn_tpt-u-hs-u', 'depdust_tavg-u-hxy-u', 'drybc_tavg-u-hxy-u', 'drydust_tavg-u-hxy-u', 'dryno3_tavg-u-hxy-u', 'dryo3_tavg-u-hxy-u', 'dryoa_tavg-u-hxy-u', 'dryso2_tavg-u-hxy-u', 'dryso4_tavg-u-hxy-u', 'dryss_tavg-u-hxy-u', 'ec550aer_tavg-al\
-hxy-u', 'ec550aer_tpt-al-hxy-u', 'emiaco_tavg-u-hxy-u', 'emianox_tavg-u-hxy-u', 'emiaoa_tavg-u-hxy-u', 'emibbbc_tavg-u-hxy-u', 'emibbch4_tavg-u-hxy-u', 'emibbco_tavg-u-hxy-u', 'emibbdms_tavg-u-hxy-u', 'emibbnh3_tavg-u-hxy-u', 'emibbnox_tavg-u-hxy-u', 'emibboa_tavg-u-hx\
y-u', 'emibbso2_tavg-u-hxy-u', 'emibbvoc_tavg-u-hxy-u', 'emibc_tavg-u-hxy-u', 'emibvoc_tavg-u-hxy-u', 'emico_tavg-u-hxy-u', 'emidms_tavg-u-hxy-u', 'emidust_tavg-u-hxy-u', 'emiisop_tavg-u-hxy-u', 'emilnox_tavg-u-hxy-u', 'eminh3_tavg-u-hxy-u', 'eminox_tavg-u-hxy-u', 'emio\
a_tavg-u-hxy-u', 'emiso2_tavg-u-hxy-u', 'emiso4_tavg-u-hxy-u', 'emiss_tavg-u-hxy-u', 'emivoc_tavg-u-hxy-u', 'h2o_tavg-al-hxy-u', 'h2o_tavg-p39-hy-air', 'hcfc22_tavg-al-hxy-u', 'hcho_tavg-al-hxy-u', 'hcl_tavg-al-hxy-u', 'hcl_tavg-p39-hy-air', 'hfc125_tavg-al-hxy-u', 'hfc\
134a_tavg-al-hxy-u', 'hno3_tavg-al-hxy-u', 'hno3_tavg-p39-hy-air', 'ho2_tavg-p39-hy-air', 'isop_tavg-al-hxy-u', 'jno2_tavg-al-hxy-u', 'lossch4_tavg-al-hxy-u', 'lossco_tavg-al-hxy-u', 'lossn2o_tavg-al-hxy-u', 'lwp_tavg-u-hxy-u', 'mmraerh2o_tavg-al-hxy-u', 'mmraerh2o_tavg\
-h2m-hxy-u', 'mmraerh2o_tpt-h2m-hs-u', 'mmrbc_tavg-al-hxy-u', 'mmrbc_tavg-h2m-hxy-u', 'mmrbc_tpt-h2m-hs-u', 'mmrdust_tavg-al-hxy-u', 'mmrdust_tavg-h2m-hxy-u', 'mmrdust_tpt-h2m-hs-u', 'mmrnh4_tavg-al-hxy-u', 'mmrnh4_tavg-h2m-hxy-u', 'mmrnh4_tpt-h2m-hs-u', 'mmrno3_tavg-al\
-hxy-u', 'mmrno3_tavg-h2m-hxy-u', 'mmrno3_tpt-h2m-hs-u', 'mmroa_tavg-al-hxy-u', 'mmroa_tavg-h2m-hxy-u', 'mmroa_tpt-h2m-hs-u', 'mmrpm1_tavg-al-hxy-u', 'mmrpm2p5_tavg-al-hxy-u', 'mmrso4_tavg-al-hxy-u', 'mmrso4_tavg-h2m-hxy-u', 'mmrso4_tpt-h2m-hs-u', 'mmrsoa_tavg-al-hxy-u'\
, 'mmrsoa_tavg-h2m-hxy-u', 'mmrss_tavg-al-hxy-u', 'mmrss_tavg-h2m-hxy-u', 'mmrss_tpt-h2m-hs-u', 'nh50_tavg-al-hxy-u', 'no2_tavg-al-hxy-u', 'no2_tavg-h2m-hxy-u', 'no_tavg-al-hxy-u', 'noy_tavg-p39-hy-air', 'o3_tavg-h2m-hxy-u', 'o3_tmax-h2m-hxy-u', 'o3loss_tavg-al-hxy-u', \
'o3prod_tavg-al-hxy-u', 'od443aer_tavg-u-hxy-u', 'od550aer_tavg-u-hxy-u', 'od550aerh2o_tavg-u-hxy-u', 'od550bb_tavg-u-hxy-u', 'od550bc_tavg-u-hxy-u', 'od550csaer_tavg-u-hxy-u', 'od550dust_tavg-u-hxy-u', 'od550lt1aer_tavg-u-hxy-u', 'od550no3_tavg-u-hxy-u', 'od550oa_tavg-\
u-hxy-u', 'od550so4_tavg-u-hxy-u', 'od550soa_tavg-u-hxy-u', 'od550ss_tavg-u-hxy-u', 'od865aer_tavg-u-hxy-u', 'oh_tavg-al-hxy-u', 'oh_tavg-p39-hy-air', 'pan_tavg-al-hxy-u', 'photo1d_tavg-al-hxy-u', 'pod0_tsum-u-hxy-u', 'reffccwctop_tavg-u-hxy-cl', 'reffclwtop_tavg-u-hxy-\
cl', 'rluscsaf_tavg-u-hxy-u', 'rlutaf_tavg-u-hxy-u', 'rlutcsaf_tavg-u-hxy-u', 'rsutaf_tavg-u-hxy-u', 'rsutcsaf_tavg-u-hxy-u', 'sfpm10_tavg-al-hxy-u', 'sfpm10_tavg-h2m-hxy-u', 'sfpm1_tavg-h2m-hxy-u', 'sfpm25_tavg-h2m-hxy-u', 'so2_tavg-al-hxy-u', 'so2_tavg-h2m-hxy-u', 'so\
2_tpt-h2m-hs-u', 'tatp_tavg-u-hxy-u', 'toz_tavg-u-hxy-u', 'tropoz_tavg-u-hxy-u', 'ttop_tavg-u-hxy-cl', 'ua_tavg-10hPa-hxy-air', 'vt100_tavg-100hPa-hy-air', 'wa_tavg-al-hxy-u', 'wetbc_tavg-u-hxy-u', 'wetdust_tavg-u-hxy-u', 'wetoa_tavg-u-hxy-u', 'wetso2_tavg-u-hxy-u', 'we\
tso4_tavg-u-hxy-u', 'wetss_tavg-u-hxy-u', 'zg_tavg-10hPa-hxy-air'])
[DEBUG:           cmor_mixer.py:        cmor_run_subtool] list of table variables we will process =
 dict_keys(['abs550aer_tavg-u-hxy-u', 'abs550bc_tavg-u-hxy-u', 'abs550dust_tavg-u-hxy-u', 'abs550no3_tavg-u-hxy-u', 'abs550oa_tavg-u-hxy-u', 'abs550so4_tavg-u-hxy-u', 'abs550ss_tavg-u-hxy-u', 'airmass_tavg-al-hxy-u', 'aoanh_tavg-al-hxy-u', 'bry_tavg-p39-hy-air', 'bs550a\
er_tpt-al-hxy-u', 'c2h6_tavg-al-hxy-u', 'c3h6_tavg-al-hxy-u', 'c3h8_tavg-al-hxy-u', 'ccldncl_tavg-u-hxy-ccl', 'ccn1_tavg-al-hxy-u', 'ccn_tavg-u-hxy-ccl', 'ccnp02_tavg-al-hxy-u', 'cdnc_tavg-al-hxy-u', 'cfc114_tavg-al-hxy-u', 'ch3coch3_tavg-al-hxy-u', 'cheaqpso4_tavg-al-h\
xy-u', 'chegpso4_tavg-al-hxy-u', 'chepasoa_tavg-u-hxy-u', 'chepsoa_tavg-u-hxy-u', 'cly_tavg-p39-hy-air', 'co_tavg-al-hxy-u', 'co_tavg-h2m-hxy-u', 'cod_tavg-u-hxy-u', 'conccn_tavg-al-hxy-u', 'conccn_tpt-u-hs-u', 'depdust_tavg-u-hxy-u', 'drybc_tavg-u-hxy-u', 'drydust_tavg\
-u-hxy-u', 'dryno3_tavg-u-hxy-u', 'dryo3_tavg-u-hxy-u', 'dryoa_tavg-u-hxy-u', 'dryso2_tavg-u-hxy-u', 'dryso4_tavg-u-hxy-u', 'dryss_tavg-u-hxy-u', 'ec550aer_tavg-al-hxy-u', 'ec550aer_tpt-al-hxy-u', 'emiaco_tavg-u-hxy-u', 'emianox_tavg-u-hxy-u', 'emiaoa_tavg-u-hxy-u', 'em\
ibbbc_tavg-u-hxy-u', 'emibbch4_tavg-u-hxy-u', 'emibbco_tavg-u-hxy-u', 'emibbdms_tavg-u-hxy-u', 'emibbnh3_tavg-u-hxy-u', 'emibbnox_tavg-u-hxy-u', 'emibboa_tavg-u-hxy-u', 'emibbso2_tavg-u-hxy-u', 'emibbvoc_tavg-u-hxy-u', 'emibc_tavg-u-hxy-u', 'emibvoc_tavg-u-hxy-u', 'emic\
o_tavg-u-hxy-u', 'emidms_tavg-u-hxy-u', 'emidust_tavg-u-hxy-u', 'emiisop_tavg-u-hxy-u', 'emilnox_tavg-u-hxy-u', 'eminh3_tavg-u-hxy-u', 'eminox_tavg-u-hxy-u', 'emioa_tavg-u-hxy-u', 'emiso2_tavg-u-hxy-u', 'emiso4_tavg-u-hxy-u', 'emiss_tavg-u-hxy-u', 'emivoc_tavg-u-hxy-u',\
 'h2o_tavg-al-hxy-u', 'h2o_tavg-p39-hy-air', 'hcfc22_tavg-al-hxy-u', 'hcho_tavg-al-hxy-u', 'hcl_tavg-al-hxy-u', 'hcl_tavg-p39-hy-air', 'hfc125_tavg-al-hxy-u', 'hfc134a_tavg-al-hxy-u', 'hno3_tavg-al-hxy-u', 'hno3_tavg-p39-hy-air', 'ho2_tavg-p39-hy-air', 'isop_tavg-al-hxy\
-u', 'jno2_tavg-al-hxy-u', 'lossch4_tavg-al-hxy-u', 'lossco_tavg-al-hxy-u', 'lossn2o_tavg-al-hxy-u', 'lwp_tavg-u-hxy-u', 'mmraerh2o_tavg-al-hxy-u', 'mmraerh2o_tavg-h2m-hxy-u', 'mmraerh2o_tpt-h2m-hs-u', 'mmrbc_tavg-al-hxy-u', 'mmrbc_tavg-h2m-hxy-u', 'mmrbc_tpt-h2m-hs-u',\
 'mmrdust_tavg-al-hxy-u', 'mmrdust_tavg-h2m-hxy-u', 'mmrdust_tpt-h2m-hs-u', 'mmrnh4_tavg-al-hxy-u', 'mmrnh4_tavg-h2m-hxy-u', 'mmrnh4_tpt-h2m-hs-u', 'mmrno3_tavg-al-hxy-u', 'mmrno3_tavg-h2m-hxy-u', 'mmrno3_tpt-h2m-hs-u', 'mmroa_tavg-al-hxy-u', 'mmroa_tavg-h2m-hxy-u', 'mm\
roa_tpt-h2m-hs-u', 'mmrpm1_tavg-al-hxy-u', 'mmrpm2p5_tavg-al-hxy-u', 'mmrso4_tavg-al-hxy-u', 'mmrso4_tavg-h2m-hxy-u', 'mmrso4_tpt-h2m-hs-u', 'mmrsoa_tavg-al-hxy-u', 'mmrsoa_tavg-h2m-hxy-u', 'mmrss_tavg-al-hxy-u', 'mmrss_tavg-h2m-hxy-u', 'mmrss_tpt-h2m-hs-u', 'nh50_tavg-\
al-hxy-u', 'no2_tavg-al-hxy-u', 'no2_tavg-h2m-hxy-u', 'no_tavg-al-hxy-u', 'noy_tavg-p39-hy-air', 'o3_tavg-h2m-hxy-u', 'o3_tmax-h2m-hxy-u', 'o3loss_tavg-al-hxy-u', 'o3prod_tavg-al-hxy-u', 'od443aer_tavg-u-hxy-u', 'od550aer_tavg-u-hxy-u', 'od550aerh2o_tavg-u-hxy-u', 'od55\
0bb_tavg-u-hxy-u', 'od550bc_tavg-u-hxy-u', 'od550csaer_tavg-u-hxy-u', 'od550dust_tavg-u-hxy-u', 'od550lt1aer_tavg-u-hxy-u', 'od550no3_tavg-u-hxy-u', 'od550oa_tavg-u-hxy-u', 'od550so4_tavg-u-hxy-u', 'od550soa_tavg-u-hxy-u', 'od550ss_tavg-u-hxy-u', 'od865aer_tavg-u-hxy-u'\
, 'oh_tavg-al-hxy-u', 'oh_tavg-p39-hy-air', 'pan_tavg-al-hxy-u', 'photo1d_tavg-al-hxy-u', 'pod0_tsum-u-hxy-u', 'reffccwctop_tavg-u-hxy-cl', 'reffclwtop_tavg-u-hxy-cl', 'rluscsaf_tavg-u-hxy-u', 'rlutaf_tavg-u-hxy-u', 'rlutcsaf_tavg-u-hxy-u', 'rsutaf_tavg-u-hxy-u', 'rsutc\
saf_tavg-u-hxy-u', 'sfpm10_tavg-al-hxy-u', 'sfpm10_tavg-h2m-hxy-u', 'sfpm1_tavg-h2m-hxy-u', 'sfpm25_tavg-h2m-hxy-u', 'so2_tavg-al-hxy-u', 'so2_tavg-h2m-hxy-u', 'so2_tpt-h2m-hs-u', 'tatp_tavg-u-hxy-u', 'toz_tavg-u-hxy-u', 'tropoz_tavg-u-hxy-u', 'ttop_tavg-u-hxy-cl', 'ua_\
tavg-10hPa-hxy-air', 'vt100_tavg-100hPa-hy-air', 'wa_tavg-al-hxy-u', 'wetbc_tavg-u-hxy-u', 'wetdust_tavg-u-hxy-u', 'wetoa_tavg-u-hxy-u', 'wetso2_tavg-u-hxy-u', 'wetso4_tavg-u-hxy-u', 'wetss_tavg-u-hxy-u', 'zg_tavg-10hPa-hxy-air'])
[DEBUG:           cmor_mixer.py:        cmor_run_subtool] loading json_var_list =
/home/Chris.Blanton/mar12/var-lists/CMIP7_aerosol_aerosol_cmip.list
[DEBUG:           cmor_mixer.py:        cmor_run_subtool] var_list is =
 {'abs550aer': 'abs550aer', 'dryss': 'dryss', 'airmass': 'airmass', 'aoanh': 'aoanh', 'c2h6': 'c2h6', 'emibc': 'emibc', 'c3h6': 'c3h6', 'emibvoc': 'emibvoc', 'c3h8': 'c3h8', 'emico': 'emico', 'emidms': 'emidms', 'cdnc': 'cdnc', 'dryso2': 'dryso2', 'ch3coch3': 'ch3coch3'\
, 'chegpso4': 'chegpso4', 'emiso2': 'emiso2', 'chepsoa': 'chepsoa', 'emiso4': 'emiso4', 'emiss': 'emiss', 'co': 'co', 'drybc': 'drybc', 'hcho': 'hcho', 'hcl': 'hcl', 'hno3': 'hno3', 'drydust': 'drydust', 'isop': 'isop', 'dryso4': 'dryso4', 'jno2': 'jno2', 'dryo3': 'dryo\
3', 'dryoa': 'dryoa', 'lossch4': 'lossch4', 'lossco': 'lossco', 'lossn2o': 'lossn2o', 'lwp': 'lwp', 'mmrbc': 'mmrbc', 'mmrdust': 'mmrdust', 'mmrnh4': 'mmrnh4', 'mmrno3': 'mmrno3', 'mmroa': 'mmroa', 'mmrpm1': 'mmrpm1', 'mmrpm2p5': 'mmrpm2p5', 'mmrso4': 'mmrso4', 'mmrsoa'\
: 'mmrsoa', 'mmrss': 'mmrss', 'rlutcsaf': 'rlutcsaf', 'nh50': 'nh50', 'rsutaf': 'rsutaf', 'no2': 'no2', 'no': 'no', 'rsutcsaf': 'rsutcsaf', 'o3loss': 'o3loss', 'o3': 'o3', 'o3prod': 'o3prod', 'so2': 'so2', 'od550aer': 'od550aer', 'od550bc': 'od550bc', 'od550dust': 'od55\
0dust', 'reffclwtop': 'reffclwtop', 'od550lt1aer': 'od550lt1aer', 'od550no3': 'od550no3', 'tatp': 'tatp', 'od550oa': 'od550oa', 'toz': 'toz', 'od550so4': 'od550so4', 'tropoz': 'tropoz', 'od550soa': 'od550soa', 'ua': 'ua', 'od550ss': 'od550ss', 'oh': 'oh', 'wetbc': 'wetb\
c', 'pan': 'pan', 'wetdust': 'wetdust', 'photo1d': 'photo1d', 'wetoa': 'wetoa', 'rlutaf': 'rlutaf', 'wetso2': 'wetso2', 'wetso4': 'wetso4', 'wetss': 'wetss', 'zg': 'zg', 'cheaqpso4': 'cheaqpso4', 'emidust': 'emidust', 'emiisop': 'emiisop', 'eminh3': 'eminh3', 'eminox': \
'eminox', 'emioa': 'emioa'}
[WARNING:           cmor_mixer.py:        cmor_run_subtool] skipping local_var = abs550aer /
target_var = abs550aer
target_var not found in CMOR variable group
[WARNING:           cmor_mixer.py:        cmor_run_subtool] skipping local_var = dryss /
target_var = dryss
target_var not found in CMOR variable group
[WARNING:           cmor_mixer.py:        cmor_run_subtool] skipping local_var = airmass /
target_var = airmass
target_var not found in CMOR variable group
[WARNING:           cmor_mixer.py:        cmor_run_subtool] skipping local_var = aoanh /
target_var = aoanh
...
...
...

<ABRIDGED>

...
...
...
[WARNING:           cmor_mixer.py:        cmor_run_subtool] skipping local_var = eminox /
target_var = eminox
target_var not found in CMOR variable group
[WARNING:           cmor_mixer.py:        cmor_run_subtool] skipping local_var = emioa /
target_var = emioa
target_var not found in CMOR variable group
[ INFO:           cmor_mixer.py:        cmor_run_subtool] vars_to_run = {}
Traceback (most recent call last):
  File "/home/fms/local/opt/fre/test/bin/fre", line 8, in <module>
    sys.exit(fre())
             ~~~^^
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/click/core.py", line 1485, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/click/core.py", line 1406, in main
    rv = self.invoke(ctx)
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/click/core.py", line 1873, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/click/core.py", line 1269, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/click/core.py", line 824, in invoke
    return callback(*args, **kwargs)
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/fre/cmor/frecmor.py", line 69, in yaml
    cmor_yaml_subtool(
    ~~~~~~~~~~~~~~~~~^
        yamlfile = yamlfile,
        ^^^^^^^^^^^^^^^^^^^^
    ...<8 lines>...
        print_cli_call = print_cli_call
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/fre/cmor/cmor_yamler.py", line 269, in cmor_yaml_subtool
    cmor_run_subtool( #uncovered
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
        indir = indir ,
        ^^^^^^^^^^^^^^^
    ...<11 lines>...
        calendar_type = calendar_type
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/nbhome/fms/conda/envs/fre-test/lib/python3.14/site-packages/fre/cmor/cmor_mixer.py", line 1051, in cmor_run_subtool
    raise ValueError('runnable variable list is of length 0 '
                     'this means no variables in input variable list are in '
                     'the mip table configuration, so there\'s nothing to process!')

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