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

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 277465: net/libmateweather fails to report metar data
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277465



--- Description ---
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.



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