Skip to content

Commit 8fc62ae

Browse files
committed
Feedback from review
1 parent 4693f31 commit 8fc62ae

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

docs/sphinx/source/user_guide/modeling_topics/weather_data.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ them.
7676
Usage
7777
-----
7878

79-
With some exceptions, the :py:mod:`pvlib.iotools` functions
79+
The :py:mod:`pvlib.iotools` functions
8080
provide a uniform interface for accessing data across many formats.
8181
Specifically, :py:mod:`pvlib.iotools` functions usually return two objects:
8282
a :py:class:`pandas.DataFrame` of the actual dataset, plus a metadata
@@ -89,8 +89,7 @@ Typical usage looks something like this:
8989

9090
.. code-block:: python
9191
92-
# get_pvgis_tmy returns two additional values besides df and metadata
93-
df, _, _, metadata = pvlib.iotools.get_pvgis_tmy(latitude, longitude, map_variables=True)
92+
df, metadata = pvlib.iotools.get_pvgis_tmy(latitude, longitude, map_variables=True)
9493
9594
This code will fetch a Typical Meteorological Year (TMY) dataset from PVGIS,
9695
returning a :py:class:`pandas.DataFrame` containing the hourly weather data

pvlib/iotools/pvgis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def get_pvgis_tmy(latitude, longitude, outputformat='json', usehorizon=True,
442442
443443
.. versionchanged:: 0.13.0
444444
The function now returns two items ``(data,meta)``. Previous
445-
versions of this function returned three elements
445+
versions of this function returned four elements
446446
``(data,months_selected,inputs,meta)``. The ``inputs`` dictionary
447447
and ``months_selected`` are now included in ``meta``, which has
448448
changed structure to accommodate it.
@@ -622,7 +622,7 @@ def read_pvgis_tmy(filename, pvgis_format=None, map_variables=True):
622622
623623
.. versionchanged:: 0.13.0
624624
The function now returns two items ``(data,meta)``. Previous
625-
versions of this function returned three elements
625+
versions of this function returned four elements
626626
``(data,months_selected,inputs,meta)``. The ``inputs`` dictionary
627627
and ``months_selected`` are now included in ``meta``, which has
628628
changed structure to accommodate it.

0 commit comments

Comments
 (0)