spectral_sky_native
Generates native Radiance spectral sky matrices from EPW weather data, using gensdaymtx with all/sun/sky modes. Falls back to command plan when Radiance 6.x is missing and enforces timeout limits.
Instructions
Native Radiance 6.x spectral sky from an EPW via gensdaymtx (20-band W/sr/m² matrix).
mode: all | sun (-d) | sky (-s). Degrades to emitting the gensdaymtx + rcomb command plan when
Radiance 6.x isn't installed. The melanopic collapse is rcomb -c M.
timeout caps the gensdaymtx subprocess in seconds (default None = no cap). gensdaymtx ALWAYS
processes every EPW hour. A full 8760-hour year at mf=1 is fast (~12 s on Radiance 6.1a), but cost
grows steeply with the Reinhart subdivision mf (minutes at mf>=4); on expiry the tool returns
{ok: False, timed_out: True} rather than raising. Trim the EPW, or raise mf only as needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mf | No | ||
| epw | Yes | ||
| run | No | ||
| mode | No | all | |
| timeout | No | ||
| work_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||