Skip to content

Commit d4818b1

Browse files
committed
fix references
1 parent 2365c2d commit d4818b1

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

pvlib/solarposition.py

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ def get_solarposition(time, location, method='nrel_numpy', pressure=101325,
5858
5959
References
6060
----------
61-
[1] I. Reda and A. Andreas, Solar position algorithm for solar radiation applications. Solar Energy, vol. 76, no. 5, pp. 577-589, 2004.
62-
[2] I. Reda and A. Andreas, Corrigendum to Solar position algorithm for solar radiation applications. Solar Energy, vol. 81, no. 6, p. 838, 2007.
61+
[1] I. Reda and A. Andreas, Solar position algorithm for solar radiation
62+
applications. Solar Energy, vol. 76, no. 5, pp. 577-589, 2004.
63+
64+
[2] I. Reda and A. Andreas, Corrigendum to Solar position algorithm for
65+
solar radiation applications. Solar Energy, vol. 81, no. 6, p. 838, 2007.
66+
6367
[3] NREL SPA code: http://rredc.nrel.gov/solar/codesandalgorithms/spa/
6468
"""
6569

@@ -123,6 +127,7 @@ def spa_c(time, location, pressure=101325, temperature=12, delta_t=67.0,
123127
References
124128
----------
125129
NREL SPA code: http://rredc.nrel.gov/solar/codesandalgorithms/spa/
130+
126131
USNO delta T: http://www.usno.navy.mil/USNO/earth-orientation/eo-products/long-term
127132
128133
See also
@@ -153,7 +158,7 @@ def spa_c(time, location, pressure=101325, temperature=12, delta_t=67.0,
153158
hour=date.hour,
154159
minute=date.minute,
155160
second=date.second,
156-
timezone=0, # timezone corrections handled above
161+
timezone=0, # tz corrections handled above
157162
latitude=location.latitude,
158163
longitude=location.longitude,
159164
elevation=location.altitude,
@@ -252,8 +257,12 @@ def spa_python(time, location, pressure=101325, temperature=12, delta_t=None,
252257
253258
References
254259
----------
255-
[1] I. Reda and A. Andreas, Solar position algorithm for solar radiation applications. Solar Energy, vol. 76, no. 5, pp. 577-589, 2004.
256-
[2] I. Reda and A. Andreas, Corrigendum to Solar position algorithm for solar radiation applications. Solar Energy, vol. 81, no. 6, p. 838, 2007.
260+
[1] I. Reda and A. Andreas, Solar position algorithm for solar
261+
radiation applications. Solar Energy, vol. 76, no. 5, pp. 577-589, 2004.
262+
263+
[2] I. Reda and A. Andreas, Corrigendum to Solar position algorithm for
264+
solar radiation applications. Solar Energy, vol. 81, no. 6, p. 838, 2007.
265+
257266
[3] USNO delta T: http://www.usno.navy.mil/USNO/earth-orientation/eo-products/long-term
258267
259268
See also
@@ -334,7 +343,9 @@ def get_sun_rise_set_transit(time, location, how='numpy', delta_t=None,
334343
335344
References
336345
----------
337-
[1] Reda, I., Andreas, A., 2003. Solar position algorithm for solar radiation applications. Technical report: NREL/TP-560- 34302. Golden, USA, http://www.nrel.gov.
346+
[1] Reda, I., Andreas, A., 2003. Solar position algorithm for solar
347+
radiation applications. Technical report: NREL/TP-560- 34302. Golden,
348+
USA, http://www.nrel.gov.
338349
"""
339350
# Added by Tony Lorenzo (@alorenzo175), University of Arizona, 2015
340351

pvlib/spa.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,8 +1113,11 @@ def solar_position(unixtime, lat, lon, elev, pressure, temp, delta_t,
11131113
11141114
References
11151115
----------
1116-
[1] I. Reda and A. Andreas, Solar position algorithm for solar radiation applications. Solar Energy, vol. 76, no. 5, pp. 577-589, 2004.
1117-
[2] I. Reda and A. Andreas, Corrigendum to Solar position algorithm for solar radiation applications. Solar Energy, vol. 81, no. 6, p. 838, 2007.
1116+
[1] I. Reda and A. Andreas, Solar position algorithm for solar radiation
1117+
applications. Solar Energy, vol. 76, no. 5, pp. 577-589, 2004.
1118+
1119+
[2] I. Reda and A. Andreas, Corrigendum to Solar position algorithm for
1120+
solar radiation applications. Solar Energy, vol. 81, no. 6, p. 838, 2007.
11181121
"""
11191122
if USE_NUMBA:
11201123
do_calc = solar_position_numba

0 commit comments

Comments
 (0)