import_weather
Import weather data from a .wea file and decompose analysis periods into hourly values. Returns a summary with record count, timestamps, and DNI/DHI ranges, avoiding large arrays.
Instructions
Ingest a .wea (DNI/DHI per timestamp) and/or decompose an analysis period into HOY + wea line numbers.
Returns wea_summary (record count, first/last timestamp, DNI/DHI ranges) rather than the full
per-hour arrays — those reach up to 8760 rows and overflow the response budget. Use period +
subset_out to get the rows you actually need (HOY/wea_lines in decomposed, the subset .wea on disk).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | ||
| wea_path | No | ||
| subset_out | No | ||
| timestep_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||