pvlib.location.Location.get_sun_rise_set_transit#
- Location.get_sun_rise_set_transit(times, method='pyephem', **kwargs)[source]#
Calculate sunrise, sunset and transit times.
- Parameters
times (
DatetimeIndex) – Must be localized to the Locationmethod (
str, default'pyephem') – ‘pyephem’, ‘spa’, or ‘geometric’See (kwargs are passed to the relevant functions.) –
details. (solarposition.sun_rise_set_transit_<method> for) –
- Returns
result (
DataFrame) – Column names are:sunrise, sunset, transit.