-
Notifications
You must be signed in to change notification settings - Fork 9
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
Extracting ERA5-Land data with extract_clima() #48
Comments
So, since not all variables needed for downstream calculations are available from ERA5-Land anyway, I have found a solution integrating both ERA5 (
In addition, when extracting coordinates, we need to account for the fact that the
Some other additions might be useful such as an index-based selection of corresponding ERA5 files, or checking that both Hope this helps! P.S. unfortunately the corresponding ERA5-Land file is too big to attach here.. |
Hi Jonathan, I'm a bit backed up this week but I'll follow up here shortly! |
Just flagging here that apparently and very annoyingly, CDS seem to have changed ERA5-Land .nc file structures. |
This concerns the compatibility of
extract_clima()
with ERA5-Land for extraction of gridded data. When trying to do that, I get the error:Error: [rast] tcc not found. Choose one of: t2m, d2m, sp, u10, v10, tp, ssrd, str, strd
Looking into the code, the
varname_list
object defined within the function does not yet account for the different sets of variables available in ERA5 and ERA5-Land, respectively. The function thus fails at the following loop trying torast()
the layer.Might be a quick fix with providing alternative varname_lists conditional to a dataset argument (e.g. "era5" vs "era5land"), or perhaps to allow users to specify a list themselves?
Thanks a lot!
link to zipped file - save in wd
The text was updated successfully, but these errors were encountered: