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

    Type Alias MeasurementWindow

    MeasurementWindow:
        | {
            measurements: Measurement[];
            missing: number;
            notes: string[];
            searched: {
                end?: string;
                start: string;
                station: string;
                timeseries: string;
            };
            series: { comment?: string; shortname: string; unit?: string };
            station: StationSummary;
            status: "ok";
            total: number;
        }
        | {
            candidates: StationSummary[];
            searched: {
                end?: string;
                start: string;
                station: string;
                timeseries: string;
            };
            status: "ambiguous";
            total: number;
        }
        | {
            reason: string;
            searched: {
                end?: string;
                start: string;
                station: string;
                timeseries: string;
            };
            status: "empty";
        }

    The answer of getMeasurements.

    Type Declaration

    • {
          measurements: Measurement[];
          missing: number;
          notes: string[];
          searched: {
              end?: string;
              start: string;
              station: string;
              timeseries: string;
          };
          series: { comment?: string; shortname: string; unit?: string };
          station: StationSummary;
          status: "ok";
          total: number;
      }
      • measurements: Measurement[]

        Oldest first; value null where the gauge sent no value. Forecast points carry type and initialized.

      • missing: number
      • notes: string[]
      • searched: { end?: string; start: string; station: string; timeseries: string }
      • series: { comment?: string; shortname: string; unit?: string }
      • station: StationSummary
      • status: "ok"
      • total: number
    • {
          candidates: StationSummary[];
          searched: {
              end?: string;
              start: string;
              station: string;
              timeseries: string;
          };
          status: "ambiguous";
          total: number;
      }
    • {
          reason: string;
          searched: {
              end?: string;
              start: string;
              station: string;
              timeseries: string;
          };
          status: "empty";
      }