-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Changes to PVGIS in version 5.2 #1415
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
Comments
@AdamRJensen do you know if the content of CMSAF and COSMO is migrating to the new database? Sorry that I'm not familiar with PVGIS. |
I missed the link to the documentation in my quick read of your issue, the documentation answers my question. I agree it would make sense to replace the test files or (more simply) to add a note to the test code identifying the data source. |
In order to use the new version 5.2 (which is still in beta), the URL needs to be updated, e.g.,:
I suspect this will only be necessary temporarily until the databases are considered stable and migrated to the default URL. The retired databases CMSAF and COSMO remain available through the default URL for now, though they will be removed in the future. |
Probably a good idea to scrub mentions of the retired databases from the docstring as well: pvlib-python/pvlib/iotools/pvgis.py Lines 140 to 144 in c243183
@AdamRJensen thoughts on tagging this issue for 0.9.1? |
@kanderso-nrel what's the current timeline for 0.9.1? I'll be out of the office until April 5th fyi. |
Don't think there really is a timeline. Next couple weeks maybe? Depends on how long it takes us to finish or defer the remaining things in #1424... |
@AdamRJensen should we keep this open until we update the tests and docstrings? |
@kanderso-nrel Sorry I got ahead of myself |
Describe the bug
PVGIS is releasing version 5.2 on March 1st, 2022. In the new version, the irradiance databases CMSAF and COSMO have been removed. Additionally, the ERA5 coverage has been extended to cover almost the entire globe and a new database, SARAH-2, has been added.
The full description can be found here.
The new default databases can be seen here:

Additional context
There is nothing that indicates any changes to the API, so the pvlib.iootools functions
get_pvgis_tmy
andget_pvgis_hourly
should continue to work.However, some of the test files used in
test_pvgis.py
are from the CMSAF database. Since those tests seem to be either based on local files or mock tests, I do not expect test failures. However, it would probably make sense to update the tests regardless.The text was updated successfully, but these errors were encountered: