energy_analysis.chile_fleet.prepare#
Join normalized site-level retrieval products without inventing observations.
- energy_analysis.chile_fleet.prepare.prepare_inputs(generation, weather, sites, output)[source]#
Create one complete joined Parquet file per registry site.
UTC keys must already describe interval starts with one-hour MWh and weather in W/m2, degrees Celsius and m/s. Units are a contract; they are not guessed. The join is outer: a missing generation observation remains NaN when its weather exists, allowing reference-energy coverage to expose the gap.
- Parameters:
generation (Path)
weather (Path)
sites (Path)
output (Path)
- Return type:
dict[str, object]