# Logbook of code changes

**URL:** <https://community.panodata.org/t/logbook-of-code-changes/16>\
**Category:** The workbench\
**Created:** [October 2, 2019, 11:00pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16 "2019-10-02T23:00:58Z")\
**Posts on this page:** 20\
**Page:** 413

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 4, 2026, 9:02pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8248 "2026-11-04T21:02:01Z")

</div>

> <https://github.com/panodata/kalika/commit/a59e556563527f3764cd83865304d6e1579073dd>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 4, 2026, 9:51pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8249 "2026-11-04T21:51:02Z")

</div>

> <https://github.com/panodata/tikray/commit/81e5e0e066825eea2e89def6d98db20da2a4fb0b>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 4, 2026, 9:52pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8250 "2026-11-04T21:52:17Z")

</div>

> <https://github.com/panodata/tikray/commit/6f12b697b681a530d950356eccc05756117d11cb>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 4, 2026, 9:54pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8251 "2026-11-04T21:54:00Z")

</div>

> <https://github.com/panodata/tikray/commit/09072c99fafaae41ec97e5139325d7f0fa109f27>
>
> Bumps \[ty\](https://github.com/astral-sh/ty) from 0.0.92 to 0.0.95.
> \- \[Release no…tes\](https://github.com/astral-sh/ty/releases)
> \- \[Changelog\](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
> \- \[Commits\](https://github.com/astral-sh/ty/compare/0.0.92...0.0.95)
> 
> \---
> updated-dependencies:
> \- dependency-name: ty
> dependency-version: 0.0.95
> dependency-type: direct:development
> update-type: version-update:semver-patch
> ...
> 
> Signed-off-by: dependabot\[bot\] \<support@github.com\>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 4, 2026, 9:54pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8252 "2026-11-04T21:54:19Z")

</div>

> <https://github.com/panodata/tikray/commit/c98b398196371870bfa9c4f85004cbadbbdd0aa3>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 1:36am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8253 "2026-11-05T01:36:14Z")

</div>

> <https://github.com/panodata/omniload/commit/0adf2ea9fd8418e49ab156d1969e580b03e03b90>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 1:36am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8254 "2026-11-05T01:36:33Z")

</div>

> <https://github.com/panodata/omniload/commit/2ae69e445028222048f94392cefc35fad34414dd>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 11:03am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8255 "2026-11-05T11:03:23Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/4ae305bfa89de58df549c5973b044bfbdc1ad0de>
>
> IMGW-PIB answered the re-use request. This records what it confirmed and what it… left open in the provider's docs, and corrects a comment in its metadata. Returned data, \`license\` and \`attribution\` do not change.
> 
> \*\*Confirmed by IMGW-PIB\*\*
> \- Data it classes as high-value: free for any use, under CC BY 4.0.
> \- All its other data: public-sector information under CC BY-NC-ND 4.0, free only for uses other than business, and for the bodies the Polish Water Law names.
> 
> \*\*Still open, and now stated in the docs\*\*
> \- Which group the two directories wetterdienst reads are in. dane.gov.pl catalogues them as CC BY-NC-ND 4.0 and not high-value, so "a commercial use is not cleared" stays.
> \- Whether NoDerivatives allows converted units and a uniform table.
> \- Whether caching and serving through an API are allowed.
> 
> \*\*Decided by the maintainer:\*\* the hosted instance keeps serving IMGW meanwhile.
> 
> \*\*Not re-checked:\*\* the sentence that hydrology is not in the regulation's meteorological annex is unchanged. EUR-Lex returned empty pages, so it was not read again.
> 
> Part of #2567
> 
> Co-Authored-By: Claude Opus 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 11:41am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8256 "2026-11-05T11:41:36Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/45b68142fc9ba6952edcdf05fd18e3b4fdc13430>
>
> Both IMGW networks now report one licence for all their data, CC BY-NC-ND 4.0, a…s the maintainer decided. This closes the question to IMGW-PIB: no further mails, and the docs no longer list it as open.
> 
> \*\*What changes for a caller\*\*
> \- \`license.spdx\_id\` goes from \`null\` to \`CC-BY-NC-ND-4.0\`.
> \- \`license.name\` is the licence's name, and \`license.url\` its text, where they named and linked IMGW-PIB's terms before.
> \- \`attribution\` is unchanged, with the two sentences the terms prescribe.
> 
> \*\*Why this licence:\*\* IMGW-PIB says high-value data is CC BY 4.0 and everything else CC BY-NC-ND 4.0, but not which group the directories read here are in. dane.gov.pl catalogues them as CC BY-NC-ND 4.0 and not high-value.
> 
> \*\*In the docs\*\*
> \- IMGW-PIB's terms still apply beside the licence and stay linked. Business use still needs an agreement with IMGW-PIB.
> \- IMGW-PIB never said how NoDerivatives relates to processed data, nor answered on caching and serving through an API. The docs say so and send a reader who depends on that to IMGW-PIB.
> 
> \*\*Tests:\*\* \`tests/ui/test\_response\_metadata.py\` is run in a local environment without all extras. The IMGW and licence tests pass. The failures there come from missing optional dependencies (the stripes image, pandas), so CI is the full check.
> 
> Part of #2567
> 
> Co-Authored-By: Claude Opus 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 1:13pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8257 "2026-11-05T13:13:15Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/1d8fbb5643d5388ce9faa45f86a1f4c4e7f4aa8c>
>
> Closes #2441
> 
> \## What happens
> 
> On Linux, \`eccodes\` 2.43 and newer ask for the \`e…ccodeslib\` wheel (not on Windows), and its \`eckitlib\` bundles its own PROJ. \`findlibs\` 0.1.3 and older loaded that library with \`RTLD\_GLOBAL\`, so a process that loaded \`eccodes\` and then imported \`pyproj\` aborted at exit (134 or 139), ecmwf/eckit#354. \`eccodes\` itself names \`findlibs\` without a version, so nothing stopped an install from keeping an old one. wetterdienst worked around it by importing \`pyproj\` ahead of \`eccodes\` (#2490), which left code that imported \`eccodes\` first exposed.
> 
> \## The fix, as established
> 
> \- Upstream ecmwf/findlibs#30 (merged 2026-10-29, released as findlibs 0.1.4) loads the libraries it finds with \`RTLD\_LOCAL\`. ecmwf/eckit#354 was closed on it ("findlibs 0.1.4 has now been released, and it fixes this issue").
> \- findlibs 0.1.5 (2026-11-04) only puts the global load back on macOS (its comment: \`RTLD\_LOCAL\` trips an assertion in libeckit there). Linux stays local. Both need Python \>= 3.11, which is already our floor.
> \- The eccodes wheel metadata: \`requires\_dist\` on PyPI's JSON page for 2.49.0 and 2.50.0 shows \`numpy, attrs, cffi, findlibs\` with no \`eccodeslib\`, but that is the metadata of one of the Windows wheels. The \`py3-none-any\` wheel of every release from 2.43.0 to 2.50.0 requires \`eccodeslib; platform\_system != "Windows"\` (2.37 to 2.42 and 1.7.1 require only \`findlibs\`). So nothing changed in 2.50: Linux and macOS installs still get the eccodeslib and eckitlib wheels, and the crash is still reachable with an old findlibs. eccodeslib 2.50.0.33 requires eckitlib 2.5.0.33.
> 
> \## What changes
> 
> \- \`pyproject.toml\`: the \`bufr\` and \`eccodes\` extras require \`findlibs\>=0.1.4,\<1\` (comments explain the floor). Floor 0.1.4, not 0.1.5: uv's \`exclude-newer = "3 days"\` cooldown keeps 0.1.5 out of any resolution until 2026-11-07, so a 0.1.5 floor makes \`uv lock\` fail today, and the 0.1.5 change only concerns macOS, where BUFR decoding works with 0.1.4 (below). \`uv.lock\`: the normal resolution, findlibs 0.1.3 to 0.1.4 and the two extras gain the dependency. deptry: \`findlibs\` joins \`DEP002\` (a floor only, never imported); \`pyproj\` leaves \`DEP001\` and \`DEP003\`, since nothing imports it any more.
> \- \`util/eccodes.py\`: \`import\_pyproj\_before\_eccodes\` and its two calls are removed, with its tests (the fresh-interpreter watcher tests). The probes and the version-advice filter are unchanged.
> \- \`docs/known\_issues.md\`: the section keeps its heading (so existing links still resolve) and is reduced to what still applies: findlibs older than 0.1.4, with how to check, \`pip install --upgrade "findlibs\>=0.1.4"\`, and the earlier workarounds (pyproj first, distribution library with \`FINDLIBS\_DISABLE\_PACKAGE\`). It says wetterdienst no longer imports pyproj ahead of eccodes, and that only installs which read the wheel's dependencies get the eccodeslib and eckitlib wheels (this project's \`uv.lock\` carries neither, so a \`uv sync\` was never affected). The README paragraph and the pointers in the quickstart extras table and the DWD road page are removed (the radar page had none).
> \- \`docker-publish.yml\`: only the comment of the smoke test, which still imports eccodes before pyproj on purpose; it now says that the floor rules the abort out and that the order is what would show it come back.
> \- CHANGELOG: a \`Fixed\` entry.
> 
> \## The guard: removed
> 
> The pyproj-first import was meant to go "once the floor requires an eckitlib with the upstream fix" (its own docstring). The runs below show every way of loading eccodes and then importing and actually using pyproj (run 3) exiting 0 with correct results for everything the floor allows, so the guard protects nobody who installs through the extras. What is left is an install without the extras whose environment keeps findlibs \< 0.1.4 (documented in the known-issues section). Keeping the guard instead means keeping a \`pyproj\` import in a BUFR probe for them; it is one revert of the last code commit if the maintainer prefers that.
> 
> \## Verification on Linux and macOS
> 
> Temporary workflow \`tmp-findlibs-2441.yml\` (added and removed again in this branch; GitHub Actions only, no Docker here). Per job: fresh venv (\`uv venv --seed\`), \`pip install ".\[bufr,radarplus\]"\`, then for each set \`pip install eccodes==X eccodeslib==Y findlibs==Z\` and eight checks, each in its own interpreter with its exit code printed. Jobs: ubuntu-24.04 (x86\_64), ubuntu-24.04-arm (aarch64), macos-latest (arm64), each on Python 3.11 (pyproj 3.7.2, wradlib 2.9.6) and 3.14 (pyproj 3.8.0, wradlib 2.9.8).
> 
> The checks: \`import eccodes; import pyproj\`, the reverse, \`import eccodes; codes\_get\_api\_version(); import pyproj\`, \`import pdbufr; import pyproj\`, \`import eccodes; codes\_get\_api\_version(); import wradlib\`, \`bufr\_is\_available(); import pyproj\` and \`... import wradlib\` (the wetterdienst probe), and packing a BUFR4 sample, reading it back with pdbufr and then importing pyproj.
> 
> \- Run 1, https://github.com/earthobservations/wetterdienst/actions/runs/42023718211, on main's code (guard present). With findlibs 0.1.3 and eccodes 2.49.0 / eckitlib 2.3.0.30 or eccodes 2.50.0 / eckitlib 2.5.0.33, on both Linux architectures and both Pythons, the plain checks exit 134 or 139 (the exit code varies between runs of the same command), \`pyproj\` first exits 0, and the wetterdienst probes exit 0 (the guard works). With findlibs 0.1.4 and 0.1.5 every check exits 0 on all jobs, the BUFR4 sample decodes (288.15), and eccodes 2.43.0 and 2.46.0 with eccodeslib 2.46.0.12 (eckitlib 2.0.1.12) exit 0 even with findlibs 0.1.3. macOS exits 0 everywhere, including findlibs 0.1.4.
> \- Run 2, https://github.com/earthobservations/wetterdienst/actions/runs/42024809607, on this branch's code (guard removed; same sets, plus the extras install without pins, the floor and the distribution library). Results:
> - \`pip install --dry-run ".\[bufr\]" "findlibs\<0.1.4"\` and the \`eccodes\` extra: exit 1, "conflicting dependencies", on every job.
> - The extras as pip installs them (eccodes 2.50.0, eccodeslib 2.50.0.33, findlibs 0.1.5): all eight checks 0 on all six jobs.
> - eccodes 2.49.0 and 2.50.0 with findlibs 0.1.4 and 0.1.5: all 0 on the four Linux jobs and on macOS. eccodes 2.43.0 and 2.46.0 (eccodeslib 2.46.0.12) ran only with findlibs 0.1.3 and 0.1.5, not 0.1.4: all 0 with both on all jobs. 0.1.4 on those two is covered by run 3.
> - findlibs 0.1.3 with eckitlib 2.3.0.30 and 2.5.0.33 on Linux: the checks without \`pyproj\` first fail (134 or 139), including the wetterdienst probes now that the guard is gone; that is the case the floor excludes.
> - Distribution library (apt \`libeccodes-dev\` 2.34.1, no eccodeslib wheel; findlibs found \`libeccodes.so.0\`) with eccodes 2.42.0 and 2.50.0, findlibs 0.1.3 and 0.1.5: all 0, so a system library was never affected.
> 
> \- Run 3, https://github.com/earthobservations/wetterdienst/actions/runs/42029721854 (temporary workflow removed again in the last commit), on this branch's code (guard removed): real use of pyproj after eccodes, because upstream describes the clash as segfaults "during pyproj usage" and runs 1 and 2 only imported pyproj. Ubuntu 24.04 x86\_64 and aarch64, Python 3.11 (pyproj 3.7.2, PROJ 9.5.1) and 3.14 (pyproj 3.8.0, PROJ 9.8.1), a fresh interpreter per check, normal exit. Each check loads eccodes first (\`import eccodes\`; \`bufr\_is\_available()\`; a BUFR4 sample packed and decoded with pdbufr), then runs \`Transformer.from\_crs("EPSG:4326", "EPSG:32632", always\_xy=True).transform(9.0, 48.0)\`, asserts the result (500000.0, 5316300.22) and the inverse, and \`CRS.from\_epsg(32632)\` (name and \`is\_projected\` asserted).
> - findlibs 0.1.4 with eccodes 2.49.0 / eccodeslib 2.49.0.30, 2.50.0 / 2.50.0.33, 2.46.0 and 2.43.0 (each with eccodeslib 2.46.0.12 and with 2.50.0.33): all three checks exit 0 on all four jobs, with the correct result.
> - findlibs 0.1.5 with eccodes 2.50.0: all 0 on all four jobs, correct result.
> - Control, findlibs 0.1.3 with eccodes 2.50.0 / eckitlib 2.5.0.33: 134 or 139 on all four jobs, in every check. So the checks do detect the crash, and the guard stays removed.
> 
> \## Checks run locally (macOS, Python 3.13)
> 
> \`uv run poe format\`, \`lint\` and \`unused\` pass; \`typecheck\` exits with warnings only (unresolved imports of optional extras, none in the changed code). \`uv run poe "test:offline"\` after the \`install.sh testing\` sync (the extras of CI's testing flavour, so \`tests/util/test\_eccodes.py\` runs, 24 passed, none skipped): 12575 passed, 45 skipped, 0 failed. \`uv run poe docs\` builds. \`UV\_RESOLUTION=lowest-direct uv lock --dry-run\` (Python 3.11) resolves, findlibs stays at its floor 0.1.4, eccodes goes to 1.7.1; no lock from it is committed.
> 
> Labels: bug, dependencies, upstream.
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 4:34pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8258 "2026-11-05T16:34:26Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/0b94683b0f7e033d28297bc2d5e7c57f60f9a60c>
>
> \## What
> 
> The subdaily MEZ/MOZ periods and the daily datasets that the comments o…f #2711 left open, measured against NOAA ISD (key-less S3 bucket, minute-00 reports) and, where ISD has no field, against DWD's own series. \*\*Nothing is shifted\*\*: no period shows a whole-hour offset in more than one source. The result is documentation (\`docs/data/time\_reference.md\`, the subdaily resolution description) with a changelog entry, because the description said something a caller can observe.
> 
> \*\*Scope: what was measured, not a proxy.\*\* Whether DWD publishes an hourly product for a station today does not say what its 1987-2001 terms are (of the 391 archives with such terms before 1987, 175 have an hourly series starting after 2001-04). So the page names the stations compared and says what each group showed; a reader cannot infer from it how a station that was not measured behaves. 229 station-years at 53 stations (2,676 station-months) were compared; for 1987 to 2001-03-31, 83 station-years at 41 stations could be judged by the share of their values that equal ISD's report of the stamp hour (\`TT\_TER\`, labelled MEZ or MOZ).
> 
> \## 1987 to 2001-03-31 (delta = best offset in hours; 0 = stamp hour read as UTC, -1 = MEZ hour, -lon/15 = local mean time; negative = the reading precedes the stamp hour)
> 
> | group (named in the note) | station-years / stations / station-months | pairs at 07, 14, 21 | at lag 0 against ISD | lag -1 / +1 within 0.5 K |
> | --- | --- | --- | --- | --- |
> | \*\*27 stations whose terms equal ISD's report in every year compared\*\* (and Lahr from 1995), West German, labelled MEZ | 41 / 16 / 472 | 38,567 | 99 % equal, 100 % within 0.5 K, MAE 0.01 K | 56 % / 54 % |
> | same, East German, MEZ | 12 / 11 / 133 | 11,413 | 99 % equal | |
> | same, East German, MOZ (Carlsfeld, Marnitz 1992) | 2 / 2 / 23 | 1,806 | 99 % equal | |
> | \*\*13 stations whose terms do not equal it in any year compared\*\* (and Lahr 1989), West MEZ | 25 / 13 / 220 | 12,817 | 6 % equal, 46 % within 0.5 K | 44 % / 32 % |
> | same, Potsdam secular station 03988 (MOZ) | 4 / 1 / 48 | 4,135 | 10 % equal, 67 % within 0.5 K | 80 % (-1) / 38 % |
> 
> Measured since the last round, 1990, at stations with no hourly data that year (equal at lag 0 / best delta at 07, 14, 21): Heidelberg 02080 6.0 % / -0.4, -2.3, +0.3; Kitzingen 02600 5.1 % / none, -0.6, none; Fulda-Horas 01526 7.8 % / -0.8, +0.3, none; Celle 00850 6.4 % / -1.7, -1.3, -1.4 and Rotenburg 04275 17.4 % / -2.4, -1.0, -1.4 (both with thin ISD of 1,840 and 1,348 reports). The exceptions the other way: Berlin-Dahlem FU 00403 (hourly series from 2002) 100 % / 0.0, 0.0, 0.0 in 1990; Ulm 05155 (hourly from 1948) 100 % in 1990 and 1992. Lahr (hourly from 1995): 5 % in 1989, 100 % from 1995. In this sample the 13 stations of the second group had no hourly series in the years compared; that was not tested beyond it, and the page says so.
> 
> The 13: Bremervörde-Niederochtenhausen 00705, Eschbach 00706, Celle 00850, Fulda-Horas 01526, Heidelberg 02080, Kitzingen 02600, Neuhausen ob Eck 03518, Neumünster 03537, Potsdam 03988, Rotenburg 04275, Roth 04278, Wangerooge 05344, Pirmasens 15951. At the stations of the second group no clock is shown, except Potsdam 03988 (one period labelled MOZ 1893-2019): delta -0.6 to -1.0 h up to 1991 Q3 (local mean time -0.87), -0.2 to -0.5 h from 1991 Q4 (07:30 MEZ is -0.5; the paired Potsdam 03987 equals the same ISD files 100 %). The others scatter (+0.1 to -2.4 h at 07, +0.3 to -2.6 h at 21; Neumünster 0.0/-0.2/-0.8, Roth -0.8/-0.4/-1.5), unsettled; the twins are 0.5 to 3.7 km away. They need a second source.
> 
> \## Before 1987 (West German stations compared with periods labelled MEZ: Bamberg, Braunlage, Bremen, Frankfurt/Main, Freiburg, Garmisch-Partenkirchen, Hamburg, Hannover, Helgoland, Hohenpeißenberg, Lahr, Nürnberg)
> 
> The offset is \*\*mixed\*\*: median -0.1 to -0.4 h; by year (median over the stations at 07/14/21) -0.4/-0.6/-0.5 in 1980 (near local mean time), -0.2/-0.1/-0.2 in 1982 and -0.2/-0.2/-0.2 in 1984 (near the UTC hour); single station-years from -1.5 to +0.5 h. On 110 station-year-hours at 12 stations (38,507 pairs) MAE is 0.40 K for the UTC hour, 0.45 K for local mean time, 0.65 K for MEZ; closest in 65, 41 and 4. Lag table (hourly ISD years only): 1947-72 67 % within 0.5 K at lag 0 (9 station-years), 1973-86 80 % (25). The four summer-time years 1980, 1982, 1984, 1986 show no hour between summer and winter; 1949 does at Hamburg and Hannover only.
> 
> Up to 1946 (3-hourly ISD, interpolated, one source) and East MOZ 1964-66:
> 
> | group | delta at 07 / 14 / 21 |
> | --- | --- |
> | MEZ: Hamburg, Hannover, Hohenpeißenberg | -1.2 / -1.5 / -0.8 |
> | MOZ: Frankfurt, Dresden, Kahler Asten | -1.2 / -1.2 / -0.5; -1.8 / -1.4 / -0.9 |
> | Frankfurt Oct-Dec 1948 (MOZ) vs Jan-Mar 1949 (MEZ) | -1.5 / -1.3 / -1.5 vs -0.3 / -0.4 / -0.2 |
> | East MOZ 1964-66: Brocken, Görlitz, Magdeburg (4 station-years) | -1.2 / -0.6 / -0.6 (local mean time -0.71, -1.0, -0.77): fits at 14 and 21, not at 07 |
> 
> \## Daily
> 
> \`precipitation\_more\` RS = \`climate\_summary\` RSK on 92,469 of 92,470 days, SH\_TAG = SHK\_TAG on 91,868 of 91,873, and SH\_TAG is the reading at the start of RS's window (snow depth rose forward on 663 of 3,714 winter days against 434 backward, 1967-90). \`weather\_phenomena\` GEWITTER against ISD thunder at Dresden, Frankfurt, Hamburg: 552 of 740 days on the same UTC date, 152 and 142 on the day before and after; the rows carry their stations. \`water\_equivalent\` SH\_TAG equals that of \`precipitation\_more\` on 73,792 of 73,792 days. \`temperature\_soil\`: documented only. \`solar\`: ATMO\_STRAHL(D) equals the sum of the hourly values whose raw MESS\_DATUM lies on the UTC date D on 1,212 of 1,212 days (Frankfurt) and 5,544 of 5,544 (Dresden); the hourly stamp closes its interval (ZENIT fits the stamp minus 30 minutes), and with the library's rounding of the stamps (a stamp at :30 or later moves to the next hour) the sum over the returned stamps matches on 90.6 % and 91.6 % of the days. No daily stamp of the parameters compared (RSK, TXK, TNK, RS, SH\_TAG, GEWITTER, ATMO\_STRAHL) is a day off.
> 
> \## Left open (maintainer's choice)
> 
> \- The up-to-1946 offset of about -1 h (and Frankfurt to 1948) rests on 3-hourly military ISD alone (14 station-years at 6 stations); the date of the change is known at one station only. Not shifted; the maintainer confirmed.
> \- Potsdam secular station: local mean time up to 1991-10, a station-specific fraction of an hour (-0.87 h); not forced into a shift.
> \- The 13 stations without equal terms and every station not measured: unsettled, needs a second source.
> 
> \## Rounds
> 
> First pass; review round 1 (scope of the identity, direction of the offset, DWD attribution, 1947-72 lag table, 1964-66 East MOZ measured, mixed 1947-86, station qualifiers, solar raw stamps, changelog entry, \`temperature\_air\` note split into four rows); this round: the groups are named by what was measured (equal or not equal to ISD's report) instead of by the hourly product, five more stations measured in 1990 with the cached ISD, the sentence on the others says "not shown", reference cells give the observed ranges.
> 
> Part of #2711
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 5:36pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8259 "2026-11-05T17:36:18Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/31f037131d2a905e1aca9d4a8e2dabda853e779f>
>
> Part of #3681 (section 2, rate of change and spikes). Section 3 (more consistenc…y relations) stays open; section 1 (\`stuck\`) landed in #3782.
> 
> \## What changed
> 
> The new check \`step\` judges \*\*every observation network\*\* for a jump in one station's series of one parameter:
> 
> \- a \*\*step\*\*: a reading that differs from the one before it by more than the limit for the time between two readings; the \*\*later\*\* reading is flagged;
> \- a \*\*spike\*\*: a reading that departs from its predecessor and from its successor by more than the limit, in opposite directions (it returns within one step); the \*\*middle\*\* reading is flagged. The reading after a spike is judged against the reading before the spike, so a jump back is no step and a jump elsewhere is.
> 
> Soft by default (\`suspect:step\`, value kept; \`hard\` nulls it as \`rejected:step,raw:\<text\>\`), covered by the \`plausibility="soft"|"hard"\` shorthand, set with \`Options\`, \`WD\_TS\_PLAUSIBILITY\_\_STEP\`, \`--plausibility-step\` and \`plausibility\_step\` in REST and MCP. Additive, so \`### Added\`. As for every suspect value, interpolation, summaries, stripes and \`skip\_empty\` leave a flagged reading out.
> 
> | parameter | 10 minutes | hourly | daily |
> | --- | --- | --- | --- |
> | air temperature | spike 8 K, step 20 K (own: the hour's) | spike 8 K (ISD; DMI "certain error" 6 to 8 K), step 20 K (MADIS 19.4 K) | spike 25 K (Durre et al., TMAX/TMIN; own for the mean) |
> | dew point | the same (own) | spike 8 K (own: the temperature's, ISD gives no dew point limit), step 20 K (MADIS 19.4 K, one limit for both) | spike 25 K (own: Durre's, applied to it) |
> | pressure (site, sea level) | 60 hPa (own: the hour's) | 60 hPa for spike and step (own data, below) | not judged |
> | mean wind speed | spike 10 m/s, step 15 m/s (own: the hour's) | spike 10 m/s (MADIS 10.3), step 15 m/s (DMI "certain error") | not judged |
> 
> Every limit cites its source next to the number in \`wetterdienst.model.rate\_of\_change\` and on \`docs/data/plausibility.md\`, where a test holds the page's table to the code; the ones no source publishes say "own derivation" and why. The threshold policy of 2026-11-01 applies: where sources disagree the level at which services call a value certainly wrong is taken, not the strictest tolerance (WMO-No. 305's 4 K an hour and Zahumenský's 3 K a minute are not used).
> 
> \*\*Gusts are not judged, so nothing finds RMI's 81.5 m/s gust\*\* (station 6414, 2003-10-09; the earlier plan, D10, had the step check catch it). By the maintainer's decision it stays unflagged; the docs say so plainly (\`plausibility.md\`, the RMI page, the RMI test) and no longer promise the step check. Likewise \`meteofrance/synop\` is \`subdaily\`, which \`step\` never judges, so its 909.5 hPa is no gap this check closes (comment corrected).
> 
> \*\*Not judged\*\*, each with its reason on the page: relative humidity and soil temperature (the reason is the measured false alarms, numbers below, not the source's level: the air step and the wind spike come from the same MADIS level), gusts (no source, and thunderstorms), radiation, amounts and sums of an interval (rain, sunshine, snow), wind direction (circular), the extremes of an interval, cloud cover and weather codes, the resolutions 1, 5, 6 and 15 minutes, 6 hours, subdaily, month and year, forecasts and derived quantities.
> 
> \## Decisions the issue left to this PR
> 
> \- \*\*Irregular steps and gaps: the check stands aside, it does not scale.\*\* A pair (a triple for a spike) is judged when every interval is no longer than the step of the resolution. A null or a missing row between two readings leaves them two steps apart and unjudged. A reading \*closer\* to its neighbour than one step (a METAR between two hourly ones) is judged with the limit of the step, which is the more lenient for it. (ISD scales its limit up to 24 h; the research recommended "scale or skip", and skipping needs no invented scaling law.)
> \- \*\*Which value of a step is flagged: the later one.\*\* Nothing says which of two readings is wrong; the earlier one was accepted already. A level shift flags the first reading after the jump. A spike is flagged on the middle reading only.
> \- \*\*The first value of a series\*\* has no predecessor and is never flagged (a bad first reading flags the good second one: a step needs both); the last has no successor and can be a step but not a spike. The core judges the series the reader hands over, before the window is cut, as for \`stuck\`, so a reader of whole files (DWD observation) finds a jump across the start of the window and one that asks for the window only (DWD road, FMI, DMI) does not. Documented under the caveats.
> \- \*\*A neighbour is a reading that no other check judged bad, soft or hard.\*\* \`step\` runs last, after the verdicts of \`range\`, \`elevation\`, \`limits\`, \`source\`, \`stuck\` and \`consistency\` are made, whatever their modes, and a reading any of them flagged, or that carries a source code (\`raw:-999\`), is no neighbour and is not judged. (The first version excluded \`range\`, \`elevation\` and codes only; a review reproduced the good 5.0 after GHCN hourly 5, 5, 40, 41, 5, 5 with 40 and 41 flagged erroneous by \`source\` getting \`suspect:step\`, \`rejected:step\` under a bare hard, and the same after 30 hours of -40 that \`stuck\` flags.) A reading next to such a gap has no neighbour on that side and is judged against the one on the other side only. The first reading of a stuck run is \`stuck\`'s, so the jump into the run is not told as a step.
> \- \*\*A reading is judged against the last reading before it that is no spike.\*\* The one before it, or, past a spike or several in a row, the one before them (forward-filled within one series; a gap still makes the check stand aside, since every spike has both its neighbours one step away). 10, 10, 19, -20, -21, -21 is a spike (19) and a 30 K shift to -20, which the first version hid. 10, 40, 0, 10, 10 flags \[1, 2\] only (a second review found the good 10 flagged, because the reading two back was itself a spike); 10, 40, 0, 35, 35 flags \[1, 2, 3\]; the Zugspitze's 20.6, 38.5, 7.8, 21.7, 23.2 m/s flags 38.5 and 7.8 and not the good 21.7.
> \- \*\*10-minute limits are the hour's\*\* (no source; a change in 10 minutes cannot be larger than the weather's in an hour, so the hourly limit is the more lenient there). The research proposed the same.
> \- \*\*Pressure: 60 hPa for the spike and the step, not DMI's 5 to 8 or MADIS's 15.\*\* Own data, as the maintainer's WMO-1269 comment set it: above the 43 hPa an hour of Hurricane Irma at Saint-Barthélemy, below the 64 hPa an hour of the smallest keying slip. With DMI's 5 hPa as a spike, Irma's eye (977.1, 936.0, 917.4, 960.4 hPa; the minimum is 18.6 hPa below the hour before) is flagged \`suspect:step\`; a test pins both. See "For the maintainer".
> 
> \## Evidence
> 
> Real data, DWD open data read 2026-11-05 (historical and recent merged, whole histories, 10 stations for each resolution: Dresden-Klotzsche, Hamburg, Potsdam, Zugspitze, Helgoland, Arkona, Feldberg, Berlin-Tempelhof, Straubing, Trier-Petrisberg). "readings" are those with a value; the check needs a neighbour one step away, which nearly all have.
> 
> | resolution | parameter (dataset) | readings | flagged | what they are |
> | --- | --- | --- | --- | --- |
> | hourly | air temperature (\`temperature\_air\`) | 6,299,464 | 7 | all look like errors: 0.0 between 11.9 and 12.2 (Hamburg 1997), 15.4 between 5.6 and 4.8 (1975), signs (6.5 between -6.6 and -5.7, Feldberg 1995) |
> | hourly | air temperature (\`moisture\`) | 4,505,940 | 380 | 184 are 0.0 between other values (DWD's missing value in the whole-degree decades), 351 before 1995 |
> | hourly | dew point (\`moisture\`) | 4,501,767 | 1,120 | 316 are 0.0 between other values; \*\*612 at the Zugspitze and the Feldberg are dubious\*\* (a dew point derived in cold dry air that swings 8 K and back) |
> | hourly | station pressure (\`moisture\`, \`pressure\`) | 4,505,876 | 38 | 33 differ from their neighbours by a multiple of 10 hPa (about 100), 1989 to 2001; the three that \`elevation\` lets through (909.5 hPa at Berlin-Tempelhof, 910.1 and 908.5 at List auf Sylt) are among them |
> | hourly | sea level pressure (\`pressure\`) | 3,539,284 | 14 | the same kind, 8 at Trier-Petrisberg |
> | hourly | mean wind speed (\`wind\`) | 5,841,991 | 167 | \*\*141 at the Zugspitze are probably storms\*\* (38.5 m/s one hour, 7.8 the next, 1983), 159 before 1995 |
> | 10 minutes | air temperature (\`temperature\_air\`) | 16,287,927 | 220 | the Zugspitze's thermometer alternating between -20.2 and 15.1 °C for 89 readings (2001-05-31 and 06-01), Arkona down to -85.2 °C in September 1993 (26), 52 are 0.0; neither \`range\` nor \`stuck\` finds them |
> | 10 minutes | dew point (\`temperature\_air\`) | 15,470,459 | 510 | 359 at the two summit stations (the dubious ones) |
> | 10 minutes | station pressure (\`temperature\_air\`) | 16,263,915 | 8 | 100 hPa off (7), 1991 to 1997 |
> | 10 minutes | mean wind speed (\`wind\`) | 16,183,841 | 37 | 14 at the summits, 17 at Helgoland |
> | daily | air temperature mean, minimum, maximum (\`climate\_summary\`) | 964,596 | 0 | |
> 
> Re-measured after the review fixes (the wider neighbour rule, the reading after a spike, and the last reading that is no spike); the rows above are those of the final code. Against the first version the totals are: hourly dew point 1,110 to 1,120, hourly wind 165 to 167 (Zugspitze 139 to 141), 10-minute air temperature 213 to 220, dew point 501 to 510, wind 36 to 37, humidity if it were judged 1,452 to 1,463; every other row is unchanged (the pressure rows 38 and 14, 811 at DMI's 5 hPa, gusts 376, soil 17,690, the one-sided 8 K step 300). Those are net figures of all the changes. The last fix (adjacent spikes) moved the totals by +8 hourly (dew point 1,113 to 1,120, wind 166 to 167) and +3 to +6 at 10 minutes. On the neighbour rule alone the review measured, on the hourly series of these stations, 0 flags lost and 4 added.
> 
> The wider exclusion does not only remove flags: \*\*a false alarm of another check can hide a real spike and move the flag to the good reading after it\*\* (50 hours pinned at 0.0, \`suspect:stuck\`, then 30.0, 0.2, 0.3: the 30.0 has no neighbour and goes unflagged, the good 0.2 is flagged as a step from it). That follows from the accepted rule, is kept, is pinned by a test and is stated under the caveats on the page.
> 
> Other key-less networks, 2023, two stations near a city each: CHMI daily (2,190 readings), SMHI hourly (26,988) and daily (2,190), RMI 10 minutes (262,703), hourly (43,783) and daily (2,184), IMGW daily (635): \*\*0 flagged\*\*. Not checked for lack of data or access: CHMI hourly and 10 minutes (no readings at the two stations), IMGW synop, LHMT (429), Geosphere, GHCN, MeteoSwiss, ECCC and the keyed providers.
> 
> \*\*What the limits of the sources would flag and the table does not take\*\* (the same data, hourly, the limit patched in one at a time; also on the page):
> 
> | limit measured | flagged | of | what |
> | --- | --- | --- | --- |
> | relative humidity, spike 30 %, step 50 % (DNMI, MADIS) | 1,463 | 6.3 M | 1,319 at the Zugspitze and the Feldberg: cloud and fog |
> | gusts, step 15 m/s (research's own) | 376 | 2.3 M | thunderstorm gusts (3.0, 27.0, 20.0, 10.0 m/s, Dresden 2001-07-07) |
> | soil temperature at 5 cm, step 3 K (MADIS 2.8 K) | 17,690 | 2.1 M | the sun on bare soil |
> | air temperature, one-sided step 8 K | 300 | 6.3 M | fronts: 33.8 to 24.3 °C at Berlin-Tempelhof 2022-07-25 (the table's 7 are spikes) |
> | pressure, spike 5 hPa (DMI) | 811 | 6.8 M | 52 are the table's; the other 759 are single readings 5 to 60 hPa off their neighbours (1018.9, 1008.0, 1019.3 hPa), and a hurricane's minimum |
> 
> \## Timing
> 
> \`values().all()\` of DWD files from the cache, median of 3 runs, with the jump table patched empty (off) and as shipped (on):
> 
> | scenario | readings | off | on |
> | --- | --- | --- | --- |
> | hourly/temperature\_air, 1 station | 941,935 | 708 ms | 732 ms (+3 %) |
> | hourly/moisture, 1 station | 3,002,509 | 1563 ms | 1685 ms (+8 %) |
> | hourly/wind, 1 station | 916,500 | 624 ms | 672 ms (+8 %) |
> | hourly/pressure, 1 station | 745,169 | 568 ms | 641 ms (+13 %) |
> | 10\_minutes/temperature\_air, 1 station | 8,640,101 | 5608 ms | 6147 ms (+10 %) |
> | 10\_minutes/wind, 1 station | 3,428,305 | 2534 ms | 2696 ms (+6 %) |
> | daily/climate\_summary, 1 station | 376,391 | 236 ms | 245 ms (+4 %) |
> | daily/climate\_summary, 10 stations | 4,176,632 | 2605 ms | 2686 ms (+3 %) |
> 
> On a synthetic frame of three 10-minute parameters (8.7 million readings) the check alone is 0.40 s: a sort and a few vectorised shifts (a first version with grouped \`shift().over(...)\` took 1.26 s; the parameters are numbered now, so a series is told from the next by comparing numbers). \*\*On the offline fixtures\*\*: over the 5,137 offline tests of \`tests/provider\` and \`tests/model\` the check ran 3,708 times on 617,516 readings (a frame of the fixtures has 170 readings, so it is the fixed cost of polars, about 1.2 ms a frame), 4.4 s in all, as long as \`stuck\`'s run judge over the same frames (4.1 s).
> 
> \## Tests
> 
> \`tests/model/test\_rate\_of\_change.py\` (68 tests, both modes): every row of the table at its limit and one tenth beyond, up and down, as spike and as step, for the datasets of DWD (10 minutes, hourly, daily) and Frost; the jump out of a spike, a zigzag, two steps in a row; first and last reading; nulls, a missing hour, a reading closer than the step, the daily step; a reading \`range\`, \`elevation\`, \`source\` (soft and hard, and under a bare hard), \`limits\`, \`consistency\` or a code has judged is no neighbour, and so is a stuck run (each with a held pair that tells it from a spike; the stuck case is the 30 hours of -40 followed by 5.0); the reading after a spike is judged against the last reading before it that is no spike (10, 10, 19, -20, -21, -21), and after adjacent spikes (10, 40, 0, 10, 10; 10, 40, 0, 35, 35; three in a row; the Zugspitze's wind; a gap between), plus the case of the false alarm that hides a spike; two parameters of one frame; a shuffled frame; soft and hard tokens, \`suspect:step+stuck\`, \`rejected:step+stuck\`; a forecast; everything not judged; Hurricane Irma kept at 60 hPa and flagged at DMI's 5; the page's table equals the code's; a random-series test of 12 seeds against a reading-by-reading judge that states the intended behaviour (nulls, gaps, level shifts, spikes, the reading before a spike); a frame of every parameter that has a run rule and no jump rule, and of the air temperature at 15 minutes, in reports of 3 hours and by the month (the tests of these used to only look up the tables); an end-to-end ECCC test (station pressure in kPa, wind in km/h, asked for in hPa and m/s) that holds the limits to the canonical unit. A mutation run of fourteen edits of \`\_jumps\` (the reading after a spike compared with the spike or with the one two back, \`\>\` for \`\>=\`, the direction, the successor, the predecessor, the code, a row-wise verdict as neighbour, a verdict on the series as neighbour, the series boundary, the gap, the rounding) is killed by the tests (an earlier round had made four survivors visible and killed them). \`tests/test\_docs\_plausibility.py\` holds the coverage rows (\`\*\` for \`step\`, derived from the table and the metadata) and the modes; two value stubs name the tokens (\`dwd/observation hourly/temperature\_air\`, the real 0.0 of Hamburg 1997-10-07 02:00: \`suspect:step\` soft, \`rejected:step,raw:0.0\` hard); the frames snapshot is regenerated (see the diff below); the OpenAPI, CLI help and surface snapshots are regenerated (\`plausibility\_step\`, \`--plausibility-step\`).
> 
> \*\*Frames snapshot diff\*\*, read: the three \`hourly/pressure\` frames of \`test\_dwd\_observation\_data\_station\_pressure\_is\_held\_to\_the\_elevation\_of\_the\_station\` change as intended (909.5 hPa is \`suspect:step\`, and at 500 m the 1009.6 after it is, a 100 hPa step from a reading that stays); the two new stubs add six entries; and \*\*five frames changed because the fixture had a jump of its own\*\* and its numbers were changed to keep the test about what it tests: LHMT's synthetic day (\`airTemperature\` was the hour, 23.0 to 0.0 at midnight, now a quarter degree an hour) and the made-up rows of GHCN's source-code test (20.x after the file's real 50.0, now 40.x). No other offline fixture's frame changes.
> 
> \`uv run poe format\` clean; \`uv run poe lint\` clean; \`uv run poe typecheck\` clean; \`uv run poe "frames:snapshot"\`: 2,918 passed, snapshot file unchanged (no frame changes); \`uv run poe "test:offline"\`: 12,882 passed, 3 skipped, 0 failed; \`uv run poe docs\` builds without a warning. (origin/main had nothing new to merge.)
> 
> \## Settled by the maintainer
> 
> Kept as shipped: the hourly air temperature at 8 K spike and 20 K step; the pressure at 60 hPa; relative humidity not judged; the summit false-alarm class (the Zugspitze's hourly wind, the summit stations' dew point) documented; a step flags the later reading. D10 is reversed: gusts are not judged and RMI's 81.5 m/s gust stays unflagged.
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 7:16pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8260 "2026-11-05T19:16:33Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/e4a225efdf891fdecc8e39872449672807fb4b36>
>
> Part of #2567. Implements the maintainer's decisions of 2026-11-05: a fixed note… in every answer, ECCC's licence corrected to the one its API declares, one generated page of every provider's licence and credit line, and the docs link check as the only monitoring.
> 
> \## What changes for a caller
> 
> \*\*1. \`processing\_note\` in every answer that holds provider data.\*\* One fixed text, the same for every provider and licence:
> 
> \> Processed by wetterdienst: the provider's data was reshaped into a uniform table, and its units converted where they differ.
> 
> \- \`interpolate\` and \`summarize\` add: "The values were selected or calculated from the provider's readings."
> \- The headers of \`stripes/image\` add: "The image is drawn from the provider's annual values."
> \- \`stripes/values\` and \`stripes/stations\` carry the plain note (their values are DWD's own annual values, the same numbers as \`/api/values\`).
> \- \`issues\` and \`alerts\` carry the plain note too. \`issues\` uses the same \`ResponseMetadata\` block as the data answers (provider terms included), and making the member optional for it alone would complicate the contract for a list of run times; \`providers\` and \`coverage\` have no such block.
> 
> The note states what was done and says nothing about what a licence requires. It is additive (\`schema\_version\` stays "1").
> 
> Where it goes (everywhere \`license\` and \`attribution\` go):
> 
> | Surface | How |
> | --- | --- |
> | REST JSON/GeoJSON/NDJSON | \`metadata.processing\_note\`, always, also without \`with\_metadata\` |
> | REST CSV and images (stripes image included) | \`X-Wetterdienst-Processing\` header, on every answer |
> | MCP | the REST block (JSON); for a non-JSON answer the sentence and \`\_meta\` carry it (headers pass through the envelope; \`test\_mcp\_formats.py\` calls the tools and checks it) |
> | CLI | the same block in JSON/GeoJSON, with or without \`--with-metadata\`; with \`--target\`, in the file and the sidecar |
> | Python | \`to\_dict/to\_json/to\_ogc\_feature\_collection(with\_metadata=True)\` |
> | Export files | Parquet/NetCDF/Zarr: flat key \`processing\_note\` and in the block; any other file written with \`with\_metadata=True\`: in the \`.metadata.json\` sidecar |
> 
> Where it does not go, now said on \`docs/data/provider/licenses.md\`: a CSV, spreadsheet, JSON, JSON Lines, GeoJSON or Feather file written without \`with\_metadata=True\`; the CLI's CSV output and the \`stripes image\` file; the web app (tracked in #3799); \`providers\` and \`coverage\`.
> 
> \*\*2. ECCC reports the licence of the data server it reads\*\* (replaces the earlier notice, which is gone entirely: no \`notice\` field, \`provider.notice\`, \`X-Wetterdienst-Notice\`, file key or table column).
> 
> \- \`license\`: "Environment and Climate Change Canada Data Server End-use Licence", \`spdx\_id\` null, \`url\` https://eccc-msc.github.io/open-data/licence/readme\_en/. Before: the Climate Data Online agreement (\`attachment1\`).
> \- \`attribution\`: "Data Source: Environment and Climate Change Canada. Contains information licenced under the Data Server End-use Licence of Environment and Climate Change Canada." (before "based on Environment and Climate Change Canada data"). Section 3 says that where the provider specifies no statement you "must use" the second sentence, and the collections specify none; the first sentence is the licence's example for the separate duty to attribute the originator. The licence link goes with every answer as \`license.url\` / the \`Link\` header.
> \- \`url\` (the source of the network): \`https://api.weather.gc.ca/\`, the API the library reads (before the Climate Data Online bulk page).
> \- Evidence (read 2026-11-05): the OpenAPI document of the API the library reads, \`https://api.weather.gc.ca/openapi?f=json\`, has \`info.license\` with that name and URL, and lists \`/collections/climate-stations\`, \`-hourly\`, \`-daily\` and \`-monthly\`, which the library reads. The licence text (v2.1.1, August 2026) allows copying, modification and distribution, commercial use included, with attribution; it has no redistribution condition.
> \- The one thing pointing the other way, stated plainly on \`docs/data/provider/eccc/index.md\`, which also quotes section 3 in full, says the licence in force on the date of access governs (section 9) and keeps the Services Usage Policy at one sentence, not reviewed: the collections' canonical link goes to Climate Data Online, whose agreement has the redistribution clause. Our reading, said as ours and not ECCC's: that agreement belongs to Climate Data Online's bulk product, which the library does not read.
> 
> \*\*3. One page of licences\*\*, \`docs/data/provider/licenses.md\`, built when the docs are built by \`docs/\_ext/provider\_licenses.py\` from the registry (every network, DWD's standalone ones via \`ProviderTerms\` included): provider (linked), networks, licence (linked), credit line. No clauses, no dates, nothing generated is committed. A network that cannot be imported fails the build. The rows are collected once in \`builder-inited\`, before Sphinx forks workers, so \`-j 4\` works (it aborted with \`EOFError\` on macOS when each worker imported the providers). Linked from the provider index, the overview (which no longer calls all data open and no longer says each page quotes clauses), the data index and the README. \`docs.yml\` also runs \`tests/test\_docs\_provider\_licenses.py\`.
> 
> \*\*4. Link check.\*\* Built for that page alone, all 13 licence URLs are collected as hyperlinks, so \`docs:linkcheck\` covers them (checked with every URL ignored, and live against those hosts at the first revision of this PR: 12 ok, one permanent redirect, \`etalab-2.0\` to \`etalab-2-0\`, a warning only; the same URL is already linked from two provider pages). None falls under \`linkcheck\_ignore\`. The ECCC licence URL and the OpenAPI document are new links of the ECCC page. No scheduled workflow, hash or \`checked\` date.
> 
> \## Review fixes (second round)
> 
> \- \`tests/test\_docs\_provider\_licenses.py\` loaded the extension at import, which imports docutils; collection failed without the \`docs\` group and the Offline legs went red. It now has \`pytest.importorskip("docutils")\` and \`("sphinx")\` first, and the offline selection was run in an environment without the docs group.
> \- Docs no longer overstate where the note reaches, and the "each page quotes the clauses" wording is fixed (overview, provider index, licences page).
> \- \`docs/usage/python-api.md\` lists \`processing\_note\` among the keys of the block.
> \- The MCP test now calls the tools and checks the note in the result, instead of testing membership of a constant.
> 
> \## Not changed
> 
> \- \`tests/ui/openapi.baseline.json\` and the other release baselines. The OpenAPI snapshot changes by \`ResponseMetadata.processing\_note\` only (additive).
> \- The app shows the note and the credit line neither yet (#3799).
> 
> \## Review fixes
> 
> \- Round 2: the licence-table test skips without docutils and sphinx (the offline legs have no docs group); rows are collected before Sphinx forks (\`-j 4\` works); the docs say where the note does not go; the MCP test calls the tools.
> \- Round 3: ECCC's credit line and source URL as above; the licences page and provider index say only what is true of the provider pages; the test of a \`notice\` member is dropped (the member was never released); a test pins the MCP sentence for a credit line of two sentences.
> 
> \## Checks (local, Python 3.13, extras of CI's testing flavour)
> 
> \- \`poe format\`, \`poe lint\`, \`poe typecheck\`: clean.
> \- \`poe "test:offline"\` with the docs group: 12872 passed, 3 skipped.
> \- \`poe "test:offline"\` without the docs group (docutils and sphinx not importable): 12789 passed, 46 skipped (the docs test files among them), none failed.
> \- \`poe docs\` (notebooks executed; incremental over earlier full builds): succeeded, no Sphinx warning. Earlier in this PR: \`sphinx-build -j 4 --fail-on-warning\` succeeded, and a build in a venv without extras.
> \- \`contracts:snapshot\`: no change in this round; against \`main\` the OpenAPI snapshot differs by \`ResponseMetadata.processing\_note\` only.
> \- \`origin/main\` had nothing new for this round (merged once earlier).
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 8:06pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8261 "2026-11-05T20:06:53Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/229b1053a53b5e70de8dce254c924290ba56acd0>
>
> Closes #3706
> 
> \## What changed
> 
> Maintainer's decision on #3706: files only, with …\`--target\` and \`--with-metadata\` on the command; SQL sinks refuse.
> 
> \- \*\*\`DwdWeatherAlertResult.to\_target(target, if\_exists="replace", \*, with\_metadata=False, pretty=False)\`\*\*: \`file://alerts.json\`, \`.geojson\` or \`.csv\` (extension read in any case). A file holds what the REST API answers for that format (\`render\_alerts\`), so the \`metadata\` block is built by the one builder (\`alerts\_metadata\`) and whatever #3797 adds to it (\`processing\_note\`) comes along by itself. JSON and GeoJSON carry the block in the file and are on one line unless \`pretty\` (a district snapshot: 614 KB, 3.7 MB indented); CSV is bare.
> \- \*\*\`with\_metadata=True\`\*\* writes \`\<file\>.metadata.json\` beside any of the three (the block of \`/api/alerts\`, built by \`metadata\_block\`, which now knows the alerts result).
> \- \*\*A CSV row is an alert\*\*, the row of \`result.df\` (one CAP message), however many areas it covers: the 28 columns in the frame's order, text as is, times ISO 8601 UTC, \`warncell\_ids\`, \`area\_names\` and \`groups\` comma-joined, \`parameters\` and \`geometry\` as JSON text. Documented with an example on the alerts page, with the limits (a comma in an area name; a geometry longer than an Excel cell or Python's default \`csv\` field limit: read it from the JSON). \`to\_csv\` is unchanged, so the file, \`--format=csv\` and the REST CSV are the same text.
> \- \*\*A snapshot without a warning\*\* still writes the file (\`"alerts": \[\]\` beside the block in JSON, no features in GeoJSON, the CSV header), where the other results leave a target alone: no warning is an answer, and a file a schedule rewrites must not keep the run before's warnings. This is also what the command did.
> \- \*\*Refusals\*\* (\`ExportRefusedError\`, nothing written): a database target (an alert is nested, no table design yet) and any other file type, naming \`.csv, .geojson, .json\`. The extension is read before the file is looked for, so an existing \`.parquet\` is refused by its type under \`skip\` and \`fail\` too; the other results keep their order. \`append\` and \`if\_exists="fail"\` as for other file targets.
> \- \*\*Reuse\*\*: \`ExportMixin\` is not used (the alerts result is not one); the file rules are the same function, \`\_write\_file\` in \`io/sinks.py\`, which takes the writers of the result. \`io/export.py\` is untouched.
> \- \*\*CLI (breaking, marked so in the changelog)\*\*: \`alerts --target\` already existed and wrote what \`--format\` said under any name. It now goes through \`to\_target\`: the extension decides the format, as for \`stations\`. \`--target=feed.txt\` or no extension (exit 0, JSON) and \`--format=geojson --target=x.json\` now exit 2; \`--target=x.csv\` without \`--format\` wrote JSON and now writes CSV. Instead: name the file after the format, or redirect stdout. \`--if-exists\`, \`--with-metadata\` added; \`--with-metadata\` needs \`--target\`; \`--pretty\` indents a JSON or GeoJSON file, as before. A path without the scheme is turned into a \`file://\` URI by writing only \`%\` and \`?\` as the URI reads them, so a name that is not UTF-8 (which \`quote\` raised on) works.
> 
> \## Known limit
> 
> The parser reads the first \`\<info\>\` of a CAP message (the \`mul\` product bundles 8), so the other languages are in no format. Documented on the alerts page; tracked in #3801.
> 
> \## Contract snapshots
> 
> \`contracts:snapshot\` run and read: only the CLI help snapshot changes (the \`alerts\` options); OpenAPI and the public surface do not. \`contracts:baseline\` not run.
> 
> \## Checks
> 
> \- \`poe format\`, \`poe lint\`, \`poe typecheck\`: clean. \`poe docs\`: builds without a warning.
> \- Offline selection (\`-n 4\`, \`not remote and not explorer and not cflake\`): 12843 passed, 45 skipped without the docs group; 12885 passed, 3 skipped with it. The 3 \`cflake\` tests serially: 3 passed, in both.
> \- New tests: \`tests/provider/dwd/alerts/test\_to\_target.py\` and \`tests/ui/cli/test\_cli\_alerts.py\` (files, CSV row with several areas, empty snapshot, sidecar, builder, \`if\_exists\`, extension before file, compact and \`--pretty\`, plain-path names, refusals).
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 8:49pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8262 "2026-11-05T20:49:06Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/9e2d4fdc2a32891a8710a5110399f82042986262>
>
> Closes #3681 (section 3, more internal-consistency relations). Section 1 landed …in #3782, section 2 in #3795; the one relation of the issue left out is the optional sum of parts, which the maintainer decided not to build (2026-11-05). Nothing else in the issue is open.
> 
> \## What changed
> 
> The new check \`relations\` holds the readings of \*\*one row\*\* (same station, same timestamp, same file: a dataset the provider collects whole) to each other, on \*\*every observation network\*\* that has two parameters of its table in one dataset. It is a check of its own and \*\*not \`consistency\`\*\*: \`consistency\` keeps the rules a provider hands the core for its own source (DWD road, Météo-France), flags the one reading the rule names and stays \*\*hard\*\* by default; \`relations\` is one table for every provider, flags \*\*both\*\* readings of a broken pair and is \*\*soft\*\* by default. Neither changes what the other does. The page has the table and a section on which to set.
> 
> | relation | tolerance | source |
> | --- | --- | --- |
> | maximum \>= mean \>= minimum, for every triple of a dataset (air temperature at 2 m and 5 cm, relative humidity, site and sea level pressure); a maximum and a minimum are held to each other where the mean is no reading. \*\*Not for the daily temperatures of Météo-France, nor FMI's daily mean\*\* (the windows differ, below) | none | WMO-No. 100 3.3.6, Durre et al. 2010, ECA&D, Vejen et al. 2002 |
> | dew point \<= air temperature | 0.2 K | Vejen et al. 2002 (gamma 0.2 recommended); Zahumenský 2004, HadISD, MADIS take 0 |
> | gust \>= mean wind of the same interval (\`wind\_gust\_max\`/\`wind\_speed\_mean\`, \`...\_last\_10min\` pairs), highest rolling mean \>= mean and \>= lowest | none | Zahumenský 2004 (II.c); own derivation for the rolling means |
> | sunshine \<= day length at the station's position and date | +5 % (ECA&D, D5) | WMO-No. 100, ECA&D; own derivation for the day length (below) |
> 
> \- \*\*Which reading is flagged\*\*: both of a violated pair; for a triple those of the broken pair (a maximum below the mean flags the maximum and the mean, not the minimum); the one sunshine reading of a day.
> \- \*\*Soft by default\*\* (\`suspect:relations\`, value kept), \`hard\` nulls both as \`rejected:relations,raw:\<text\>\`; covered by \`plausibility="soft"|"hard"\`, \`Options\`, \`WD\_TS\_PLAUSIBILITY\_\_RELATIONS\`, \`--plausibility-relations\`, \`plausibility\_relations\` in REST and MCP. Additive (\`### Added\`). As for every suspect value, interpolation, summaries, stripes and \`skip\_empty\` leave a flagged reading out, so a good reading beside a wrong one leaves them too (migration table row added).
> \- A check never downloads: the relation stands aside for a null, a code of the source and any reading another check judged bad (soft or hard); a relation across two files is not judged; a dataset collected a parameter at a time (SMHI, WSV, EA, Hub'Eau) has none. The partner of a relation is read beside the parameter you asked for, as the air beside a road surface is.
> \- \*\*The day length\*\* reuses the sun position of the road rule (#3669), moved to \`model/sun.py\`, and adds the longest day length of the date (the day, the day before, the day after: the source's clock is not always UTC, and near the polar circles the day moves by hours), the refraction and disc (-0.833 degrees) and the dip of the horizon of a summit (1.76' times the root of the elevation: the plain day put 6 readings of the Zugspitze and the Feldberg above 5 %, with the dip 1). A station without a position, 0/0 or off the globe is stood aside for.
> 
> \## Evidence
> 
> Real data read 2026-11-05: DWD open data, historical and recent merged, whole histories, 10 stations per resolution (Dresden-Klotzsche, Hamburg, Potsdam, Zugspitze, Helgoland, Arkona, Feldberg, Berlin-Tempelhof, Straubing, Trier-Petrisberg). "Judged" are the pairs (or sunshine readings) with both values and that no other check found bad; "broken" are pairs (twice that many flagged readings).
> 
> | resolution | relation (dataset) | judged | broken | what they are |
> | --- | --- | --- | --- | --- |
> | daily | max \>= mean, mean \>= min of the air temperature (\`climate\_summary\`) | 321,379 / 321,375 | 0 / 0 | |
> | daily | gust \>= mean wind (\`climate\_summary\`) | 208,959 | 2 | Zugspitze 1994-08-10 (mean 10.3 m/s, gust 8.7), Dresden-Klotzsche 1994-05-01 (4.9 beside 4.8): real inconsistencies |
> | daily | sunshine \<= day (\`climate\_summary\`, \`solar\`) | 306,534; 94,005 | 1; 0 | Zugspitze 1919-11-04: 11.0 h on a day of 10.28 h at the summit (limit 10.8). Without the horizon dip: 6 (5 Zugspitze, 1 Feldberg) |
> | hourly | dew point \<= air + 0.2 K (\`dew\_point\`) | 4,513,204 | 398 | 354 at the Zugspitze, Feldberg, Trier, 1940s to 2000: 116 by more than 5 K (sign or digit: -30.0 beside 32.0), 80 by 1 to 5 K, 174 by 0.5 to 1 K (169 by exactly 1.0 K, 166 before 1981, whole degrees), 28 by 0.2 to 0.5 K |
> | hourly | dew point \<= air (\`moisture\`) | 4,501,288 | 0 | derived by DWD |
> | hourly | sunshine \<= day (\`sun\`) | 4,905,458 | 0 | |
> | 10 min | dew point \<= air + 0.2 K (\`temperature\_air\`) | 15,470,302 | 925 | \*\*912 of 928 are at a relative humidity of 100 %\*\* (Arkona 727, Potsdam 190): a saturated hygrometer's dew point reads 0.2 to 1.0 K above the thermometer beside it (617 by 0.2 to 0.5 K); 9 by more than 5 K (72.8 °C beside 24.4, Dresden 1992) |
> | 10 min | max \>= min at 2 m / 5 cm (\`temperature\_extreme\`) | 16,286,918 / 5,388,500 | 42 / 1 | Helgoland 26 on 2008-12-01 (up to 0.8 K), Straubing 14 (0.2 K) |
> | 10 min | highest \>= lowest rolling mean (\`wind\_extreme\`) | 9,821,075 | 5 | |
> | 10 min | sunshine \<= day (\`solar\`) | 15,906,485 | 0 | |
> 
> \*\*Météo-France and FMI: the daily mean is not of the window of the extremes (found by the review, now measured).\*\* \`meteofrance/observation daily/core\`: TM is the "moyenne quotidienne des températures horaires", the description of the fields gives no window for TN and TX (it gives one for the rain only), and at Bordeaux-Mérignac (33281001), 2023-12-01, TX 9.3, TM 8.3, TN 8.5 are all good (TN is the lowest value from 18 UTC the evening before to 18 UTC; the hourly series falls to 5.8 °C by 23 UTC). Over the 36 stations that still report, 2019 to 2025 (128,796 rows): TM below TN on 6 of 17,565 days, above TX on 2 of 17,563 (the review: 9 of 32,646 at 7 stations); TX against TN holds on 20,312 days, but no window is given that makes it hold, so \*\*the whole daily temperature ladder of \`meteofrance/observation daily\` is left out\*\* (the hourly TX/TN "within the hour" stay: 10,454 pairs, 0 broken; the gust against the mean wind stays: 5,555, 0 broken). FMI (\`opendata.fmi.fi/meta\`): \`tday\` has aggregation period P1D, \`tmax\` and \`tmin\` PT24H, two periods of the source's own naming; 40 stations, 2010 to 2023 (295,204 rows): TM against TN 3 of 65,316 days broken (0.1 K), TX against TM 0 of 65,317. \*\*FMI's mean is left out; its maximum against its minimum, both PT24H, stays\*\* (21 days judged where the mean is null, 0 broken; Sodankylä 2012-11-12 is one of the 3). The exceptions are \`NOT\_ONE\_WINDOW\` in \`model/relations.py\`, listed on the page with these numbers.
> 
> Other key-less networks, a random sample of up to 40 stations still reporting (daily 2019 to 2023 unless stated):
> 
> | network, resolution | relation | judged | broken |
> | --- | --- | --- | --- |
> | Météo-France SYNOP, 40 stations, 2023 to Oct 2025 | dew point against air; gust against mean of ten minutes | 126,344; 87,708 | 0; 0 |
> | NWS, 40 stations, one week | dew point against air | 3,841 | 0 |
> | DMI daily | TX/TM; \*\*TM/TN\*\*; humidity and pressure triples; gust and rolling mean against mean | 7,138; 7,138; 3,523 and 3,556; 6,647 and 6,651 | 0; \*\*14\*\*; 0; 0 |
> | MeteoSwiss daily, 40 stations | triples at 2 m and 5 cm; gust; sunshine | 67,438; 36,443; 69,170; 51,333 | 0 |
> | Geosphere daily, 18 stations | max, (max+min)/2, min; gust against mean; sunshine | 18,161; 18,140; 15,209 | 0; \*\*13\*\*; 0 |
> | CHMI, RMI, IMGW synop daily | triples; sunshine | 3,652; 23,712; 5,478 (sunshine 3,651; 21,305) | 0 |
> 
> DMI's 14 are one station (Vestervig, 06051): a mean up to 2.2 K below the lowest hourly value of the day, which the source defines over the same hours (kept: a real inconsistency). Geosphere's 13 are one station (15300): a gust 0.2 to 0.3 m/s below the daily mean wind. Also 0 broken, from the first look at 2023 (two stations each): Geosphere hourly and 10 minutes, RMI hourly sunshine, FMI Sodankylä hourly (8,734 gust/mean of ten minutes, 8,737 dew points), MeteoSwiss hourly, ECCC hourly (8,731), DMI hourly (697), GHCN-Daily 2018 to 2023 (62,144 days of TMAX against TMIN at six ASOS stations, 40 cooperative stations with observers at different hours and three European ones; 13,101 days of the humidity triple at the ASOS stations), DWD POI (100 dew points, 25 sunshine readings). DWD road, one day: 3,750 dew points, 7 broken (station O329: a dew point of 2.3 beside an air of 1.6). \*\*Not measured\*\*: the keyed providers (KNMI, MET Norway, Met Office, AEMET), IMGW \`climate\` (no rows for the stations asked), GHCN-Daily's mean air against mean dew point (no station of the sample reports both; in the table and unmeasured there, as decided), a sunshine duration at a polar station (no key-less one reports it; Tromsø is tested against the Almanac).
> 
> \*\*What I got wrong the first time.\*\* The PR body said that Météo-France and NWS "returned no readings" and that the keyed providers needed a key. Météo-France and NWS are key-less. My loader chose two stations by rank near a point and a window (Paris-area stations for 2023; NWS keeps about a week, and I asked for June 2023), got 0 rows, and I wrote that as a fact about the sources instead of checking my selection. Redone with stations drawn from the list of those still reporting and windows each source has: the table above and the Météo-France findings.
> 
> \*\*False alarms and traps, measured rather than assumed:\*\*
> 
> \- \*\*Rounding of the mean against max or min\*\*: no violation in 321,379 DWD days; a rounding is monotone, so it cannot break an order.
> \- \*\*Max and mean from different windows\*\* (climate day, 06-06 window, terms): DWD daily 0 broken of 321k and GHCN-Daily cooperative stations (observers at different hours) 0 of 44,638 days, \*\*but Météo-France's TM against TN breaks on 6 of 17,565 days and FMI's on 3 of 65,316 (the review's catch): by the source's definition the windows differ, so those ladders are left out, not loosened.\*\*
> \- \*\*Gust against mean of different intervals\*\*: only pairs the canonical names pair are judged (not an hourly gust beside \`wind\_speed\_mean\_last\_10min\`). \*\*DWD's 10-minute highest rolling mean of the wind is above the gust in 1.4 % (137,356 of 9.8 million)\*\*, by 0.1 to 0.5 m/s in most (11,709 above 0.5, 2,371 above 1, 8 above 5 m/s): the rolling window begins before the interval, so the order does not hold by the source's definition. \*\*Listed as not judged with this reason, not loosened.\*\*
> \- \*\*Calm wind\*\*: gust 0 beside mean 0 is no violation (the order is not strict).
> \- \*\*Dew point near saturation with whole-degree rounding\*\*: see the table: at 10 minutes 912 of the 928 pairs above 0.2 K sit at a humidity of 100 %; \*\*this is the false-alarm class\*\* and it costs both readings (0.006 % of the readings). A 0.5 K tolerance would remove 617 of the 928 and keep 311; I kept the sourced 0.2 K (below, for the maintainer).
> \- \*\*Sunshine near the polar day\*\*: no key-less data; tested on synthetic days against the Almanac (Tromsø 0 h at the December solstice, 24 h at the June one, and a date one day off).
> \- \*\*Wrong station positions\*\*: 0/0, a missing position and a number off the globe are stood aside for; a position on Earth but wrong is not seen: a degree of latitude moves the December day by 0.13 to 0.22 h at 45 to 55 degrees north (the margin is 0.4 to 0.9 h) and the June day at 65 degrees by about 2 h.
> 
> \## The effect on \`step\`
> 
> \`relations\` runs before \`step\`, which treats a reading any other check judged bad as no neighbour; a reading \`relations\` flagged is therefore no neighbour either, and can hide a real spike and move its flag. Measured on the 10 stations' whole histories, the same code with and without the check:
> 
> | dataset | \`relations\` flagged readings | \`step\` flags before | after | lost | gained |
> | --- | --- | --- | --- | --- | --- |
> | hourly \`dew\_point\` | 796 (398 pairs) | 991 | 944 | 47, all at readings now \`suspect:relations\` | 0 |
> | 10 minutes \`temperature\_air\` | 1,850 (925 pairs) | 738 | 732 | 6: 4 now \`relations\`, 2 at Arkona 1993-09-11 11:50 next to a flagged neighbour | 0 |
> | daily \`climate\_summary\` | 5 | 0 | 0 | 0 | 0 |
> | hourly \`moisture\` | 0 | 1,538 | 1,538 | 0 | 0 |
> 
> No flag of \`step\` moved to a good reading in this data. The mechanism exists and is pinned by a test (an hourly series 10, 10, 10, 45, 10 with a maximum of 5 beside the third mean: the 45 is not judged, the 10 after it is flagged \`suspect:step\`), and the page states it as a caveat, as for \`stuck\`.
> 
> \## Timing
> 
> \`values().all()\` of DWD files from the cache, median of 3 runs, the table of relations patched empty (off) and as shipped (on); run noise is about 3 %:
> 
> | scenario | readings | off | on |
> | --- | --- | --- | --- |
> | hourly/moisture, 1 station | 3,604,307 | 2238 ms | 2241 ms (+0 %) |
> | hourly/dew\_point, 1 station | 1,032,059 | 1081 ms | 1060 ms (-2 %) |
> | hourly/sun, 1 station | 511,050 | 443 ms | 489 ms (+10 %) |
> | 10\_minutes/temperature\_air, 1 station | 8,089,649 | 6286 ms | 6082 ms (-3 %) |
> | 10\_minutes/temperature\_extreme, 1 station | 5,549,085 | 3995 ms | 4112 ms (+3 %) |
> | 10\_minutes/solar, 1 station | 4,348,298 | 3422 ms | 3547 ms (+4 %) |
> | daily/climate\_summary, 1 station | 451,082 | 283 ms | 290 ms (+3 %) |
> | daily/climate\_summary, 10 stations | 4,176,632 | 2678 ms | 2867 ms (+7 %) |
> 
> Single-parameter requests (the review found that a request reading no partner still paid for every relation's: +31 % and +12 %; \`read\_beside\` now reads a partner only for a parameter that is in the relation):
> 
> | scenario | readings | off | on |
> | --- | --- | --- | --- |
> | hourly/moisture/humidity\_absolute (in no relation), 1 station | 514,885 | 978 ms | 935 ms (-4 %) |
> | 10\_minutes/temperature\_air/pressure\_air\_site (in no relation), 1 station | 1,630,848 | 3366 ms | 3155 ms (-6 %) |
> | hourly/moisture/temperature\_dew\_point\_2m (reads the air beside it), 1 station | 514,885 | 1008 ms | 1229 ms (+22 %) |
> | daily/climate\_summary/temperature\_air\_max\_2m (reads the mean and the minimum), 1 station | 33,181 | 164 ms | 183 ms (+12 %) |
> 
> (The first version computed the day length for every reading: 10-minute \`solar\` +15 %; it is now computed once per date.) \*\*On the offline fixtures\*\*: over the 5,264 offline tests of \`tests/provider\` and \`tests/model\` the check ran 4,518 times on 614,175 readings, 8.5 s in all (1.9 ms a frame, the fixed cost of polars: a frame of the fixtures has 136 readings), against 6.4 s for \`step\` and 4.5 s for \`stuck\`'s run judge over the same frames.
> 
> \## Tests
> 
> \`tests/model/test\_relations.py\` (107 tests, both modes): \*\*every relation of every dataset that has one\*\* (derived from the metadata) at its limit, at its tolerance and just beyond (both readings flagged, nothing else); the triple (the broken pair only, the maximum against the minimum where the mean is no reading, equal readings, \`0.1 + 0.2\`); a null, a code (\`raw:\`) and a partner \`range\` rejected (soft, hard, and \`range\` soft) stand aside; different timestamps; hard (\`rejected:relations,raw:12.5\`, both nulled) and soft; a bare \`hard\`; a forecast; dew point at and beyond 0.2 K and at whole degrees; gust below the mean, a calm, the rolling mean not held to the gust, an hourly gust beside a mean of ten minutes, the pair of ten minutes; the day length against the Almanac (Hamburg, the equator, Tromsø polar night and day, a summit, a date one day off); sunshine at the limit and beyond, hard, the polar night and day, a summit, an elevation that is no height, no usable position (None, 0/0, off the globe, NaN), hourly; a dataset collected a parameter at a time and a forecast have none; the interaction with \`step\` (a relation-flagged reading is no neighbour; the hidden spike is pinned); a random-series test of 12 seeds against a reading-by-reading judge. \*\*Since the review: a sunshine stub beyond the day (the real Zugspitze day of 1919-11-04 at its position and 2,956 m, soft and hard), a test that the station's elevation reaches the horizon dip (on \`daily/solar\`, which has no pressure that would read the elevation anyway), the Météo-France and FMI exemptions, a single-parameter request (judged through its partners) and one for a parameter in no relation (reads no partner). \*\*Each of the three plumbing mutations the review made fails now\*\* (\`position = None\`, \`needs\_elevation = plan.pressure\`, dropping the partners in \`read\_beside\`), and so does reading every relation again. A mutation run of 17 edits\*\* (\`gt\` for \`ge\`, only one reading flagged, the skip pair beside a mean, a partner another check judged bad, sunshine inverted, no elevation, no margin, 0/0 a place, no position check, tolerance 0 and 0.5, the gust held to the rolling mean, the instantaneous air as a mean, months judged, one day only, no horizon dip) is killed by the tests. \`tests/test\_docs\_plausibility.py\` holds the coverage rows (\`\*\` for \`relations\`, derived from the table and the metadata, a second derivation from the plan) and the soft default; \`tests/model/test\_relations.py\` holds the page's table to the code; two DWD value stubs name the tokens (the real day of Dresden-Klotzsche 1994-05-01, mean wind 4.9 m/s beside a gust of 4.8: \`suspect:relations\` on both, \`rejected:relations,raw:4.8\` and \`raw:4.9\` hard).
> 
> \*\*Frames snapshot diff\*\*, read (twice): six entries for the two new dew/wind stubs, six more for the two sunshine stubs, and \*\*one existing frame changed\*\*: \`test\_metno\_frost\_sunshine\_duration\_is\_read\_as\_hours\[daily...\]\`, whose fixture served 10.4 hours of sunshine on 2020-01-01 at Oslo (a day of 6 hours: a number no sunshine recorder produces). It is a test of the unit (hours, not seconds), so its date moved to 2020-06-01 (a day of 18.7 hours), with the same 10.4; the test's id is unchanged. No other offline fixture's frame changes. The OpenAPI and CLI help snapshots are regenerated (\`plausibility\_relations\`, \`--plausibility-relations\`, additive); no release baseline is touched. \`test\_dwd\_road\_weather\_the\_sun\_stands\_where\_the\_observatory\_puts\_it\` now imports \`sun\_elevation\` from \`wetterdienst.model.sun\`, where the road's sun moved (no change of the function).
> 
> Runs on the final head: \`uv run poe format\`, \`lint\` and \`typecheck\` clean; \`uv run poe "contracts:snapshot"\`: nothing to change after the merge of #3797 (the OpenAPI snapshot is regenerated and equal); \`uv run poe "frames:snapshot"\`: the diff above; \`uv run poe "test:offline"\` \*\*without the docs group\*\* (the venv synced with \`uv sync\` and the testing flavour's extras only): 13,000 passed, 46 skipped, 0 failed (6 min 47 s); with the docs group, the offline selection minus the \`cflake\` tests, in parallel: 13,081 passed, 3 skipped, 0 failed; \`uv run poe docs\` builds without a Sphinx warning.
> 
> \## CI
> 
> The old head (\`a0b4821\`) failed \`Minimum dependency versions\`, \`Python 3.14 on OS windows-latest\` and the Ubuntu 3.11, 3.12, 3.13, 3.15 jobs in "Run tests" (the rest were still queued). \*\*None of the failures comes from this PR.\*\* Their failed tests are the same set that \`main\` fails at \`31f0371\` (the run before this PR, reported "success" because the matrix is \`continue-on-error\`): \`tests/provider/metno/frost/test\_api.py::test\_metno\_frost\_values\_6hour\_fallback\` (\`assert 0 == 2\`), the three live MeteoSwiss catalogue tests \`test\_a\_live\_catalogue\_has\_its\_data\[meteoswiss/observation ...\]\` (\`data\_orphan: station 'MLJ'\`: a data file the catalogue does not list), and \`test\_api\_aemet\_observation\` and the AEMET catalogue tests (\`CredentialRejectedError\`: no valid key in CI). All are remote tests; every "Offline selection" job of \`main\` and the Offline selection jobs of this PR pass. (Read from the logs of jobs 127463943305, 127463942737 and 127463943528.)
> 
> \## For the maintainer
> 
> Settled by the maintainer: the 0.2 K tolerance stays, and so does the GHCN-Daily mean air against mean dew point (unmeasured there, said above and on the page).
> 
> 1. \*\*Météo-France's daily TX against TN\*\* is left out with its means, because no window is given that makes it hold (it held on 20,312 of 20,312 days measured). If you know from Météo-France's documentation that TN and TX share the hours of a day, one line of \`NOT\_ONE\_WINDOW\` brings it back.
> 2. \*\*A gust is not held to the highest rolling mean of ten minutes\*\* (137,356 of 9.8 million at DWD). Not built; it would need a tolerance no source gives.
> 3. \*\*The maximum and the minimum are held to each other where the mean is null\*\* (GHCN-Daily has TAVG for few stations): my reading of "the violated pair" when the third reading is missing.
> 4. \*\*Hourly and 10-minute sunshine\*\* is also held to the day, which only the polar night can break.
> 5. \*\*Two real inconsistencies kept as findings, not exempted\*\*: DMI Vestervig (14 days of mean below minimum) and Geosphere station 15300 (13 days of gust below the mean).
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 5, 2026, 9:22pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8263 "2026-11-05T21:22:23Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/b5fc6dcd771ae767d70964be894b05428d6ef74e>
>
> Part of #3723
> 
> \## What
> An image that Kaleido does not draw in 120 s is now an \`I…mageTimeoutError\`, and its Chrome is closed. The test-side guard (#3741) is unchanged.
> 
> \- \`io/export.py\`: \`render\_image(fig, fmt, ...)\` replaces the six \`fig.to\_image\` calls (four \`\_to\_image\`, \`/api/stripes/image\`, CLI \`stripes image\`). It hands the figure to \`kaleido.Kaleido\` itself, with what plotly would pass: the options of \`plotly.io.defaults\` (the OpenStreetMap header, plotlyjs, mathjax) and the size and scale resolved as plotly does (argument, layout of the figure, its template, \`defaults.default\_\*\`). One clock, \`IMAGE\_TIMEOUT\` (120 s), covers the start of the browser and the drawing. The close is not under it: the browser has a 5 s grace to close after the render ended, and is then killed with its process group if it is not reaped (choreographer treats a cancelled wait as closed and would skip its own kill). A kill that fails (\`PermissionError\` from \`killpg\` on a zombie leader on macOS, \`TimeoutExpired\` or a missing \`taskkill\` on Windows) is logged as a warning and never replaces the image or the timeout error, nor skips the cancelling of the close. A \`kaleido.start\_sync\_server()\` the caller started is still reached through \`Figure.to\_image\`, unbounded.
> \- A browser that ends under the drawing (choreographer cancels what waited for it) is a \`RuntimeError\`, no longer a \`CancelledError\`, which no handler of a request catches. It is a 500 over REST: a defect or a broken machine, not a timeout.
> \- \`exceptions.py\`: \`ImageTimeoutError(WetterdienstError, TimeoutError)\`; \`failure\_status\` gives it 504. REST: a 504 problem of a new kind \`image-timeout\` with \`Retry-After\`, the limit only in the log. CLI: one line, exit 1.
> \- Floors: \`plotly\>=6.2.0\` and \`kaleido\>=1.3.0\` (before 6.1.1 and 1.0.0), a \*\*Changed\*\* entry as \`docs/usage/compatibility.md\` says for a library floor; \`uv.lock\` by \`uv lock\`, which changed the two specifiers only. \`plotly.io.defaults.plotlyjs\` exists from plotly 6.2.0; choreographer before 1.3.0 does not bound a stuck start and has no \`killpg\` (kaleido 1.3.0 requires \`choreographer\>=1.3.0\`).
> \- CHANGELOG: besides the timeout it names the two changes a caller can see: a Chrome that dies mid-draw is a \`RuntimeError\`, and a figure's own layout size is honoured on plotly 6.2 too.
> \- Docs: REST (image size, timeout, status and kind tables), Python errors, CLI exit codes, troubleshooting. \`openapi.snapshot.json\` changes by the new kind only; no baseline touched.
> 
> \## What I found
> \- Kaleido's \`timeout\` (90 s) covers only \`tab.\_calc\_fig\`. \`Browser.open\`, the tab navigation and \`close\` have no limit. plotly's \`to\_image\` cannot pass a timeout or be cancelled, hence the own call.
> \- Measured with the browser tree stopped (SIGSTOP): a stuck start hangs for ever today. Cancelling from outside is not enough: when \`open()\` is cancelled the browser is leaked, so the close has to be ours.
> \- REST today: \`WD\_RESTAPI\_TIMEOUT\` answers the client after 60 s and the thread, with its place in \`WD\_RESTAPI\_MAX\_CONCURRENT\`, waits as long as Chrome. Now the work ends: at most 120 s plus about 10 s to close or kill the browser. With the default request timeout the client still gets \`request-timeout\` first.
> \- Timing: 1.4 s warm, 3.7 s cold; the heaviest REST allows (PDF 8192 x 8192 px, 100000 points) 24 to 31 s. Hence 120 s. No setting; \`render\_image(timeout=)\` for tests.
> 
> \## Not covered
> \- #3742 (non-daemon logistro readers at exit): not touched.
> \- The 27-minute spin of #3723 stays unreproduced. A spin in Python's own loop thread cannot be bounded by any asyncio timer.
> 
> \## Tests
> \- \`tests/test\_image\_timeout.py\`: a scripted \`kaleido\` stuck on open, drawing or close with a timeout of 0.3 s; options; errors, \`TimeoutError\` and \`CancelledError\` mapping; a browser still alive after the close is killed with its group, proved by a child in its session (two variants); a failing kill leaves the image, and the timeout, as they were; running loop; sync server; no Chrome; REST 504 and CLI exit 1 end to end; docs state the same seconds; the size and scale of real PNGs against \`Figure.to\_image\` (defaults, layout, template, arguments); one real Chrome with 50 ms and no child process left. The real-Chrome tests skip where the session's kaleido server is up.
> \- Tests that stood a figure in for the image reach the stub through the \`figure\_draws\_itself\` fixture; the stubs of \`Figure.to\_image\` that could no longer fire now stub \`export.\_draw\`.
> \- \`format\`, \`lint\`, \`typecheck\`, \`contracts:snapshot\`, \`docs\`, \`test:offline\` with and without the docs group.
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 6, 2026, 12:08am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8264 "2026-11-06T00:08:07Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/2a3d2381f703fd12d7d2fe4b561cc193ecd8f2ce>
>
> Part of #3134 (the cache-headers and readiness items only; the issue stays open)…. Additive.
> 
> \## Routes
> 
> | Route | Cache-Control | ETag | Last-Modified | Why |
> | --- | --- | --- | --- | --- |
> | \`coverage\`, \`providers\`, \`glossary\` | \`public, max-age=300\` | yes | yes | read nothing from a provider; change with a release or the server's settings |
> | \`history\` | \`public, max-age=3600\` | yes | no | changes when the source does; the source says no time, and the server reads it at most every 12 h. \*\*Only an answer with rows and no \`warnings\` is kept\*\*: an empty one may be a source that answered nothing for the moment |
> | \`values\`, \`interpolate\`, \`summarize\`, \`stations\`, \`issues\`, streams, \`stripes/\*\`, \`alerts\`, \`auth\` | none | no | no | not stable by themselves (providers revise data) or not reasoned about |
> | any error | none | no | no | never kept, never a 304 |
> 
> \*\*The tag\*\* is weak (\`W/"..."\`) over the body without \`metadata.retrieved\_at\`; format and options are in the query, so another request is another tag. No route reads another request header, so no \`Vary\`. \*\*A 304\*\* means the client's copy differs from a fresh answer at most in its \`retrieved\_at\`; it omits \`X-Wetterdienst-\*\` so a cache keeps the retrieval time of the body it holds. \*\*Last-Modified\*\* of the catalogue is the start of the process or the change of \`.env\`, a mark that only moves forward: an \`.env\` that is edited, replaced by an older file or removed moves it on by at least a second. \`If-None-Match\` wins over \`If-Modified-Since\`; a bad date (overflowing ones included) is ignored.
> 
> \*\*Saving, measured\*\* against uvicorn on loopback: the transfer, not the work. \`coverage\` dwd/observation 74,189 B -\> 309 B (8.5 kB gzipped), \`providers\` 34,289 B, \`glossary\` 130,848 B, all about 4-6 ms either way. \`history\` was not measured (needs DWD).
> 
> \## Readiness
> 
> \`GET /ready\` (beside \`/health\`, unchanged): \`{"status": "ready"}\`, or a 503 problem of the new kind \`not-ready\` with \`checks\`:
> \- \`settings\`: a \`WD\_\*\` / \`WD\_TS\_\*\` setting no longer builds.
> \- \`cache\`: \*\*neither\*\* the cache directory \*\*nor\*\* the temporary directory can be written to (and the cache is not disabled). An unusable cache directory alone is not a failure: \`util/network.py\` caches in a temporary directory instead, warns once, and serves (GH-2860); only without that fallback does a download raise (checked against \`download\_file\`, and held by \`test\_readiness\_agrees\_with\_what\_a\_download\_does\`).
> 
> No provider is asked, no credential needed, not held to the host check or the cap, \`no-store\`, excluded from MCP, and a healthy probe writes no log line. The image \`HEALTHCHECK\` stays on \`/health\`.
> 
> \## For the maintainer
> 
> \- Values get no caching here. Recommendation: keep it that way; at most an \`ETag\` with \`Cache-Control: no-cache\` for a closed \`historical\` window later.
> \- The app's \`/api\` proxy does not forward \`If-None-Match\`, so a browser revalidating through the app gets a 200 (correct, no saving); \`max-age\` still saves requests. Forwarding the two headers is an app change, left out.
> \- A history with some datasets skipped silently cannot be told from a station that has no file in them (both are "no files found" today), so a partial history is kept like a whole one. A \`file-skipped\` warning there is not small: it needs the provider to know which datasets a station should have.
> \- \`max-age\` values (300 / 3600) are my choice.
> 
> Tests: \`tests/ui/test\_caching.py\`. Snapshot regenerated with \`contracts:snapshot\` (additive: \`/ready\`, \`Ready\`, \`not-ready\`, headers, 304).
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 6, 2026, 1:07am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8265 "2026-11-06T01:07:44Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/b2eb23c178938241814c6ecfba92bc8231fbe72f>
>
> Part of #3762
> 
> \## What
> 
> \`https://www.data.gouv.fr/pages/legal/licences/etalab-2.…0\` now answers \`301\` to \`.../etalab-2-0\`. The target page is titled "Licence Ouverte 2.0" / "Open Licence 2.0": the same licence. This changes \`ETALAB\_2\_0.url\` (what Météo-France and Eaufrance report as \`metadata.provider.license.url\`) and the two provider pages that link it. The CHANGELOG states the visible change in one entry.
> 
> Nothing else pinned the old address: a search of \`src\`, \`tests\`, \`docs\` and \`app\` finds it only in those three places and in the history of the CHANGELOG (left as it was). No contract snapshot, frames snapshot or baseline changes.
> 
> \## DMI \`no\_days\_fog\` is not in this PR
> 
> The other half of the task, adding DMI's \`no\_days\_fog\`, is \*\*not\*\* done, because the premise does not hold against the live service (read 2026-11-06, key-less):
> 
> \- The "37 stations" of the issue are 37 station records (versions of a station) in climateData's station list. They are 10 distinct stations, all in Greenland (04202, 04220, 04250, 04260, 04270, 04272, 04320, 04339, 04360, 04390), as \`docs/data/provider/dmi/observation/index.md\` already says.
> \- \`stationValue\` holds \*\*no\*\* \`no\_days\_fog\` record for any of the 10 at \`hour\`, \`day\`, \`month\` or \`year\` (0 returned for each, while the control \`no\_frost\_days\` at 04320 answers). That is what the docs page says since 2026-11-02, and it still holds.
> \- The only records are 130 climate normals: \`timeResolution\` \`30years\`, 1961-01-01 to 1990-12-31, one per station and calendar month plus \`Annual\`, \`normalOrReference\` "Climate normal", values 3 to 1370. The library models no 30-year-normal resolution.
> 
> Adding the parameter to the four resolutions would make it appear in \`coverage\` and return nothing. It needs a decision by the maintainer (see the report), so it stays out.
> 
> \## Checks
> 
> \`poe format\`, \`lint\`, \`typecheck\`; \`poe "test:offline"\` with the testing extras (12938 passed, 46 skipped) and with the testing extras plus the docs group (13205 passed, 3 skipped); \`poe docs\` (build succeeded, the built pages link \`etalab-2-0\`).
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 6, 2026, 1:55am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8266 "2026-11-06T01:55:01Z")

</div>

> <https://github.com/panodata/omniload/commit/e0e4f9301bc728c7028a1e10501c1dea04f82809>

---

<div class="post-metadata">

**Author:** ![git](https://community.panodata.org/user_avatar/community.panodata.org/git/32/8_2.png) [@git](https://community.panodata.org/u/git)\
**Post date:** [November 6, 2026, 2:28am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/8267 "2026-11-06T02:28:50Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/d7f39acfe0a11cd0785fb821c2451dfebd8614f5>
>
> Part of #3134 (the CLI item: shell completion, \`--quiet\`, \`NO\_COLOR\`). Additive;… the exit codes stay 0/1/2.
> 
> \## What changes
> 
> \- \*\*\`--quiet\`\*\* on every command that has \`--debug\`, but \`restapi\`. For the length of the command the root logger and \`wetterdienst\` are set to INFO and their handlers get a filter that lets through only errors and records marked as a response warning; both are restored when the command ends. Stderr keeps:
> - the errors (\`log.error\`/\`log.exception\`, \`NoInternetError\`, missing credentials) and click's usage errors;
> - the warnings about the answer, i.e. what the answer also carries in \`metadata.warnings\`: the \`warn\_response\` lines (skipped file, station left out by \`skip\_empty\`, parameter without rows, station id left out, ...), which now carry a \`response\_warning\` record attribute;
> - the counted warnings (\`rejected-by-plausibility\`, \`missing-value-marker\`, \`calm-wind-direction\`), which were never logged: \`values\`, \`interpolate\` and \`summarize\` now log each once, with its total, when the values are in (\`log\_counted\_warnings\`). This also happens without \`--quiet\`, and is the only change for a person not using the flag. A CSV or a \`--target\` file has no \`metadata\` block, so this is where a scheduled run learns its answer is partial. Library calls and REST are unchanged;
> - \`Nothing was written to --target.\`
> It drops progress, notes, the other warnings of the package, the command's own \`No data available\` / \`No stations available\` sentences and everything a library writes below ERROR. Kaleido/choreographer write INFO lines as the interpreter ends, after the levels are restored, so those two loggers are kept at WARNING for good. \`--quiet\` with \`--debug\` is a usage error; stdout and the exit codes are untouched.
> \- \*\*\`NO\_COLOR\`\*\* (set and not empty): the CLI styles nothing itself. The colour that can reach a terminal is uvicorn's log levels in \`wetterdienst restapi\` (it ignores \`NO\_COLOR\`; confirmed on a pty) and, on Python 3.13+, the traceback of a defect (Python honours \`NO\_COLOR\` itself). \`start\_service\` passes \`use\_colors=False\` under \`NO\_COLOR\`; the group callback sets \`ctx.color = False\`, so click's own red deprecation notices would be stripped too. A pipe is already colourless.
> \- \*\*Shell completion\*\*: click's built-in route (\`\_WETTERDIENST\_COMPLETE\`), no \`completion\` command. \`--provider\` and \`--network\` complete from the registry dict, with no provider import and no network; \`--network\` offers the networks of the \`--provider\` before it. A TAB costs about 0.65 s (the import of \`wetterdienst.ui.cli\`). The \`--provider=dw\` spelling is not completed (zsh would replace the whole word, bash offers nothing after the \`=\`); bash's \`--provider = dwd\` still narrows \`--network\`. The docs say to complete with a space.
> \- Docs: \`docs/usage/cli.md\` (Logging, Colour, Shell completion), \`docs/usage/compatibility.md\`. CHANGELOG \`### Added\` under \`\[Unreleased\]\`.
> 
> \## Tests
> 
> \`tests/ui/cli/test\_cli\_completion\_quiet\_color.py\`: real completion calls in a subprocess with every connection refused and timing; no extra provider imported; the three \`\_source\` scripts; \`--quiet\` through \`CliRunner\` and in a subprocess, including a real Kaleido render that must leave stderr empty; \`--quiet\`/\`--debug\`; escape-code checks with colour forced; the \`use\_colors\` hand-over. \`tests/ui/test\_surface\_parity.py\`: \`--quiet\` is listed in \`\_CLI\_ONLY\` and click's own options are filtered by name, not \`expose\_value\`; a real request with a real rejected value (\`--limits\`) and a \`--skip-threshold\` skip show the counted line and \`station-skipped\` on stderr, with and without \`--quiet\`, and a REST call logs no counted line.
> 
> The help snapshot diff is the \`--quiet\` entry on 14 commands; the OpenAPI and Python-surface snapshots are unchanged. No release baselines touched.
> 
> \## Maintainer choices
> 
> Decided: \`--quiet\` keeps the warnings about the answer, and \`Nothing was written to --target.\`; \`--quiet\` with \`--debug\` is a usage error; \`restapi\` has no \`--quiet\`.
> 
> Co-Authored-By: Claude Sonnet 5.5 \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_0187kUCUFKYgEkY8mDbH23V8

[Previous page](https://community.panodata.org/t/logbook-of-code-changes/16.md?page=412)

[Next page](https://community.panodata.org/t/logbook-of-code-changes/16.md?page=414)
