Skip to content

Commit 9cf6cc2

Browse files
authored
Update broken links in get_solaranywhere (#2733)
* Update broken links in get_solaranywhere * Fix missing bracket
1 parent cf49dea commit 9cf6cc2

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

pvlib/iotools/solaranywhere.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ def get_solaranywhere(latitude, longitude, api_key, start=None, end=None,
5252
url=URL, map_variables=True, timeout=300):
5353
"""Retrieve historical irradiance time series data from SolarAnywhere.
5454
55-
The SolarAnywhere API is described in [1]_ and [2]_. A detailed list of
56-
API options can be found in [3]_.
55+
The SolarAnywhere API is described in [1]_ and [2]_.
5756
5857
Parameters
5958
----------
@@ -74,7 +73,7 @@ def get_solaranywhere(latitude, longitude, api_key, start=None, end=None,
7473
'SolarAnywhereTGYLatest' (TMY for GHI), 'SolarAnywhereTDYLatest' (TMY
7574
for DNI), or 'SolarAnywherePOELatest' for probability of exceedance.
7675
Specific dataset versions can also be specified, e.g.,
77-
'SolarAnywhere3_2' (see [3]_ for a full list of options).
76+
'SolarAnywhere3_2' (see [2]_ for a full list of options).
7877
time_resolution: {60, 30, 15, 5}, default: 60
7978
Time resolution in minutes. For TMY data, time resolution has to be 60
8079
minutes (hourly).
@@ -87,7 +86,7 @@ def get_solaranywhere(latitude, longitude, api_key, start=None, end=None,
8786
Probability of exceedance in the range of 1 to 99. Only relevant when
8887
requesting probability of exceedance (POE) time series. [%]
8988
variables: list-like, default: :const:`DEFAULT_VARIABLES`
90-
Variables to retrieve (described in [4]_), must include
89+
Variables to retrieve (described in [3]_), must include
9190
'ObservationTime'. Available variables depend on whether historical or
9291
TMY data is requested.
9392
missing_data: {'Omit', 'FillAverage'}, default: 'FillAverage'
@@ -129,10 +128,8 @@ def get_solaranywhere(latitude, longitude, api_key, start=None, end=None,
129128
.. [1] `SolarAnywhere API
130129
<https://www.solaranywhere.com/support/using-solaranywhere/api/>`_
131130
.. [2] `SolarAnywhere irradiance and weather API requests
132-
<https://developers.cleanpower.com/irradiance-and-weather-data/irradiance-and-weather-requests/>`_
133-
.. [3] `SolarAnywhere API options
134-
<https://developers.cleanpower.com/irradiance-and-weather-data/complete-schema/createweatherdatarequest/options/>`_
135-
.. [4] `SolarAnywhere variable definitions
131+
<https://apidocs.solaranywhere.com/>`_
132+
.. [3] `SolarAnywhere variable definitions
136133
<https://www.solaranywhere.com/support/data-fields/definitions/>`_
137134
""" # noqa: E501
138135
headers = {'content-type': "application/json; charset=utf-8",

0 commit comments

Comments
 (0)