breos.weather.preload_weather_by_year#
- breos.weather.preload_weather_by_year(csv_file_path, target_year=2025)[source]#
Pre-load weather CSV once and split into per-year DataFrames.
Each year’s dates are remapped to target_year so the resulting DataFrames can be used directly in simulation (same datetime grid as
select_random_year_and_replace_datetimewould produce).