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 Location
- method (str, default 'pyephem') – ‘pyephem’, ‘spa’, or ‘geometric’
- are passed to the relevant functions. See (kwargs) –
- for details. (solarposition.sun_rise_set_transit_<method>) –
Returns: result (DataFrame) – Column names are:
sunrise, sunset, transit
.