@squawk
    Preparing search index...

    Interface Metar

    A parsed METAR or SPECI aviation weather observation report.

    A METAR is a routine scheduled weather observation; a SPECI is an unscheduled special observation triggered by significant weather changes. Both share the same structure and are parsed by the same function.

    interface Metar {
        altimeter?: Altimeter;
        dewpointC?: number;
        flightCategory?: FlightCategory;
        isAutomated: boolean;
        isCavok: boolean;
        isCorrected: boolean;
        isNoSignificantChange: boolean;
        observationTime: DayTime;
        raw: string;
        remarks?: MetarRemarks;
        rvr: RunwayVisualRange[];
        sky: SkyCondition;
        stationId: string;
        temperatureC?: number;
        type: MetarType;
        visibility?: Visibility;
        weather: WeatherPhenomenon[];
        wind?: Wind;
    }
    Index

    Properties

    altimeter?: Altimeter

    Altimeter setting.

    dewpointC?: number

    Dewpoint temperature in whole degrees Celsius.

    flightCategory?: FlightCategory

    Derived flight category based on ceiling and visibility (VFR, MVFR, IFR, LIFR).

    isAutomated: boolean

    True when the observation was produced by an automated station (AUTO).

    isCavok: boolean

    True when CAVOK (Ceiling And Visibility OK) is reported, primarily used in ICAO format.

    isCorrected: boolean

    True when the observation is a correction to a previously issued report (COR).

    isNoSignificantChange: boolean

    True when NOSIG (no significant change) is appended, primarily used in ICAO format.

    observationTime: DayTime

    Observation time (UTC). The day field is always present for METAR/SPECI.

    raw: string

    The original raw METAR/SPECI string as provided to the parser.

    remarks?: MetarRemarks

    Parsed remarks section. Only present when the report contains a RMK group.

    Runway Visual Range reports. Empty array when no RVR is reported.

    Sky condition including cloud layers, vertical visibility, and clear sky indicators.

    stationId: string

    ICAO station identifier (e.g. "KJFK", "EGLL", "PANC").

    temperatureC?: number

    Temperature in whole degrees Celsius.

    type: MetarType

    Whether this is a routine METAR or a special (SPECI) observation.

    visibility?: Visibility

    Prevailing visibility.

    Weather phenomena groups (e.g. rain, snow, fog, thunderstorm). Empty array when no weather is reported.

    wind?: Wind

    Wind information.