Skip to content

get_pvgis_hourly #1890

Answered by kandersolar
jesuspolo asked this question in Q&A
Oct 17, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I think the most recent data is only available in PVGIS version 5.2. The API that pvlib accesses is still serving 5.1. If you specify the 5.2 endpoint like this, you can get 2020 data:

import pvlib
df, params, meta = pvlib.iotools.get_pvgis_hourly(45, 8, raddatabase='PVGIS-SARAH2', url='https://re.jrc.ec.europa.eu/api/v5_2/')

More info:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jesuspolo
Comment options

Answer selected by AdamRJensen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants