-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add retrieval function for ERA5 reanalysis data #1264
base: main
Are you sure you want to change the base?
Conversation
In order to test ERA5, The API key can be obtained by creating a CDS account. Note the tests do not need a local file with the key info as described here. @wholmgren Sorry to bother, but I think maybe you're the only one who has access to the pvlib email and azure? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking pretty good, a few minor notes below. It's a shame that the CDS API is so slow to return data, but I guess it is what it is. Ready for @pvlib/pvlib-maintainer to take a look if anyone has the time.
@wholmgren said in #1214 (comment) that we should think through how xarray and dask are used in pvlib, and now that 0.9.0 is out I guess we can do that. This PR as it currently stands adds three new optional dependencies: In the context of this PR, as I understand it (@AdamRJensen please correct any errors), I think #1274 is less clear. MERRA2 data retrieval is supposed to be done using OpenDAP instead of basic HTTP requests like most APIs. My very limited understanding of OpenDAP suggests that it is advisable to use a dedicated library for it instead of just using |
docs/sphinx/source/api.rst
for API changes.docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).Description
ERA5 is the reanalysis dataset provided by the ECMWF and provides hourly irradiance data for the entire world starting in 1970.
The proposed function retrieves ERA5 data from the Climate Data Store (CDS) using the
cdsapi
.