metar-taf-parser icon indicating copy to clipboard operation
metar-taf-parser copied to clipboard

Weather conditions are not showing up in remarks

Open jrozbicki opened this issue 2 years ago • 0 comments

I've tried demo example on website:

weatherConditions: [
    {
        "intensity": "VC",
        "descriptive": "TS",
        "phenomenons": []
    },
    {
        "phenomenons": [
            "SN"
        ]
    },
    {
        "descriptive": "FZ",
        "phenomenons": [
            "FG"
        ]
    }
]
remarks: [
    {
        "type": "AO2",
        "description": "automated station with a precipitation discriminator",
        "raw": "AO2"
    },
    {
        "type": "PrecipitationBeg",
        "description": "thunderstorm beginning at :40",
        "raw": "TSB40",
        "phenomenon": "TS",
        "startMin": 40
    },
    {
        "type": "SeaLevelPressure",
        "description": "sea level pressure of 1017.6 HPa",
        "raw": "SLP176",
        "pressure": 1017.6
    },
    {
        "type": "HourlyPrecipitationAmount",
        "description": "2/100 of an inch of precipitation fell in the last hour",
        "raw": "P0002",
        "amount": 0.02
    },
    {
        "type": "HourlyTemperatureDewPoint",
        "description": "hourly temperature of -1.7°C and dew point of -1.7°C",
        "raw": "T10171017",
        "temperature": -1.7,
        "dewPoint": -1.7
    }
]

Unfortunatelly remarks don't really contain any weather information, while there are some mappings in en locale to describe that. Is this a bug & is it fixable?

jrozbicki avatar Aug 16 '23 12:08 jrozbicki