pvlib.clearsky.lookup_linke_turbidity#

pvlib.clearsky.lookup_linke_turbidity(time, latitude, longitude, filepath=None, interp_turbidity=True)[source]#

Look up the Linke Turibidity from the LinkeTurbidities.h5 data file supplied with pvlib.

Parameters:
  • time (pandas.DatetimeIndex)

  • latitude (float or int)

  • longitude (float or int)

  • filepath (string, optional) – The path to the .h5 file.

  • interp_turbidity (bool, default True) – If True, interpolates the monthly Linke turbidity values found in LinkeTurbidities.h5 to daily values.

Returns:

turbidity (Series)

Notes

Linke turbidity is obtained from a file of historical monthly averages. The returned value for each time is either the monthly value or an interpolated value to smooth the transition between months. Interpolation is done on the day of year as determined by UTC.