generate_weather_file
Generate and deliver an EPW or DDY file. A paid tool — charges credits per call: 1 for a single file, 1 per scenario for a scenarios batch (max 10), 10 for a per-model CMIP6 ensemble. Requires auth (Bearer API key or OAuth). Credits come from a Forge pass ($9.99/wk = 2 non-expiring credits, or $99/yr) or a top-up pack; see the epwforge://catalog/pricing resource. No account? Buy a fixed-price guest bundle — see preview_forge_bundle. For free analysis without credits, use analyze_weather or chart_weather on a real published EPW URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, decimal degrees | |
| lon | Yes | Longitude, decimal degrees | |
| ssp | No | CMIP6 emission scenario. ssp370 is the recommended high-end for design; ssp585 (SSP5-8.5) is an opt-in extreme stress-test pathway (~4.4°C, low likelihood per IPCC AR6 / CMIP7) for worst-case analysis. | |
| uhi | No | Urban Heat Island preset | |
| year | No | Future horizon | |
| basis | No | Weather file basis (default: tmy) | |
| smoke | No | Enable wildfire smoke overlay | |
| events | No | Comma-separated events. Valid: heatwave, coldsnap, hothumid, coldwindy. Pairs auto-compound (heat+humid, cold+wind). | |
| format | No | Output format (default: epw) | |
| amy_year | No | Year for AMY basis | |
| ensemble | No | Generate a per-model CMIP6 ensemble (~20 EPWs, one per climate model). Costs 10 credits. Requires ssp + year. | |
| intensity | No | Per-event "type:1-7" intensity (1-10 with stress_test=true). 5 = typical extreme, 7 = severe ~50-yr return. | |
| scenarios | No | Batch mode — array of configs, each generated in parallel. Same shape as the top-level config. When set, top-level config params are ignored. Costs 1 credit per scenario (up to 10). | |
| percentile | No | Warming percentile (default: 50) | |
| tmy_period | No | TMYx vintage. Default 2011-2025. | |
| include_ddy | No | When format=epw, also include the matching DDY in the response (single-file only). | |
| stress_test | No | Unlock intensity 8-10. Default false. | |
| event_duration | No | Event length in days (3-30, default 14). **For stress-test scenarios use 14-21 days** — shorter durations don't capture sustained operational impact (charging schedules, occupancy patterns, equipment cycling). 7 days is too short for any design or resilience analysis. Use 7-10 only for transient short-duration events. | |
| intensity_auto | No | Auto-fill unspecified intensities from IPCC AR6 (default: true) | |
| smoke_duration | No | Smoke days (3-30, default: 7) | |
| smoke_intensity | No | Smoke severity 1-10 → peak AOD 0.1-6.0 |