Rename the middle rain tiers and merge Mod–Heavy into Heavy (#214)

The rain-intensity scale drops its two hyphenated compound labels for single
words and loses a tier, going from eight to seven:

  Trace / Light / Brisk / Typical / Heavy / Very Heavy / Extreme

- Light–Mod -> Brisk, Moderate -> Typical (renames only; classes unchanged).
- Mod–Heavy is merged up into Heavy, whose floor drops from the 75th to the 60th
  rain-day percentile, so Heavy now spans 60–90.
- The lightest tier (already the merged Very Light) is renamed Trace.

grading.py RAIN_BANDS and the frontend SCALE_RAIN mirror stay in lockstep, and
the detail-view ladder derives from the table so it follows automatically. The
now-unreferenced wet-6 colour token is kept so any day still cached under that
class renders until the derived store recomputes; the chart's percentile fan also
keeps it for a smooth gradient.

Claude-Session: https://claude.ai/code/session_013dRZmX9D3JEntfMKWMTWZ8
This commit is contained in:
Emi Griffith 2026-07-19 21:38:30 -07:00 committed by GitHub
parent bbabf9e8f9
commit 1d32ec6b40
2 changed files with 6 additions and 7 deletions

View file

@ -45,12 +45,11 @@ export const SCALE_TEMP = [
];
// Rain-intensity tiers by rain-day percentile (dry days show their dry streak).
export const SCALE_RAIN = [
{ c: "wet-2", label: "Very Light", range: "<10" },
{ c: "wet-2", label: "Trace", range: "<10" },
{ c: "wet-3", label: "Light", range: "1025" },
{ c: "wet-4", label: "LightMod", range: "2540" },
{ c: "wet-5", label: "Moderate", range: "4060" },
{ c: "wet-6", label: "ModHeavy", range: "6075" },
{ c: "wet-7", label: "Heavy", range: "7590" },
{ c: "wet-4", label: "Brisk", range: "2540" },
{ c: "wet-5", label: "Typical", range: "4060" },
{ c: "wet-7", label: "Heavy", range: "6090" },
{ c: "wet-8", label: "Very Heavy", range: "9099" },
{ c: "wet-9", label: "Extreme", range: ">99" },
];

View file

@ -1100,8 +1100,8 @@ main { max-width: 1200px; margin: 0 auto; padding: 20px 24px 60px; }
.ct-label {
min-height: 2.2em; font-size: 10px; line-height: 1.1; font-weight: 600;
color: var(--muted); overflow: hidden;
/* The strip's columns sit 1px apart, so long neighbouring names ("LightMod"
next to "Moderate") ran into each other and read as one word. */
/* The strip's columns sit 1px apart, so long neighbouring names (e.g. "Very
Heavy" next to "Extreme") ran into each other and read as one word. */
padding: 0 2px;
}