pyet.meteo_utils.daylight_hours#
- pyet.meteo_utils.daylight_hours(tindex, lat)[source]#
Daylight hours [hour].
- Parameters:
tindex (pandas.DatetimeIndex) –
lat (array_like) – the site latitude [rad].
- Return type:
pandas.Series or xarray.DataArray containing the calculated daylight hours [hour].
Notes
Based on equation 34 in Allen et al. (1998).