pvpumpingsystem.sizing.shrink_weather_worst_month

pvpumpingsystem.sizing.shrink_weather_worst_month(weather_data)

Create a new weather_data object with only the worst month of the weather_data given, according to the global horizontal irradiance (ghi) data.

Parameters:weather_data (pandas.DataFrame) – The hourly data on irradiance, temperature, and others meteorological parameters. Typically comes from pvlib.epw.read_epw() or pvlib.tmy.read.tmy().
Returns:Weather data with (nb_elt) lines
Return type:pandas.DataFrame