@maschinenlesbar.org/pegel-online-cli
    Preparing search index...

    Interface WaterLevels

    The answer of getWaterLevels.

    interface WaterLevels {
        ambiguous: AmbiguousStation[];
        notRead: string[];
        readings: StationReading[];
        reason?: string;
        searched: { stations: string[]; timeseries: string };
        status: "ambiguous" | "ok" | "empty";
        unmatched: string[];
        verdict: string;
    }
    Index
    ambiguous: AmbiguousStation[]

    Names that name several gauges: ask which one, then call again with its number.

    notRead: string[]

    Names not looked up: the caller's deadline or cancellation came first (ask for them again).

    readings: StationReading[]

    What needs attention first (high, low, gauge fault, out-dated), then the rest, as asked.

    reason?: string
    searched: { stations: string[]; timeseries: string }
    status: "ambiguous" | "ok" | "empty"

    ok: at least one reading; ambiguous: no reading, a name names several gauges; empty: no name matched.

    unmatched: string[]

    Names that name no gauge.

    verdict: string