Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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