Skip to content

Commit 5e31585

Browse files
committed
DOC: fix broken links (NREL, EnergyPlus, git-scm, Wikipedia ΔT)
1 parent 9a0ad55 commit 5e31585

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/sphinx/source/user_guide/getting_started/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Follow these steps to obtain the library using git/GitHub:
138138
Please see GitHub's
139139
`Forking Projects <https://guides.github.com/activities/forking/>`_,
140140
`Fork A Repo <https://help.github.com/articles/fork-a-repo/>`_,
141-
and the `git-scm <https://git-scm.com/documentation>`_ for
141+
and the `git-scm <https://git-scm.com/doc>`_ for
142142
more details.
143143

144144
.. _setupenvironment:

pvlib/iotools/epw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def read_epw(filename, coerce_year=None):
214214
----------
215215
216216
.. [1] `EnergyPlus documentation, Auxiliary Programs
217-
<https://energyplus.net/documentation>`_
217+
<https://energyplus.readthedocs.io/en/latest/>`_
218218
'''
219219

220220
if str(filename).startswith('http'):
@@ -259,7 +259,7 @@ def _parse_epw(csvdata, coerce_year=None):
259259
A pandas dataframe with the columns described in the table
260260
below. For more detailed descriptions of each component, please
261261
consult the EnergyPlus Auxiliary Programs documentation
262-
available at: https://energyplus.net/documentation.
262+
available at: https://energyplus.readthedocs.io/en/latest/.
263263
264264
metadata : dict
265265
The site metadata available in the file.

pvlib/solarposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def spa_c(time, latitude, longitude, pressure=101325., altitude=0.,
180180
redefined by Python>=3.5. This issue is
181181
`Python bug 24643 <https://bugs.python.org/issue24643>`_.
182182
183-
.. [2] Delta T: https://en.wikipedia.org/wiki/%CE%94T_(timekeeping)
183+
.. [2] Delta T: https://en.wikipedia.org/wiki/%CE%94T_(timekeeping%29
184184
185185
.. [3] USNO delta T: https://maia.usno.navy.mil/products/deltaT
186186

pvlib/spectrum/irradiance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def get_reference_spectra(wavelengths=None, standard="ASTM G173-03"):
4747
For global spectra, it is about 1000.37 W/m².
4848
4949
The values of the ASTM G173-03 provided with pvlib-python are copied from
50-
an Excel file distributed by NLR, which is found here [2]_:
51-
https://www.nlr.gov/grid/solar-resource/assets/data/astmg173.xls
50+
an Excel file distributed by NREL, which is found here [2]_:
51+
https://www.nrel.gov/grid/solar-resource/spectra-am1.5
5252
5353
Examples
5454
--------
@@ -79,7 +79,7 @@ def get_reference_spectra(wavelengths=None, standard="ASTM G173-03"):
7979
.. [1] ASTM "G173-03 Standard Tables for Reference Solar Spectral
8080
Irradiances: Direct Normal and Hemispherical on 37° Tilted Surface."
8181
.. [2] “Reference Air Mass 1.5 Spectra.” NLR.
82-
https://www.nlr.gov/grid/solar-resource/spectra-am1.5.html
82+
https://www.nrel.gov/grid/solar-resource/spectra-am1.5
8383
""" # Contributed by Echedey Luis, inspired by Anton Driesse (get_am15g)
8484
SPECTRA_FILES = {
8585
"ASTM G173-03": "ASTMG173.csv",

0 commit comments

Comments
 (0)