breos.weather.read_epw_file#

breos.weather.read_epw_file(filepath, freq='h', latitude=None, longitude=None)[source]#

Read an EPW (EnergyPlus Weather) file and return standardized weather DataFrame.

EPW files can be downloaded from https://climate.onebuilding.org/

Parameters:
  • filepath (str) – Path to the .epw file

  • freq (str) – Output frequency (‘h’ for hourly, ‘15min’ for 15-minute)

  • latitude (Optional[float]) – Override latitude for clear-sky scaling (auto-detected from EPW if None)

  • longitude (Optional[float]) – Override longitude for clear-sky scaling (auto-detected from EPW if None)

Return type:

DataFrame

Returns:

DataFrame with standardized column names (ghi, dni, dhi, temp_air, wind_speed)