Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2024 01:10:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277465] net/libmateweather fails to report metar data
Message-ID:  <bug-277465-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277465

            Bug ID: 277465
           Summary: net/libmateweather fails to report metar data
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: rkoberman@gmail.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

For a couple of weeks, neither the weather applet nor the clock applet repo=
rts
weather conditions. I noted that version 1.28.0 was now available, so I tri=
ed
installing that, but it didn't help.

When I manually fetch the URI, I get:
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<response xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" version=3D"1.2"
xsi:noNamespaceSchemaLocation=3D"https://aviationweather.gov/data/schema/me=
tar1_2.xsd">
  <request_index>1709507243</request_index>
  <errors>
  <error>Query must be constrained by time</error>
  </errors>
  <warnings />
</response>

If I use the published API for METAR data, I have a choice of requesting XM=
L or
raw. Since the current code calls for "raw_text" and "xml" in the query, I =
am
unsure which to specify. It also requires a time (zulu text or ISO)
specification. The raw data looks like:
KPSP 030953Z AUTO 00000KT 7SM CLR 14/06 A2989 RMK AO2 SLP121 T01390056 PNO

The XML is:
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<response xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" version=3D"1.3"
xsi:noNamespaceSchemaLocation=3D"https://aviationweather.gov/data/schema/me=
tar1_3.xsd">
  <request_index>1709508037</request_index>
  <data_source name=3D"metars" />
  <request type=3D"retrieve" />
  <errors />
  <warnings />
  <time_taken_ms>45</time_taken_ms>
  <data num_results=3D"0"/>
</response>

Neither may be what the code is looking for.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277465-7788>