Skip to content

Commit

Permalink
Update pvlib/solarposition.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
  • Loading branch information
kurt-rhee and kandersolar authored Oct 31, 2024
1 parent 0ec0cbf commit e33872b
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions pvlib/solarposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,10 @@
from pvlib.tools import datetime_to_djd, djd_to_datetime


def get_solarposition(
time,
latitude,
longitude,
altitude,
pressure = None,
method = 'nrel_numpy',
temperature = 12.,
**kwargs
):
def get_solarposition(time, latitude, longitude,
altitude=None, pressure=None,
method='nrel_numpy',
temperature=12.0, **kwargs):
"""
A convenience wrapper for the solar position calculators.
Expand Down

0 comments on commit e33872b

Please sign in to comment.