maintainer-feedback requested: [Bug 277465] net/libmateweather fails to report metar data

From: <>
Date: Mon, 04 Mar 2024 01:10:03 UTC
Bugzilla Automation <> has asked freebsd-gnome (Nobody)
<> for maintainer-feedback:
Bug 277465: net/libmateweather fails to report metar data

--- Description ---
For a couple of weeks, neither the weather applet nor the clock applet reports
weather conditions. I noted that version 1.28.0 was now available, so I tried
installing that, but it didn't help.

When I manually fetch the URI, I get:
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:xsd=""
xmlns:xsi="" version="1.2"
  <error>Query must be constrained by time</error>
  <warnings />

If I use the published API for METAR data, I have a choice of requesting XML 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="1.0" encoding="UTF-8"?>
<response xmlns:xsd=""
xmlns:xsi="" version="1.3"
  <data_source name="metars" />
  <request type="retrieve" />
  <errors />
  <warnings />
  <data num_results="0"/>

Neither may be what the code is looking for.