Skip to content

Commit e33872b

Browse files
Update pvlib/solarposition.py
Co-authored-by: Kevin Anderson <[email protected]>
1 parent 0ec0cbf commit e33872b

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

pvlib/solarposition.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@
2727
from pvlib.tools import datetime_to_djd, djd_to_datetime
2828

2929

30-
def get_solarposition(
31-
time,
32-
latitude,
33-
longitude,
34-
altitude,
35-
pressure = None,
36-
method = 'nrel_numpy',
37-
temperature = 12.,
38-
**kwargs
39-
):
30+
def get_solarposition(time, latitude, longitude,
31+
altitude=None, pressure=None,
32+
method='nrel_numpy',
33+
temperature=12.0, **kwargs):
4034
"""
4135
A convenience wrapper for the solar position calculators.
4236

0 commit comments

Comments
 (0)