pvsyst_prepare_weather
Prepare PVsyst native SIT/MET files and a provenance manifest from a full hourly CSV, validating required country code and local-standard time basis; use dry_run to preview without writing.
Instructions
[Sites & Weather] Prepare NEW native SIT/MET and a provenance manifest from one full hourly CSV. GHI, DHI, Tamb only; explicit uppercase ISO country code and time_basis local_standard_interval_start are required (fixed winter timezone, no DST). Coordinates, altitude, timezone, site and source come from verified CSV metadata. dry_run=true writes nothing. Execution preserves raw bytes, normalizes only columns/units, creates monthly CSV/MEF, runs create-site and convert-meteo. Conversion warnings are retained as needs_review; prepared is not native MET certification. Pass artifacts.manifest filename as weather_manifest_name to simulate_template for explicit SIT/MET loading and hourly weather comparison. No UTC/DST shifts, missing-data filling, ignored columns or binary parsing. Existing outputs are never overwritten; failure artifacts/manifest are retained.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| dry_run | No | ||
| csv_name | No | ||
| met_name | No | ||
| sit_name | No | ||
| time_basis | No | ||
| country_code | No |