Skip to content

Commit d458afa

Browse files
committed
revised docstring of get_solarposition
1 parent cf830b5 commit d458afa

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pvlib/solarposition.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,20 @@ def get_solarposition(time, location, method='pyephem', pressure=101325,
2424
temperature=12):
2525
"""
2626
A convenience wrapper for the solar position calculators.
27-
27+
2828
Parameters
2929
----------
3030
time : pandas.DatetimeIndex
3131
location : pvlib.Location object
3232
method : string
33-
'pyephem' uses the PyEphem package. Default.
34-
'spa' uses the pvlib ephemeris code.
35-
pressure : float
33+
'pyephem' uses the PyEphem package (default): :func:`pyephem`
34+
35+
'spa' uses the spa code: :func:`spa`
36+
37+
'ephemeris' uses the pvlib ephemeris code: :func:`ephemeris`
38+
pressure : float [default: 101325]
3639
Pascals.
37-
temperature : float
40+
temperature : float [default: 12]
3841
Degrees C.
3942
"""
4043

0 commit comments

Comments
 (0)