Skip to content

Commit 2d9dc51

Browse files
AdamRJensenRDaxini
andauthored
Update spa_python doc string (#2523)
* Update spa_python doc string * Update pvlib/solarposition.py Co-authored-by: RDaxini <[email protected]> --------- Co-authored-by: RDaxini <[email protected]>
1 parent b1fd3f7 commit 2d9dc51

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

pvlib/solarposition.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def spa_python(time, latitude, longitude,
285285
Calculate the solar position using a python implementation of the
286286
NREL SPA algorithm.
287287
288-
The details of the NREL SPA algorithm are described in [1]_.
288+
The details of the NREL SPA algorithm are described in [1]_, [2]_.
289289
290290
If numba is installed, the functions can be compiled to
291291
machine code and the function can be multithreaded.
@@ -328,25 +328,26 @@ def spa_python(time, latitude, longitude,
328328
-------
329329
DataFrame
330330
The DataFrame will have the following columns:
331-
apparent_zenith (degrees),
332-
zenith (degrees),
333-
apparent_elevation (degrees),
334-
elevation (degrees),
335-
azimuth (degrees),
336-
equation_of_time (minutes).
337331
332+
- apparent_zenith (degrees),
333+
- zenith (degrees),
334+
- apparent_elevation (degrees),
335+
- elevation (degrees),
336+
- azimuth (degrees),
337+
- equation_of_time (minutes).
338338
339339
References
340340
----------
341341
.. [1] I. Reda and A. Andreas, Solar position algorithm for solar
342342
radiation applications. Solar Energy, vol. 76, no. 5, pp. 577-589, 2004.
343+
:doi:`10.1016/j.solener.2003.12.003`.
343344
344345
.. [2] I. Reda and A. Andreas, Corrigendum to Solar position algorithm for
345346
solar radiation applications. Solar Energy, vol. 81, no. 6, p. 838,
346-
2007.
347+
2007. :doi:`10.1016/j.solener.2007.01.003`.
347348
348-
.. [3] USNO delta T:
349-
https://maia.usno.navy.mil/products/deltaT
349+
.. [3] `U.S. Naval Observatory, delta T
350+
<https://maia.usno.navy.mil/products/deltaT>`_
350351
351352
See also
352353
--------

0 commit comments

Comments
 (0)