Bug#897081: wmfrog: Does not update weather regularly
Jeremy Sowden
jeremy at azazel.net
Mon Sep 30 12:23:53 BST 2019
On 2019-09-29, at 14:49:40 +0100, Jeremy Sowden wrote:
> On 2019-09-29, at 14:35:05 +0100, Jeremy Sowden wrote:
> > On Sat, 28 Apr 2018, at 07:40:39 +0300, Yavor Doganov wrote:
> > > The file LBWN_dat gets updated every 5 minutes (as expected) but
> > > LBWN was updated only once and it seems the app is getting the
> > > data from there. FWIW, the wmweather package is working properly
> > > with the same station (updating every 30 minutes).
> >
> > Wmfrog downloads the raw observations and attempts to decode them.
> > It only updates LBWN if it does so succesfully. Wmweather, on the
> > other hand, downloads the already decoded observations, which are
> > also available. My guess is that wmfrog's decoder can't parse the
> > raw observations under certain circumstances. I'll do some
> > debugging and see if I can reproduce the problem.
>
> That didn't take long.
>
> The current raw observations for LBWN are:
>
> 2019/09/29 13:30
> LBWN 291330Z 10011KT CAVOK 25/13 Q1013 NOSIG
>
> wmfrog complains about invalid data and doesn't save them.
Debian includes a Perl module, Geo::METAR, that can parse METAR
observations. I will add a patch to update wmfrog to use it.
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-wmaker-devel/attachments/20190930/dcb76c5d/attachment.sig>
More information about the Pkg-wmaker-devel
mailing list