-
Notifications
You must be signed in to change notification settings - Fork 128
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
Where to find the correct frequency for ERA5 hourly variables? #1884
Comments
Related to: ESMValGroup/ESMValCore#645 where this was first introduced. |
I think the DRS was updated in #645, but the recipe was not updated then. So the recipe still contains the old DRS settings (using ERA5_freq and ERA5_name. |
@Peter9192 thank you for the link. Let me explain the issue better. The default drs for native6 is: 'Tier{tier}/{dataset}/{latestversion}/{frequency}/{short_name}'. The {frequency} can be defined as one of the frequencies in cmip6_CV. Also, I saw a comment about drs of era5 by @bouweandela here. However, esmvaltool does not accept this drs for the variables in the recipe_era5.yml; actually, all hourly variables should be in |
Agree that recipe_era5.yml needs several fixes. I made another issue. |
Okay, so if I understand it correctly: if you want to store the ERA5 data according to the default DRS, it is very unclear which values to use for the |
The ESMValCore determines the frequency of a variable by looking it up in the CMOR table, based on the project, mip table, and variable name provided in the recipe. However, if this does not give the correct frequency, it can be overridden by specifying the frequency in the recipe. |
Right. |
I think that would only be the case for variables that are sampled at specific points in time, not for accumulated ones like precipication and radiation, these are accumulated values over the past hour in ERA5 and we convert them to a flux by dividing by the time, so these are averaged over the hour so they should probably have frequency 1hr (without Pt). |
Thanks. So, we need to add the frequency to the
Is it right? |
Only if what is looked up from the CMOR table does not provide the correct frequency, but I think this is likely, because there are very few hourly variables in CMIP6, so then it will try to look it up in another mip table, but still try to keep the frequency from the mip and things may go wrong. |
I agree. However, esmvaltool does not accept them in |
You might need to specify the frequency in that recipe too. |
It might look more intuitive to specify the frequency in the variable section in the recipe, but with the dataset should work fine too. |
Just a note to avoid confusion: when you say 'should be', I think you mean 'ESMValTool seems to expect this, based on the error messages produced by recipe_check_obs', right? Whereas I would use 'should be' to state what I think ESMValTool should do, based on my own reasoning, regardless of what ESMValTool actually does... I agree that specifying it in the recipe would be the best solution. But then we still need to figure out what 'should be' the right frequency, based on the meaning of 1hrPt etc. |
No
Yes, me too, but you need to tell ESMValTool what the correct frequency is, because it cannot magically know this. |
I was quoting @SarahAlidoost... trying to make sure we're all on the same page ;-) |
The default drs of native6 contains the parameter {frequency}. The drs is used for ERA5 data in recipe_era5.yml.
Where to find the correct frequency for hourly variables in the recipe?
The text was updated successfully, but these errors were encountered: