# 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:** 352

<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:** [September 1, 2026, 11:06am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7028 "2026-09-01T11:06:31Z")

</div>

> <https://github.com/panodata/omniload/commit/4c84a9b1cd6fd3264b16b6079caacababee48217>

---

<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:** [September 1, 2026, 11:10am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7029 "2026-09-01T11:10:24Z")

</div>

> <https://github.com/panodata/omniload/commit/1b0cdc7ad88e411640a31a84eaa6f26888f3234e>
>
> Add \`--reshape \<engine\>:\<spec\>\`, restructuring each source document before
> it is… loaded: flatten nested objects into columns, coerce types, and leave
> arrays as real lists so dlt's normalizer builds child tables from them.
> 
> Why: a deeply nested source collection does not map onto a table without
> help, and doing that work row-at-a-time in Python is the slow part. Giving
> the same target three engines makes the cost of each measurable against a
> single canonical result rather than against prose.
> 
> How:
> \- codec/reshape.py: \`python\` (add\_map), \`jq\` (Tikray) and \`polars\`
> (macropipe over Arrow batches) engines behind \`create\_reshape\_mapper\`,
> which reports whether the mapper is per-row or per-batch.
> \- api.py: build the mapper before the source, so a batch engine can ask for
> \`data\_item\_format="arrow"\`, and wire it into the per-resource chain. Skip
> TypeHintMap while a reshape is active, so top-level arrays normalize into
> child tables instead of JSON columns.
> \- dlt\_filesystem: classify \`data\_item\_format\` as a run option, so it is
> subtracted from connector kwargs rather than reaching an fsspec
> constructor.
> \- pyproject.toml: \`jq\` and \`polars\` sit behind a new \`reshape\` extra.
> \- tests: the nested fixture and its canonical target, four lanes over
> duckdb and postgres (the three engines plus a server-side Mongo
> aggregation), and a comparator that drops dlt metadata and normalizes
> numerics, because only the pure-Python lane preserves \`Decimal\`.

---

<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:** [September 1, 2026, 11:35am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7030 "2026-09-01T11:35:21Z")

</div>

> <https://github.com/panodata/omniload/commit/a31a068c5b2117eb4d266f142988b87613de0411>
>
> Co-authored-by: TiM \<tim@nuimarkets.com\>
> Co-authored-by: coderabbitai\[bot\] \<1366…22811+coderabbitai\[bot\]@users.noreply.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:** [September 1, 2026, 11:36am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7031 "2026-09-01T11:36:09Z")

</div>

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

---

<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:** [September 1, 2026, 7:16pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7032 "2026-09-01T19:16:52Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/016ae7518b76e66a89992038cea5bfa5c8483e7e>
>
> \`test\_radar\_request\_site\_historic\_pe\_timerange\` requests "yesterday at this
> time…" and then asserts the BINARY payload's header carries the month-year taken
> from \`now\`. On the first of a month those are different months, so the header
> built for the assertion can never match the data the test itself asked for, and
> every run fails until the second of the month -- as happened on 2026-09-01,
> where the payload read \`PE311829101320826\` against an expected
> \`PE......101320926\`.
> 
> The month-year now comes from \`request.start\_date\`, which is the date of the
> data, as the two sibling assertions in this file already do.
> 
> \`test\_api\_latest.py\` has the same \`now\`-derived header for the \*latest\* product,
> where the two agree except in the first minutes of a month; left alone.
> 
> 
> Claude-Session: https://claude.ai/code/session\_01Vb79GWaKFu2ACYFdwHJD6W
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.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:** [September 1, 2026, 8:18pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7033 "2026-09-01T20:18:29Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/f7a5f7789f88cafd61413d7e6add0ffa4d3f0dfa>
>
> \* feat(dwd): add the POI current weather reports network
> 
> POI ("Point Of Interes…t") is DWD's observed counterpart to MOSMIX: for every
> station it forecasts for, it publishes the hourly weather reports of roughly the
> last day as one \`\<station\_id\>-BEOB.csv\` under \`weather\_reports/poi/\`. 39
> parameters at \`hourly\` resolution and the \`now\` period.
> 
> The two networks share the MOSMIX station catalogue -- all 974 POI file ids
> resolve to catalogue ids once DWD's underscore padding is stripped (\`A191\` is
> \`A191\_-BEOB.csv\`) -- so a station keeps one id across both and a forecast can be
> compared against what was measured. The catalogue reader moved to
> \`provider/dwd/catalogue.py\` and \`dwd/mosmix\` now shares it.
> 
> Two of the file's 41 columns are left unmapped, the 24-hour global and direct
> radiation. Both are declared W/m2, which a 24-hour figure cannot be. The hourly
> columns beside them are W/m2 -- summing a day of them as energy reproduces DWD's
> own measurement for the same station and day (Konstanz, 2026-08-31: 20.34 MJ/m2
> from POI against 2033.7 J/cm2 in \`10\_minutes/solar\`) -- and against that total
> the 24-hour column is proportional with a factor of 1.573 over 29 stations, at a
> spread integer rounding alone accounts for. So it is a real daily total in a unit
> of ~0.636 MJ/m2 per count, matching nothing the converter knows; declaring one
> would put a wrong unit on a right number.
> 
> \`past\_weather\_1\`/\`past\_weather\_2\` are the BUFR 0 20 004/005 codes and are only
> reported at the three-hourly synoptic hours, which is the period the new
> \`weather\_last\_3h\` / \`weather\_secondary\_last\_3h\` names state. \`present\_weather\` is
> DWD's own documented 1..31 table, not WMO 4677.
> 
> 12 new canonical parameters, with labels in all eleven app locales.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_01Vb79GWaKFu2ACYFdwHJD6W
> 
> \* fix(dwd/poi): act on the review of the POI network
> 
> \- \`\_read\_poi\_csv\` lets polars decode latin-1 instead of routing the bytes
> through \`str\` and back, which was a copy for nothing. \`pl.read\_csv(...,
> encoding="latin-1")\` is what imgw already uses, and it parses a live station
> file to a frame identical to the one the round trip produced
> \- drop \`\_MISSING\_VALUE\`, which nothing read: \`---\` is turned into a null by the
> non-strict cast rather than by a comparison against the constant
> \- say what \`read\_mosmix\_station\_catalogue\` actually does on a fetch failure. It
> raises, except for \`NoInternetError\`, where \`raise\_if\_exception\` returns
> silently and the empty frame is what a caller offline gets
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_01Vb79GWaKFu2ACYFdwHJD6W
> 
> \---------
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.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:** [September 1, 2026, 9:25pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7034 "2026-09-01T21:25:04Z")

</div>

> <https://github.com/panodata/omniload/commit/996da8009c789255e2fed0dc11fe85cf5eaeea17>
>
> ... to resolve security notices CVE-2026-15925 and CVE-2026-41608.

---

<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:** [September 2, 2026, 3:28pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7035 "2026-09-02T15:28:34Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/64a9dd81df418dd75a674183eaa4590eb03265ab>
>
> \* fix(model): say what did not match instead of dropping the parameter
> 
> A parame…ter the provider does not have was logged as one \`info\` line saying
> only that it was not found, and left out of the request. A half-resolved
> request then returned less data than was asked for with nothing visible to say
> why. Every failed lookup now names the part that missed -- resolution, dataset
> or parameter -- with the closest name as a "did you mean" and the names that
> would have matched, warns rather than informs, and \`NoParametersFoundError\`
> names the request and the provider. The REST/CLI/MCP path raises it where the
> parameters as the caller wrote them are still in hand, rather than leaving it
> to the request, which only sees the empty list they resolved to.
> 
> The lookup that builds those messages is now one helper pair behind all six
> \`\_\_getitem\_\_\`/\`\_\_getattr\_\_\` methods and \`search\_parameter\`, which drops six
> copies of the same message building and settles two disagreements between them:
> the source's own name is matched case-insensitively everywhere, as a request
> string already did, and a quality flag requested by name says that quality
> flags come back in the \`quality\` column next to their parameter instead of
> being dropped as if it did not exist -- which is what a \`ParameterModel\` taken
> straight from the metadata model used to do.
> 
> Alongside: parameters requested twice, as a dataset and as one of its
> parameters, are returned once rather than queried and returned per mention; an
> iterator of parameters no longer parses as empty, having been consumed by the
> checks that tell \`("daily", "kl")\` apart from \`\["daily/kl", "daily/solar"\]\`;
> the parts of a parameter must be strings, so \`(Resolution.DAILY, "kl")\` is a
> TypeError naming the accepted forms rather than an AttributeError from inside
> the parser; and a malformed entry such as a trailing separator is skipped with
> a warning like an unknown name, so one bad entry does not take the parameters
> listed next to it down with it.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_01Vb79GWaKFu2ACYFdwHJD6W
> 
> \* fix(model): name the request, not its metadata, when nothing resolves
> 
> Both NoParametersFoundError messages named the metadata model, while the
> changelog and PR said the error names the request. Name the concrete request
> class instead, which carries the provider and network the parameters were
> looked for in and is the object the caller actually holds.
> 
> Pin both messages with tests: a match= on the existing request-level test, and
> a non-remote REST test that also covers the ui/core branch raising it.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* fix(model): keep the requested parameters when they arrive as an iterator
> 
> parse\_parameters consumes an iterator, so the NoParametersFoundError message
> rendered the exhausted object -- "from \<list\_iterator object at 0x10b9373d0\>"
> \-- rather than the values that failed to resolve. Iterator support is new in
> this branch, so the message never survived it. Materialize before parsing.
> 
> Caught by Copilot on the previous commit.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \---------
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.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:** [September 2, 2026, 8:06pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7036 "2026-09-02T20:06:23Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/6c293ae5573b113434d97e8a308912cf3a955aea>
>
> \* fix(model): reject misspelled metadata keys and report the real validation err…or
> 
> Three sharp edges in the metadata models, none of which a provider declaration
> could see going wrong.
> 
> \`validate\_datasets\` read the two fields it cascades down to the datasets by
> index. A field that fails its own validation is not in \`validation\_info.data\`
> at all, so an unknown period surfaced as \`KeyError('periods')\` instead of
> pydantic's report of the value that is actually wrong. Read with \`get\`.
> 
> Only \`ParameterModel\` forbade extra keys. Everywhere else a typo -- a dataset's
> \`date\_requiered\`, a resolution's \`grupped\` -- was dropped without a word and the
> declaration then fell back to a default, which for \`date\_required\` means quietly
> inheriting the resolution's. \`extra="forbid"\` on the other three models; all 33
> provider declarations pass unchanged.
> 
> The name a metadata object is built with was stashed as \`validated.\_\_name\_\_\`,
> which only works because pydantic routes dunder names past its field machinery,
> and needed a \`ty\` ignore to say so. It is a declared field now, excluded from
> the dump and out of the repr, injected by \`build\_metadata\_model\` alongside the
> descriptions.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* fix(model): report only the metadata error that is real, and guard the injected name
> 
> Follow-up to the review of this branch.
> 
> Skipping the cascade when \`periods\` or \`date\_required\` fails left every dataset
> that relies on inheriting it reporting \`Field required\` -- 110 of them for one
> mistyped period in a \`DwdPhenologyMetadata\` resolution, burying the one error
> that is real. Those datasets are now left out of the validation instead; a
> dataset declaring the field itself is still validated and still reports
> anything else wrong with it.
> 
> \`build\_metadata\_model\` injects \`name\` after spreading the declaration, so a
> top-level \`name\` in a declaration was silently overwritten -- the one key
> \`extra="forbid"\` cannot catch, and a plausible one to write next to
> \`name\_short\`, \`name\_english\` and \`name\_local\`. It is rejected now.
> 
> Changelog: note that \`MetadataModel.\_\_name\_\_\` is \`MetadataModel.name\`.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \---------
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.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:** [September 3, 2026, 6:35am UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7037 "2026-09-03T06:35:07Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/09f89487cb9aaec0dcbbf22c6498391203e043f6>
>
> \`query\` checked a station's frame for emptiness before cutting it to the request…ed
> window and never after, so a station whose record lies entirely outside the window
> counted as collected and spent one of \`filter\_by\_rank\`'s slots on an empty frame.
> The ranked walk stopped short of the stations that do cover the window and the
> request came back with nothing, which reads exactly like no data existing.
> 
> \`core/interpolate.py\` and \`core/summarize.py\` paired the distance-sorted stations
> frame against \`query()\` by position. That frame carries a row per station and
> dataset while the generator yields one result per station and passes over those
> that returned nothing, so any gap read one station's values together with another
> station's coordinates and distance. Both look the station up by id now.
> 
> \`itertools.groupby\` only groups consecutive items, but \`parse\_parameters\` keeps the
> caller's order, so a dataset interleaved with another formed one group per run:
> fetched and parsed once per run in the values path, and one duplicate station row
> per run in the \`\_all\` of NOAA GHCN, Geosphere and MeteoSwiss. They share
> \`group\_parameters\_by\_dataset\` now.
> 
> A request that collected nothing returned a frame with no columns at all, which
> wrote an empty file where a header was meant and raised \`ColumnNotFoundError\` from
> \`get\_column\`. It now carries the columns a populated frame would have had, in
> whichever shape was asked for, and is logged as the ordinary outcome it is rather
> than with an exception traceback.
> 
> Skipping a station that returned nothing inside the window also removed the only
> bound on the ranked walk, so a window no station covers read every station in the
> provider. A station the index says began after the window ended is skipped without
> being downloaded; only that direction is read, since an \`end\_date\` lags on a
> station that is still reporting.
> 
> Six offline tests cover the above, each checked against the code it describes.

---

<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:** [September 3, 2026, 12:13pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7038 "2026-09-03T12:13:57Z")

</div>

> <https://github.com/panodata/omniload/commit/470ac2a5dde256f6ccef5d8343297589be46816d>

---

<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:** [September 3, 2026, 6:32pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7039 "2026-09-03T18:32:07Z")

</div>

> <https://github.com/panodata/omniload/commit/62775e1897af09d382040bf2ee2d926f63b5e0d4>

---

<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:** [September 3, 2026, 7:18pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7040 "2026-09-03T19:18:55Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/3a6c22810f182b2e4dc80c47bee3858d3de53548>
>
> \* feat(model)!: resolve periods against the metadata on every request
> 
> \`periods\`… was a field of the three request classes that hand-rolled it, so
> providers that never opted in dropped the argument -- silently through the CLI
> and REST API, as a TypeError from Python. What each of the three then did with
> it was its own copy of the same parse-and-intersect, whose empty result read as
> "no periods requested" and fell back to every period there is, so asking for a
> period a dataset is not published under returned more data than asking for one
> it is.
> 
> Periods are a required field of every dataset in the metadata, so the concept is
> universal and only the choice is sometimes trivial. \`periods\` moves to
> \`TimeseriesRequest\` and is resolved against what the requested datasets publish;
> deriving them from the requested interval stays a provider hook, \`\_get\_periods\`,
> which DWD observation and phenology override.
> 
> BREAKING CHANGE: a period none of the requested datasets publishes raises
> \`NoPeriodsFoundError\` instead of being dropped and replaced by all of them, the
> default is the requested datasets' periods rather than the provider's, and
> \`periods\` precedes the subclass fields of DWD MOSMIX/DMO positionally.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* fix(model): check derived periods, and say when periods do not narrow
> 
> Three findings from review of the previous commit.
> 
> The periods derived from \`start\_date\`/\`end\_date\` were returned without the
> check the requested ones pass, so a request could land on a period its datasets
> do not publish: an interval reaching into today derives \`now\`, which \`daily/kl\`
> has no release for, and the request then read no station index at all and
> reported no stations -- while \`periods="now"\` raises for the same datasets.
> Where the interval reaches past the newest release a dataset has, that release
> is what can answer for it.
> 
> Four providers -- SMHI, MeteoSwiss, met.no Frost and Meteo-France observation --
> declare datasets with more than one period but fetch all of them by design.
> Accepting a narrowed request from them in silence answers it with everything, so
> they say so instead. \`\_selects\_by\_period\` is a diagnostic, not a gate: a
> provider that leaves it False still validates periods, and getting it wrong
> costs a spurious warning rather than a dropped argument.
> 
> The MCP instructions and the REST \`values\` docstring both advised \`periods\` as
> "usually recent" for every provider, which is now a 400 for the ones publishing
> under a single period.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* fix(model): leave an interval that reaches no release empty
> 
> CI caught two things about the derived-period check.
> 
> An interval that overlaps no release at all -- a window in the future -- derives
> an empty set, which the fallback then widened to the dataset's newest release,
> so a request 720 days ahead would have downloaded \`recent\` to find nothing.
> There is nothing to read and nothing to fall back to, so it stays empty.
> 
> The five tests of the interval-to-release mapping asked \`daily/climate\_summary\`
> for periods including \`now\`, which it has no release for -- the assertion only
> says something when the dataset publishes the release the interval reaches, so
> they use \`10\_minutes/temperature\_air\` now. What \`climate\_summary\` does with such
> an interval is its own test.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* fix(dwd): settle a derived station on its newest description
> 
> The derived station index iterated the period set with \`reversed(list(...))\`
> before deduplicating with \`keep="first"\`, so which of a station's descriptions
> won came down to the set's iteration order. Sorted, as the observation index
> already does, the newest period wins.
> 
> The empty period set that says an interval reaches no release now stops the
> phenology values from reading anything, where it used to widen back to every
> published period and download a whole network's records to filter them all
> away. Station discovery keeps widening on purpose -- a station does not stop
> existing because the requested window lies outside every release -- which is
> now said where it happens.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \---------
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.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:** [September 3, 2026, 9:19pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7041 "2026-09-03T21:19:37Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/be5da04c8581116a91dddbc9f940b0aebbbcfa23>
>
> \* fix(dates): read a date string as the span it names
> 
> Every format the date fil…ter documents -- "2020-05", "2019", "2020-05-01" --
> was read as the instant it starts with. A single date was matched with \`==\`, so
> a month or a year of hourly readings came back empty, because none of them falls
> exactly on the 1st at 00:00, and a day came back as the reading at midnight. An
> interval ran to the first instant of the span its second half names, so
> "2017-01/2019-12" ended on the 1st of December and "2010/2020" dropped all of
> 2020.
> 
> The same reading of the string reached the CLI and REST API, where
> \`--date=2019-12\` asked for December and got a window of one instant.
> 
> \`parse\_date\_span\` returns the span a string names, from which \`filter\_by\_date\`
> builds a half-open filter and the request layer a closed window. A date carrying
> a time names one instant, as before.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* docs(dates): say what a date covers where a date is taken
> 
> The date spans were explained where they are implemented and nowhere a user
> looks. \`--date\` on \`interpolate\` and \`summarize\` carried no help text at all,
> which \`docs/usage/cli.md\` renders as the CLI's own help, so all three commands
> share one description now. \`ValuesResult.filter\_by\_date\` said only "filter
> values by date", which is what the apidocs show for the method callers actually
> reach for.
> 
> The REST and Python API pages each state what a date covers next to the examples
> that take one, the REST page with a month example beside the day and interval
> ones it already had.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* fix(dates): tell a date from a time by asking for a date
> 
> \`datetime.fromisoformat\` takes any single character between the date and the
> time, so looking for a "T" or a space called \`2020-05-01t12\` a date and answered
> it with the 24 hours following noon -- a day of readings offset by twelve, where
> one reading was asked for. A zone offset went the same way: \`2020-05-01+02:00\`
> became a day anchored at 02:00.
> 
> \`date.fromisoformat\` answers the question directly. It takes the extended, basic
> and week forms of a date and rejects everything carrying a time, which then
> falls through to \`datetime.fromisoformat\` as the instant it is.
> 
> \`create\_date\_range\`, in the module the filter lives in, still read a date as its
> first instant, so it would have handed the next caller the semantics this branch
> removes; it reads the span now. The two callers that need a closed window share
> \`parse\_date\_window\` rather than each stepping back a microsecond.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* test(cli): assert the station of every exported row, not of the only one
> 
> MOSMIX and DMO are hourly, and the export test names a day, so it now holds that
> day's readings rather than the single one at midnight -- which is what asking
> for a day is meant to give. \`.item()\` wanted a frame of exactly one row and
> raised on 24. The station of every row is the assertion that was meant, and it
> holds for the daily case just as well.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \---------
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.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:** [September 3, 2026, 10:00pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7042 "2026-09-03T22:00:16Z")

</div>

> <https://github.com/panodata/omniload/commit/29d568ad0e0286e49ad6cd4206dde5b138ab7d28>
>
> https://pola.rs/posts/announcing-polars-2/

---

<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:** [September 3, 2026, 10:04pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7043 "2026-09-03T22:04:52Z")

</div>

> <https://github.com/grafana-toolbox/grafanimate/commit/f36f4db676ab221e52be7cdaa03c0bc5da123de4>
>
> Bumps \[actions/setup-python\](https://github.com/actions/setup-python) from 6 to …7.
> \- \[Release notes\](https://github.com/actions/setup-python/releases)
> \- \[Commits\](https://github.com/actions/setup-python/compare/v6...v7)
> 
> \---
> updated-dependencies:
> \- dependency-name: actions/setup-python
> dependency-version: '7'
> dependency-type: direct:production
> update-type: version-update:semver-major
> ...
> 
> 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:** [September 3, 2026, 10:04pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7044 "2026-09-03T22:04:59Z")

</div>

> <https://github.com/grafana-toolbox/grafanimate/commit/d7acaf6c3f30bf949070c0241c967034ae68b4b8>
>
> Updates the requirements on \[twine\](https://github.com/pypa/twine) to permit the… latest version.
> \- \[Release notes\](https://github.com/pypa/twine/releases)
> \- \[Changelog\](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
> \- \[Commits\](https://github.com/pypa/twine/compare/1.3.0...7.0.0)
> 
> \---
> updated-dependencies:
> \- dependency-name: twine
> dependency-version: 7.0.0
> dependency-type: direct:development
> ...
> 
> 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:** [September 3, 2026, 10:06pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7045 "2026-09-03T22:06:14Z")

</div>

> <https://github.com/grafana-toolbox/grafanimate/commit/9f12388317ea2dce74a896152edd194cd5d13163>
>
> Updates the requirements on \[ruff\](https://github.com/astral-sh/ruff) to permit …the latest version.
> \- \[Release notes\](https://github.com/astral-sh/ruff/releases)
> \- \[Changelog\](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
> \- \[Commits\](https://github.com/astral-sh/ruff/compare/v0.0.18...0.16.0)
> 
> \---
> updated-dependencies:
> \- dependency-name: ruff
> dependency-version: 0.16.0
> dependency-type: direct:development
> ...
> 
> 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:** [September 3, 2026, 10:16pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7046 "2026-09-03T22:16:32Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/91253ee527963a74a089305fe9dd43b5e242b5cc>
>
> \* fix(model): answer an empty interpolation, and label a plot with the unit it s…hows
> 
> Three defects in the result layer, each reproduced before being fixed.
> 
> An interpolation or summary that came back with no rows raised
> \`OutOfBoundsError: gather indices are out of bounds\` from
> \`to\_ogc\_feature\_collection\`, and so from \`to\_geojson\` and the REST API's
> \`format=geojson\`, where \`to\_dict\` on the same result answered fine. The
> feature's id was read out of the frame's first row, though it belongs to the
> point rather than to any row: it is the name beside it hashed, which is how the
> interpolation builds that column in the first place. Computed from the name, it
> is identical for every populated result -- \`interpolation(48.2156,8.9784)\` still
> hashes to the \`6754d04d\` the CLI tests expect -- and it is there when no row is.
> 
> The plots labelled a parameter with a unit its values need not be in. The label
> mapping was keyed on the canonical name alone, while a frame carries
> \`name\_original\` unless \`ts\_humanize\` is on, so nothing matched and the label
> repeated the name: \`sd\_10 (sd\_10)\`. And the symbol was always the target unit's,
> though \`ts\_convert\_units=False\` leaves the values as the source published them,
> so \`10\_minutes/solar/sunshine\_duration\` came in hours under a label saying
> seconds. Both were in three copies of the same block, which now share one
> helper, and the lookup it needs is a \`get\_unit\` on the converter that
> \`update\_targets\` reuses in place of its own inline scan.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \* fix(model): key a plot's units by dataset, not by name alone
> 
> A canonical parameter name is only unique within its dataset. DWD publishes
> \`sunshine\_duration\` in hours at 10 minutes and in minutes at an hour, so a
> mapping keyed on the name alone kept whichever came last and labelled the other
> series with it -- left unconverted, a factor of 60 between the number and its
> unit, which is the mislabel the mapping was added to prevent. KNMI, Geosphere
> and NOAA GHCN each have such a pair too.
> 
> The key carries the resolution and the dataset with the name, read off the frame
> by one expression that casts the metadata columns the aggregated results bring
> back as Enum.
> 
> The plot test guards on plotly, as the tests for every other optional dependency
> in that file do -- it lives in the \`plotting\` extra, which a plain \`uv sync\`
> does not install.
> 
> Co-Authored-By: Claude Opus 5 (1M context) \<noreply@anthropic.com\>
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> \---------
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.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:** [September 3, 2026, 10:18pm UTC](https://community.panodata.org/t/logbook-of-code-changes/16/7047 "2026-09-03T22:18:44Z")

</div>

> <https://github.com/earthobservations/wetterdienst/commit/673f90c8a7158b7e2b235f6604bab3bd44587b6a>
>
> The date and result-layer entries went in above \`### Added\` rather than into the…
> \`### Fixed\` list already there, so Unreleased read Fixed, Added, Changed, Fixed.
> One list now, and the sections in the order Keep a Changelog gives them. Every
> one of the 25 entries is carried over unchanged.
> 
> 
> Claude-Session: https://claude.ai/code/session\_011BMmz23eRedUH9VTYaMQzV
> 
> Co-authored-by: Claude Opus 5 (1M context) \<noreply@anthropic.com\>

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

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