Skip to content

concatenation of cubes with overlapping data #574

Description

@mwjury

Describe the bug
Thanks for all the efforts so far of concatenating overlapping data (as e.g. #280)!
For certain datasets however this does not work satisfactorily. E.g. for tas

 - {project: CMIP5, dataset: GISS-E2-H-CC, ensemble: r1i1p1, exp: [historical, rcp85], start_year: 1950, end_year: 2100}

and uses the files:

historical/mon/atmos/Amon/r1i1p1/v20120723/tas/tas_Amon_GISS-E2-H-CC_historical_r1i1p1_195101-201012.nc
historical/mon/atmos/Amon/r1i1p1/v20120723/tas/tas_Amon_GISS-E2-H-CC_historical_r1i1p1_190101-195012.nc
rcp85/mon/atmos/Amon/r1i1p1/v20160512/tas/tas_Amon_GISS-E2-H-CC_rcp85_r1i1p1_200601-205012.nc
rcp85/mon/atmos/Amon/r1i1p1/v20160512/tas/tas_Amon_GISS-E2-H-CC_rcp85_r1i1p1_205101-210012.nc

The initial concatenation concatenates the first 2 and the last cube to one (from 1950-2010 and 2051-2100) and leaves the 3rd as it is. _concatenate_overlapping_cubes subsequently ignores this 3rd one.

This is caught later on and throws:

esmvalcore.cmor.check.CMORCheckError: There were errors in variable tas:
time: Frequency mon does not match input data

Any idea how to approach this issue?

Please attach

  • The recipe that you are trying to run, you can find a copy in the run directory in the output directory concatenate_bug_yml.txt

  • The main_log_debug.txt file, this can also be found in the run directory in the output directory
    main_log_debug.txt

Metadata

Metadata

Labels

bugSomething isn't workingirisRelated to the Iris package

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions