From 79466df1862533e4aca8e5177593390a7741b6a8 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Sun, 15 Nov 2026 15:59:26 +0100 Subject: [PATCH 1/2] Add missing space in get_solcast_live code example --- pvlib/iotools/solcast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvlib/iotools/solcast.py b/pvlib/iotools/solcast.py index 96ed677097..68be7d494c 100644 --- a/pvlib/iotools/solcast.py +++ b/pvlib/iotools/solcast.py @@ -349,7 +349,7 @@ def get_solcast_live( >>> df, meta = pvlib.iotools.solcast.get_solcast_live( >>> latitude=-33.856784, >>> longitude=151.215297, - >>> api_key="your-key" + >>> api_key="your-key" >>> ) you can pass any of the parameters listed in the API docs, like From f8e5909cf8ae8c8143f8f117978168b4ca7c6cf6 Mon Sep 17 00:00:00 2001 From: "Adam R. Jensen" <39184289+AdamRJensen@users.noreply.github.com> Date: Sun, 15 Nov 2026 16:07:05 +0100 Subject: [PATCH 2/2] Fix more doc typos --- pvlib/iotools/solcast.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pvlib/iotools/solcast.py b/pvlib/iotools/solcast.py index 68be7d494c..b43e84e924 100644 --- a/pvlib/iotools/solcast.py +++ b/pvlib/iotools/solcast.py @@ -159,7 +159,7 @@ def get_solcast_historic( Last day of the requested period. Must include one of ``end`` or ``duration``. duration : optional, ISO 8601 compliant duration - Must include either ``end`` or ``duration``. + Must include either ``end`` or ``duration``. ISO 8601 compliant duration for the historic data, like "P1D" for one day of data. Must be within 31 days of ``start``. @@ -363,7 +363,7 @@ def get_solcast_live( >>> ) use ``map_variables=False`` to avoid converting the data - to PVLib's conventions. + to pvlib's conventions. >>> df, meta = pvlib.iotools.solcast.get_solcast_live( >>> latitude=-33.856784, @@ -440,7 +440,7 @@ def _get_solcast( Parameters ---------- endpoint : str - one of Solcast API endpoint: + one of Solcast API endpoints: - live/radiation_and_weather - forecast/radiation_and_weather - historic/radiation_and_weather @@ -462,7 +462,7 @@ def _get_solcast( References ---------- - .. [1] `register ` + .. [1] `register `_ """ response = requests.get(