Merge the Trace rain tier into Very Light (#212)
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
This commit is contained in:
parent
9a2764ae33
commit
6e41d0b692
1 changed files with 1 additions and 2 deletions
|
|
@ -45,8 +45,7 @@ export const SCALE_TEMP = [
|
||||||
];
|
];
|
||||||
// Rain-intensity tiers by rain-day percentile (dry days show their dry streak).
|
// Rain-intensity tiers by rain-day percentile (dry days show their dry streak).
|
||||||
export const SCALE_RAIN = [
|
export const SCALE_RAIN = [
|
||||||
{ c: "wet-1", label: "Trace", range: "<1" },
|
{ c: "wet-2", label: "Very Light", range: "<10" },
|
||||||
{ c: "wet-2", label: "Very Light", range: "1–10" },
|
|
||||||
{ c: "wet-3", label: "Light", range: "10–25" },
|
{ c: "wet-3", label: "Light", range: "10–25" },
|
||||||
{ c: "wet-4", label: "Light–Mod", range: "25–40" },
|
{ c: "wet-4", label: "Light–Mod", range: "25–40" },
|
||||||
{ c: "wet-5", label: "Moderate", range: "40–60" },
|
{ c: "wet-5", label: "Moderate", range: "40–60" },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue