Skip to content

Commit

Permalink
Change location.get_sun_rise_set_transit default method
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamRJensen committed Oct 15, 2024
1 parent b6ac5a1 commit 1ac094a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pvlib/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,15 +328,15 @@ def get_airmass(self, times=None, solar_position=None,

return airmass

def get_sun_rise_set_transit(self, times, method='pyephem', **kwargs):
def get_sun_rise_set_transit(self, times, method='spa', **kwargs):
"""
Calculate sunrise, sunset and transit times.
Calculate sunrise, sunset, and transit times.
Parameters
----------
times : DatetimeIndex
Must be localized to the Location
method : str, default 'pyephem'
method : str, default 'spa'
'pyephem', 'spa', or 'geometric'
kwargs :
Expand Down

0 comments on commit 1ac094a

Please sign in to comment.