Skip to content

When requesting METAR information from aviationweather.gov, Some locations report the default condition "-" and "Unknown" for their sky coverage #134

Description

@BITBOARDDEV

Hello,

I've noticed recently that on Debian 12, the Weather Report panel has had some inaccuracies when it comes to current conditions.
I spent some time looking into the api that libmateweather uses to get its METAR information and I've noticed that it is failing to report several conditions properly for some stations.

The station ID's that I use and that are closest to me are K24J and KFPY

When the station is reporting TS or VCTS the weather report applet will report a condition of "-"
When the station reports cloud cover and then doesn't report it on the next latest report, the applet will report "Unknown", despite that it is requesting the last 3 hours of reports, it will ignore the last non empty sky coverage value, this may be intended behavior.

I have not attempted to intercept the requests or enable debugging on libsoup itself yet as my skills are quite lacking, when I get around to it I may add some more information to this issue.

Thank you all for your hard work on this project and those over on the #mate IRC channel on libera.chat for their insight in helping me understand how libmateweather works.

Below is an image of the output from https://aviationweather.gov/api/data/metar?ids=K24J&hours=3&order=id%2C-obs&sep=true and a screenshot of what the Weather Report applet is displaying.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions