diff --git a/docs/sphinx/source/user_guide/getting_started/installation.rst b/docs/sphinx/source/user_guide/getting_started/installation.rst
index be68ca94a6..2e2ded8ab1 100644
--- a/docs/sphinx/source/user_guide/getting_started/installation.rst
+++ b/docs/sphinx/source/user_guide/getting_started/installation.rst
@@ -138,7 +138,7 @@ Follow these steps to obtain the library using git/GitHub:
Please see GitHub's
`Forking Projects `_,
`Fork A Repo `_,
-and the `git-scm `_ for
+and the `git-scm `_ for
more details.
.. _setupenvironment:
diff --git a/docs/sphinx/source/whatsnew/v0.15.3.rst b/docs/sphinx/source/whatsnew/v0.15.3.rst
index b79b9aed66..e1b9bffa9a 100644
--- a/docs/sphinx/source/whatsnew/v0.15.3.rst
+++ b/docs/sphinx/source/whatsnew/v0.15.3.rst
@@ -26,6 +26,9 @@ Documentation
* Fix broken link in GitHub Contributing tab. (:issue:`2628`, :pull:`2806`)
* Fixed broken ``interval`` keyword argument in the ``oedi_9068`` gallery
example; the correct parameter name is ``time_step``. (:issue:`2791`)
+* Fixed several broken/outdated links: NREL clear-sky and spectral data
+ pages, EnergyPlus documentation, git-scm.com, and a malformed Wikipedia
+ URL. (:issue:`2489`)
Testing
diff --git a/pvlib/iotools/epw.py b/pvlib/iotools/epw.py
index dd46c50999..4355e7619f 100644
--- a/pvlib/iotools/epw.py
+++ b/pvlib/iotools/epw.py
@@ -214,7 +214,7 @@ def read_epw(filename, coerce_year=None):
----------
.. [1] `EnergyPlus documentation, Auxiliary Programs
- `_
+ `_
'''
if str(filename).startswith('http'):
@@ -259,7 +259,7 @@ def _parse_epw(csvdata, coerce_year=None):
A pandas dataframe with the columns described in the table
below. For more detailed descriptions of each component, please
consult the EnergyPlus Auxiliary Programs documentation
- available at: https://energyplus.net/documentation.
+ available at: https://energyplus.readthedocs.io/en/latest/.
metadata : dict
The site metadata available in the file.
diff --git a/pvlib/solarposition.py b/pvlib/solarposition.py
index 6faedbb9c7..a09a0defee 100644
--- a/pvlib/solarposition.py
+++ b/pvlib/solarposition.py
@@ -180,7 +180,7 @@ def spa_c(time, latitude, longitude, pressure=101325., altitude=0.,
redefined by Python>=3.5. This issue is
`Python bug 24643 `_.
- .. [2] Delta T: https://en.wikipedia.org/wiki/%CE%94T_(timekeeping)
+ .. [2] Delta T: https://en.wikipedia.org/wiki/%CE%94T_(timekeeping%29
.. [3] USNO delta T: https://maia.usno.navy.mil/products/deltaT
diff --git a/pvlib/spectrum/irradiance.py b/pvlib/spectrum/irradiance.py
index 4c8e70b693..f7e8f2fd70 100644
--- a/pvlib/spectrum/irradiance.py
+++ b/pvlib/spectrum/irradiance.py
@@ -47,8 +47,8 @@ def get_reference_spectra(wavelengths=None, standard="ASTM G173-03"):
For global spectra, it is about 1000.37 W/m².
The values of the ASTM G173-03 provided with pvlib-python are copied from
- an Excel file distributed by NLR, which is found here [2]_:
- https://www.nlr.gov/grid/solar-resource/assets/data/astmg173.xls
+ an Excel file distributed by NREL, which is found here [2]_:
+ https://www.nrel.gov/grid/solar-resource/spectra-am1.5
Examples
--------
@@ -79,7 +79,7 @@ def get_reference_spectra(wavelengths=None, standard="ASTM G173-03"):
.. [1] ASTM "G173-03 Standard Tables for Reference Solar Spectral
Irradiances: Direct Normal and Hemispherical on 37° Tilted Surface."
.. [2] “Reference Air Mass 1.5 Spectra.” NLR.
- https://www.nlr.gov/grid/solar-resource/spectra-am1.5.html
+ https://www.nrel.gov/grid/solar-resource/spectra-am1.5
""" # Contributed by Echedey Luis, inspired by Anton Driesse (get_am15g)
SPECTRA_FILES = {
"ASTM G173-03": "ASTMG173.csv",