The filter values of a stations.list call that matched nothing in its result. The
API drops an ids entry it doesn't know and answers an unknown waters or fuzzyId
with [], both with HTTP 200, so ids: ["BONN", "KOELN", "EMMERICH"] silently gave two
stations and waters: "Rhine" an empty river. This reports each ids entry that names
none of the returned stations (by uuid, number, shortname or longname, ignoring case),
and a waters or fuzzyId filter whose result is empty. An empty array means every
filter matched.
When the call looked stations up by name (ids or fuzzyId), it also reports every
shortname that two or more returned stations share: NEUSTADT names a gauge on the
LEINE and one on the OSTSEE, and a lookup by that name (stations.get("NEUSTADT"),
timeseries.currentMeasurement("NEUSTADT")) silently returns one of them — the uuid
or number picks the right one, and stations.assertUnique refuses such a name before
the lookup. The CLI prints all notes on stderr.
The filter values of a
stations.listcall that matched nothing in its result. The API drops anidsentry it doesn't know and answers an unknownwatersorfuzzyIdwith[], both with HTTP 200, soids: ["BONN", "KOELN", "EMMERICH"]silently gave two stations andwaters: "Rhine"an empty river. This reports eachidsentry that names none of the returned stations (by uuid, number, shortname or longname, ignoring case), and awatersorfuzzyIdfilter whose result is empty. An empty array means every filter matched.When the call looked stations up by name (
idsorfuzzyId), it also reports every shortname that two or more returned stations share: NEUSTADT names a gauge on the LEINE and one on the OSTSEE, and a lookup by that name (stations.get("NEUSTADT"),timeseries.currentMeasurement("NEUSTADT")) silently returns one of them — the uuid or number picks the right one, andstations.assertUniquerefuses such a name before the lookup. The CLI prints all notes on stderr.