Skip to content

ece2cmor fails with updated cmor library #872

@klauswyser

Description

@klauswyser

Running the re-cmorisation from CMIP6 to CMIP7 requires cmor=3.14. However, running ece2cmor then fails with

  File "/home/sm_wyser/cmorize/ece2cmor3/ece2cmor3/ifs2cmor.py", line 590, in define_cmor_axes
    cmor.load_table("_".join([table_root_, task.target.table]) + ".json")
                    ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, NoneType found
"""

When going back to cmor=3.10 I can run ece2cmor and get CMIP6 style output but then re-cmorisation fails because the old cmor library doesn't support CMIP7, e.g.

! Error: Your realization_index "r1" is invalid. 
! It must contain only characters between 0 and 9 

Cna we possibly update ece2cmor3 ?

Metadata

Metadata

Assignees

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