Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse committed Feb 2, 2024
1 parent a084173 commit 808ea39
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
10 changes: 5 additions & 5 deletions pvlib/clearsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ def ineichen(apparent_zenith, airmass_absolute, linke_turbidity,
Implements the Ineichen and Perez clear sky model for global
horizontal irradiance (GHI), direct normal irradiance (DNI), and
calculates the clear-sky diffuse horizontal (DHI) component as the
difference between GHI and DNI*cos(zenith) as presented in [1, 2]. A
difference between GHI and DNI*cos(zenith) as presented in [1]_ [2]_. A
report on clear sky models found the Ineichen/Perez model to have
excellent performance with a minimal input data set [3].
excellent performance with a minimal input data set [3]_.
Default values for monthly Linke turbidity provided by SoDa [4, 5].
Default values for monthly Linke turbidity provided by SoDa [4]_, [5]_.
Parameters
-----------
Expand Down Expand Up @@ -80,8 +80,8 @@ def ineichen(apparent_zenith, airmass_absolute, linke_turbidity,
Clear Sky Models: Implementation and Analysis", Sandia National
Laboratories, SAND2012-2389, 2012.
.. [4] http://www.soda-is.com/eng/services/climat_free_eng.php#c5 (obtained
July 17, 2012).
.. [4] https://www.soda-pro.com/help/general-knowledge/linke-turbidity-factor
(accessed February 2, 2024).
.. [5] J. Remund, et. al., "Worldwide Linke Turbidity Information", Proc.
ISES Solar World Congress, June 2003. Goteborg, Sweden.
Expand Down
2 changes: 1 addition & 1 deletion pvlib/irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def get_ground_diffuse(surface_tilt, ghi, albedo=.25, surface_type=None):
and
http://en.wikipedia.org/wiki/Albedo
and
https://doi.org/10.1175/1520-0469(1972)029<0959:AOTSS>2.0.CO;2
:doi:`10.1175/1520-0469(1972)029<0959:AOTSS>2.0.CO;2`
'''

if surface_type is not None:
Expand Down
15 changes: 7 additions & 8 deletions pvlib/solarposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_solarposition(time, latitude, longitude,
def spa_c(time, latitude, longitude, pressure=101325, altitude=0,
temperature=12, delta_t=67.0,
raw_spa_output=False):
"""
r"""
Calculate the solar position using the C implementation of the NREL
SPA code.
Expand Down Expand Up @@ -161,7 +161,7 @@ def spa_c(time, latitude, longitude, pressure=101325, altitude=0,
Temperature in C
delta_t : float, default 67.0
Difference between terrestrial time and UT1.
USNO has previous values and predictions.
USNO has previous values and predictions [3]_.
raw_spa_output : bool, default False
If true, returns the raw SPA output.
Expand All @@ -177,17 +177,16 @@ def spa_c(time, latitude, longitude, pressure=101325, altitude=0,
References
----------
.. [1] NREL SPA reference:
http://rredc.nrel.gov/solar/codesandalgorithms/spa/
NREL SPA C files: https://midcdmz.nrel.gov/spa/
.. [1] NREL SPA reference: https://midcdmz.nrel.gov/spa/
Note: The ``timezone`` field in the SPA C files is replaced with
``time_zone`` to avoid a nameclash with the function ``__timezone`` that is
redefined by Python>=3.5. This issue is
`Python bug 24643 <https://bugs.python.org/issue24643>`_.
.. [2] Delta T:
https://en.wikipedia.org/wiki/%CE%94T_(timekeeping)
.. [2] Delta T: https://en.wikipedia.org/wiki/%CE%94T_(timekeeping)
.. [3] USNO delta T: https://maia.usno.navy.mil/products/deltaT
See also
--------
Expand Down Expand Up @@ -344,7 +343,7 @@ def spa_python(time, latitude, longitude,
2007.
.. [3] USNO delta T:
http://www.usno.navy.mil/USNO/earth-orientation/eo-products/long-term
https://maia.usno.navy.mil/products/deltaT
See also
--------
Expand Down

0 comments on commit 808ea39

Please sign in to comment.