Saxonberg Server API
    Preparing search index...

    A resolved weather reading for an instant + locality.

    interface WeatherSample {
        cloud: number;
        deviation: WeatherDeviation;
        precipitation: "none" | "rain" | "snow";
        season: Season;
        segmentIndex: number;
        type: WeatherType;
    }
    Index

    Properties

    cloud: number

    Cloud cover descriptor for the current type (0..1).

    deviation: WeatherDeviation

    The interpolated per-field deviation at the instant.

    precipitation: "none" | "rain" | "snow"

    Precipitation descriptor for the current type.

    season: Season

    The season governing the grammar at this instant.

    segmentIndex: number

    The integer segment index floor(time / SEGMENT_LENGTH_S).

    The current segment's weather type (piecewise-constant).