pvlib.iotools.get_pvgis_horizon#

pvlib.iotools.get_pvgis_horizon(latitude, longitude, url='https://re.jrc.ec.europa.eu/api/', **kwargs)[source]#

Get horizon data from PVGIS.

Parameters
  • latitude (float) – Latitude in degrees north

  • longitude (float) – Longitude in degrees east

  • url (str, default: pvlib.iotools.pvgis.URL) – Base URL for PVGIS

  • kwargs – Passed to requests.get

Returns

  • data (pd.Series) – Pandas Series of the retrived horizon elevation angles. Index is the corresponding horizon azimuth angles.

  • metadata (dict) – Metadata returned by PVGIS.

Notes

The horizon azimuths are specified clockwise from north, e.g., south=180. This is the standard pvlib convention, although the PVGIS website specifies south=0.

References

1

PVGIS horizon profile tool