breos.weather.extract_ambient_temperature#

breos.weather.extract_ambient_temperature(weather_df)[source]#

Extract hourly ambient temperature from a weather DataFrame.

Tries known column names in order of preference: - ‘temp_air’ — PVGIS TMY (pvlib standard name) - ‘temperature_2m’ — Open-Meteo historical - ‘temp’ — generic fallback - ‘air_temperature’— alternative naming

Return type:

Optional[Series]

Returns:

pd.Series of temperatures, or None if no recognised column found.

Parameters:

weather_df (DataFrame)