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

Problem loading zg for 6hrPlevPt #333

Open
sloosvel opened this issue Oct 24, 2019 · 9 comments
Open

Problem loading zg for 6hrPlevPt #333

sloosvel opened this issue Oct 24, 2019 · 9 comments
Assignees
Labels
cmor Related to the CMOR standard question Further information is requested

Comments

@sloosvel
Copy link
Contributor

Describe the bug

When trying to work with the geopotential height for mip: 6hrPlevPt, the variable on BADC (and on ESGF) is called zg. But the tool gives the following error:

esmvalcore._recipe_checks.RecipeError: Unable to load CMOR table 'CMIP6' for variable 'zg' with mip '6hrPlevPt'

Which is right because there is no such variable called zg in this table. Is this an issue with the way the files are named? Or is this something the tool should be able to handle?

I tried to attach an example recipe but apparently attaching yml files is not supported, here is an example dataset:

  • {project: CMIP6, mip: 6hrPlevPt, dataset: CNRM-CM6-1, exp: historical, ensemble: r1i1p1f2, grid: gr, start_year: 1982, end_year: 1982}
@sloosvel sloosvel added question Further information is requested cmor Related to the CMOR standard labels Oct 24, 2019
@zklaus
Copy link

zklaus commented Oct 24, 2019

Maybe it has something to do with the fact that in this table there are two variables (zg7h and zg27) both with the same out_name of zg that offer essentially the same information but on different levels.

Have a look at PCMDI/cmor#409 and https://github.com/PCMDI/cmor/blob/master/LibCV/PrePARE/out_names_tests.json to see how CMOR/PrePARE deals with that.

@sloosvel
Copy link
Contributor Author

Yes I have noticed that in this table there are several cases in which the variable name differs from the out_name. I think that the problem comes from assuming that var_name = out_name when loading all the cmor information for the variables? In the VariableInfo class the out_name is not something that gets read.

@thomascrocker
Copy link
Contributor

thomascrocker commented Aug 12, 2021

Just to add a +1 to this issue from me. One of the diagnostics I have been asked to implement in ESMValTool for the LaunchPAD project https://www.geog.ox.ac.uk/news/2019/0708-launchPAD.html requires geopotential height (zg) data from the zg27 CMIP6 table. It looks like #1099 should address the problem once it is merged.

Also tagging @ellendyer and @rjames-at-rwjames for future reference

@zklaus zklaus added this to the v2.5.0 milestone Oct 11, 2021
@schlunma
Copy link
Contributor

schlunma commented Feb 4, 2022

Moving this to v2.6 to follow the corresponding PR.

@schlunma schlunma modified the milestones: v2.5.0, v2.6.0 Feb 4, 2022
@sloosvel
Copy link
Contributor Author

I don't think I will have time to take care of this for 2.6, sorry. I will remove it from the milestone.

@sloosvel sloosvel removed this from the v2.6.0 milestone May 16, 2022
@zklaus zklaus added this to the v2.7.0 milestone May 17, 2022
@valeriupredoi valeriupredoi modified the milestones: v2.7.0, v2.8.0 Oct 3, 2022
@valeriupredoi
Copy link
Contributor

sorry, no way this can be sorted out for M2.7 😢

@valeriupredoi
Copy link
Contributor

hi @sloosvel how realistic would be a solution for this in v2.9 given code freeze is kicking in on Monday? 🍺

@sloosvel
Copy link
Contributor Author

sloosvel commented Jun 1, 2023

I already said a long time ago that I don't have much time to focus on this!

@valeriupredoi
Copy link
Contributor

fair enough, will bump to 2.10 then, cheers 🍺

@valeriupredoi valeriupredoi modified the milestones: v2.9.0, v2.10.0 Jun 1, 2023
@zklaus zklaus removed this from the v2.10.0 milestone Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmor Related to the CMOR standard question Further information is requested
Projects
None yet
7 participants