Skip to content

Wind scales and cloud codes as in the paper; whole oktas; trace 0.13 mm - #15

Merged
balen merged 1 commit into
mainfrom
whole-number-scales
Nov 18, 2026
Merged

balen merged 1 commit into
mainfrom
whole-number-scales

Conversation

@VickyS08

Copy link
Copy Markdown
Contributor

Converted values follow Slonosky et al. (2026), Scientific Data 13:678, and
are given with no more precision than the originals have:

  • cloud cover in tenths -> whole oktas (tenths x 0.8 rounded, the same as
    the WMO table already used for clearness of sky): 7 tenths = 6 oktas.
  • Beaufort, Smithsonian and wind words come from cdr-utilities, which now
    follows Tables 4 and 5 of the paper (open-data-rescue/cdr-utilities,
    wind-cloud-scales): requires cdrutilities >= 1.0.3.
    Smithsonian 0-10 = 0 1 2 5 10 15 20 25 35 40 45 m/s;
    Beaufort 0-12 = 0 1 2 5 7 10 12 15 20 25 30 35 40 m/s;
    cirrus Ch6, cirro-stratus Ch8, cirro-cumulus Ch9 in either column.
  • trace precipitation defaults to 0.13 mm (0.005 in, Table 8), was 0.2 mm;
    still set per station with trace_mm.
  • README: a section on the precision of converted values, including trace
    and the vapour-pressure rule (no decimal point: divided by 1000; the
    paper's text says 100).
  • tests and known values updated; no rows left to check or to fill.

Fixes the tests on main, which fail since cdrutilities 1.0.3 (whole m/s) was released.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01CC13ToxZ7NuJEZJX9urApc

Converted values follow Slonosky et al. (2026), Scientific Data 13:678, and
are given with no more precision than the originals have:

- cloud cover in tenths -> whole oktas (tenths x 0.8 rounded, the same as
  the WMO table already used for clearness of sky): 7 tenths = 6 oktas.
- Beaufort, Smithsonian and wind words come from cdr-utilities, which now
  follows Tables 4 and 5 of the paper (open-data-rescue/cdr-utilities,
  wind-cloud-scales): requires cdrutilities >= 1.0.3.
  Smithsonian 0-10 = 0 1 2 5 10 15 20 25 35 40 45 m/s;
  Beaufort 0-12 = 0 1 2 5 7 10 12 15 20 25 30 35 40 m/s;
  cirrus Ch6, cirro-stratus Ch8, cirro-cumulus Ch9 in either column.
- trace precipitation defaults to 0.13 mm (0.005 in, Table 8), was 0.2 mm;
  still set per station with trace_mm.
- README: a section on the precision of converted values, including trace
  and the vapour-pressure rule (no decimal point: divided by 1000; the
  paper's text says 100).
- tests and known values updated; no rows left to check or to fill.

Fixes the tests on main, which fail since cdrutilities 1.0.3 (whole m/s) was released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CC13ToxZ7NuJEZJX9urApc
@balen
balen merged commit 3c2da4b into main Nov 18, 2026
1 check passed
@balen
balen deleted the whole-number-scales branch November 18, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants