From 6e41d0b6921e5fd5a592669f000fe5e47a6e2a34 Mon Sep 17 00:00:00 2001 From: Emi Griffith Date: Sun, 19 Jul 2026 21:25:13 -0700 Subject: [PATCH] Merge the Trace rain tier into Very Light (#212) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rain-intensity scale had a Trace tier (below the 1st percentile of a place's rain days) sitting under Very Light — a sliver category that mostly showed 1% and crowded the distribution strip. Fold it into Very Light, which now bottoms out the scale at 0, so the lightest measurable rain reads as Very Light. - grading.py: RAIN_BANDS drops the Trace band; Very Light's floor goes 1 -> 0. The detail-view ladder derives from the table, so it follows automatically. - shared.js: SCALE_RAIN drops the Trace row; Very Light's range becomes "<10". Eight rain tiers now instead of nine; the strip shows one fewer column. The wet-1 colour token is kept (unreferenced by new gradings) so any day still cached with the old class renders until the derived store recomputes. Claude-Session: https://claude.ai/code/session_013dRZmX9D3JEntfMKWMTWZ8 --- static/shared.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/shared.js b/static/shared.js index 6d7f16d..c9702e9 100644 --- a/static/shared.js +++ b/static/shared.js @@ -45,8 +45,7 @@ export const SCALE_TEMP = [ ]; // Rain-intensity tiers by rain-day percentile (dry days show their dry streak). export const SCALE_RAIN = [ - { c: "wet-1", label: "Trace", range: "<1" }, - { c: "wet-2", label: "Very Light", range: "1–10" }, + { c: "wet-2", label: "Very Light", range: "<10" }, { c: "wet-3", label: "Light", range: "10–25" }, { c: "wet-4", label: "Light–Mod", range: "25–40" }, { c: "wet-5", label: "Moderate", range: "40–60" },