ESMValGroup / ESMValCore

ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts.
https://www.esmvaltool.org
Apache License 2.0
42 stars 38 forks source link

Dataset problem: EC-Earth3-Veg, EC-Earth3 #835

Closed mwjury closed 3 years ago

mwjury commented 3 years ago

When doing an ensemble_statistics, metadata has to be the same between the single ensemble members. Depending on #673 for the error to appear. Currently tested for CMIP6 Amon TAS runs having data for this 5 experiments: historical, ssp126, ssp245, ssp370, ssp585.

This leads to problems with (luckily on 2 so far):

In the case of EC-Earth3-Veg and TAS there are differences in latitude points and bounds of -9.9475983e-14. So some simple rounding should do the trick.

iris.exceptions.MergeError: failed to merge into a single cube.
  Coordinates in cube.dim_coords differ: latitude.

Please attach

Cheers :beer:

mwjury commented 3 years ago

@valeriupredoi ensemble_statistics is opening new avenues for metadata discrepancies.

mwjury commented 3 years ago

Same thing happening with EC-Earth3.

Found between e.g. ScenarioMIP/EC-Earth-Consortium/EC-Earth3/ssp370/r4i1p1f1/Amon/tas/gr/v20200425/tas_Amon_EC-Earth3_ssp370_r4i1p1f1_gr_201601-201612.nc ScenarioMIP/EC-Earth-Consortium/EC-Earth3/ssp370/r1i1p1f1/Amon/tas/gr/v20200310/tas_Amon_EC-Earth3_ssp370_r1i1p1f1_gr_201601-201612.nc

CMIP6_EC-Earth3_ensemble_statistic.yml.txt