Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CF issues related to euro cordex datasets (CF errata) #17

Open
larsbuntemeyer opened this issue Jul 9, 2021 · 9 comments
Open

CF issues related to euro cordex datasets (CF errata) #17

larsbuntemeyer opened this issue Jul 9, 2021 · 9 comments

Comments

@larsbuntemeyer
Copy link
Contributor

larsbuntemeyer commented Jul 9, 2021

EUR-11.MIROC-MIROC5.UHOH.UHOH-WRF361H.historical.mon

this datasets seems to have wrong coordinate definitions, e.g., tas has lon, lat coordinates in rcp85 while it has rlon, rlat in historical.

dset_dict['EUR-11.MIROC-MIROC5.UHOH.UHOH-WRF361H.rcp85.mon']

Screenshot 2021-07-09 at 15 34 57

@larsbuntemeyer
Copy link
Contributor Author

larsbuntemeyer commented Jul 9, 2021

EUR-11.MIROC-MIROC5.CLMcom.CLMcom-CCLM4-8-17.rcp26.mon

scenario has missing lon_vertices, lat_vertices

Screenshot 2021-07-09 at 15 50 43

@larsbuntemeyer larsbuntemeyer changed the title issues related to euro cordex datasets issues related to euro cordex datasets (CF errata) Jul 9, 2021
@larsbuntemeyer larsbuntemeyer changed the title issues related to euro cordex datasets (CF errata) CF issues related to euro cordex datasets (CF errata) Jul 9, 2021
@larsbuntemeyer
Copy link
Contributor Author

EUR-11.MOHC-HadGEM2-ES.MOHC.MOHC-HadREM3-GA7-05.historical.mon

historical part is missing december 2005:

Screenshot 2021-07-09 at 16 04 28

@larsbuntemeyer
Copy link
Contributor Author

larsbuntemeyer commented Dec 5, 2021

EUR-11.ECMWF-ERAINT.CNRM.ALADIN53.evaluation.mon

tas units attribute is K although it's obviously degC

144760406-ed6d7306-e1f8-4ac4-ae92-a91a54c47ea7

Already reported in errata.es-doc

@larsbuntemeyer
Copy link
Contributor Author

larsbuntemeyer commented Dec 7, 2021

it's actually all ALADIN53 datasets have units attribute K but the values are actually degC

Screenshot 2021-12-07 at 11 24 46

This is also an inssue in the CDS.
Already reported in errata.es-doc

@larsbuntemeyer larsbuntemeyer changed the title CF issues related to euro cordex datasets (CF errata) CF issues related to euro cordex datasets (CF errata, https://errata.es-doc.org) Dec 7, 2021
@larsbuntemeyer larsbuntemeyer changed the title CF issues related to euro cordex datasets (CF errata, https://errata.es-doc.org) CF issues related to euro cordex datasets (CF errata) Dec 7, 2021
@larsbuntemeyer
Copy link
Contributor Author

see also https://errata.es-doc.org

@jwohland
Copy link

MOHC-HadREM3-GA7-05 uses a different grid than the others (413 instead of 412 rlatsteps, shifted by about half a grid box).

grafik

grafik

@larsbuntemeyer
Copy link
Contributor Author

thanks @jwohland for this detailed report! that's really a mess 😠

@larsbuntemeyer
Copy link
Contributor Author

larsbuntemeyer commented Feb 14, 2022

I tried to report issues to es-doc once but i failed miserably, here is the reply i got from [email protected] in case we want to report:

To get the proper format and syntax, ideally head over to your nearest ESGF data node and search for the dataset in question. You'll find the dataset identifier under the id metadata key.
For example: cordex.output.EUR-11.SMHI.MPI-M-MPI-ESM-LR.historical.r3.i1p1.RCA4.v1.day.evspsblpot.v20191001
I know it is sort of a hassle to get the correct identifier with this degree of strictness, but this is the only way automated systems can understand the different facet values.
That being said, some cordex datasets might still raise validation flags on the errata backend. This is because we rely on a vocabulary archive that needs constant updates.

@larsbuntemeyer
Copy link
Contributor Author

larsbuntemeyer commented Apr 1, 2022

ALADIN and ALARO datasets have incomplete grid_mapping definitions and wrong x and y units, e.g.

alaro = cx.tutorial.open_dataset("tas_EUR-11_ECMWF-ERAINT_evaluation_r1i1p1_RMIB-UGent-ALARO-0_v1_mon_198001-198012")
alaro

grafik

The units of x and y should be m, even if i convert those, i can not correctly plot it in it's native coordinates, since there is some unknown shift...

alaro['x'] = alaro.x * 1000.
alaro['y'] = alaro.y * 1000.

import cartopy.crs as ccrs
transform = ccrs.LambertConformal(central_longitude=9.9, central_latitude=49.0, 
                                  false_easting=0.0, false_northing=0.0, 
                                  secant_latitudes=None, standard_parallels=None, 
                                  globe=None, cutoff=-30)

import cartopy.feature as cf
import matplotlib.pyplot as plt
plt.figure(figsize=(10,8))
ax = plt.axes(projection=transform)
ax.gridlines(draw_labels=True, linewidth=0.5, color='gray',
             xlocs=range(-180,180,10), ylocs=range(-90,90,5))
alaro.tas.isel(time=0).plot(ax=ax, transform=transform)
ax.coastlines(resolution='50m', color='black', linewidth=1)
ax.add_feature(cf.BORDERS)

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants