Skip to content

Commit ee9c42f

Browse files
committed
Update whatsnew, api.rst, and __init__
1 parent a8fb121 commit ee9c42f

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

docs/sphinx/source/api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@ relevant to solar energy modeling.
483483
iotools.parse_psm3
484484
iotools.get_pvgis_tmy
485485
iotools.read_pvgis_tmy
486+
iotools.get_pvgis_hourly
487+
iotools.read_pvgis_hourly
486488
iotools.read_bsrn
487489

488490
A :py:class:`~pvlib.location.Location` object may be created from metadata

docs/sphinx/source/whatsnew/v0.9.0.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ Deprecations
6262

6363
Enhancements
6464
~~~~~~~~~~~~
65+
* Add :func:`~pvlib.iotools.read_pvgis_hourly` and
66+
:func:`~pvlib.iotools.get_pvgis_hourly` for reading and retrieving PVGIS
67+
hourly solar radiation data and modelled PV power output.
68+
files. (:pull:`1186`, :issue:`849`)
6569
* Add :func:`~pvlib.iotools.read_bsrn` for reading BSRN solar radiation data
6670
files. (:pull:`1145`, :issue:`1015`)
6771
* In :py:class:`~pvlib.modelchain.ModelChain`, attributes which contain

pvlib/iotools/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@
1313
from pvlib.iotools.psm3 import read_psm3 # noqa: F401
1414
from pvlib.iotools.psm3 import parse_psm3 # noqa: F401
1515
from pvlib.iotools.pvgis import get_pvgis_tmy, read_pvgis_tmy # noqa: F401
16+
from pvlib.iotools.pvgis import read_pvgis_hourly # noqa: F401
17+
from pvlib.iotools.pvgis import get_pvgis_hourly # noqa: F401
1618
from pvlib.iotools.bsrn import read_bsrn # noqa: F401

pvlib/iotools/pvgis.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ def get_pvgis_hourly(lat, lon, angle=0, aspect=0, outputformat='json',
131131
**Mapped field names are returned when the map_variables argument is True**
132132
---------------------------------------------------------------------------
133133
P* float PV system power (W)
134-
G(i)** float Global irradiance on inclined plane (W/m^2)
135-
Gb(i)** float Beam (direct) irradiance on inclined plane (W/m^2)
136-
Gd(i)** float Diffuse irradiance on inclined plane (W/m^2)
137-
Gr(i)** float Reflected irradiance on inclined plane (W/m^2)
134+
G(i)** float Global irradiance on inclined plane (W/m^2) # noqa
135+
Gb(i)** float Beam (direct) irradiance on inclined plane (W/m^2) # noqa
136+
Gd(i)** float Diffuse irradiance on inclined plane (W/m^2) # noqa
137+
Gr(i)** float Reflected irradiance on inclined plane (W/m^2) # noqa
138138
H_sun, solar_elevation float Sun height/elevation (degrees)
139139
T2m, temp_air float Air temperature at 2 (degrees Celsius)
140140
WS10m, wind_speed float Wind speed at 10 m (m/s)

0 commit comments

Comments
 (0)