Bug#897081: wmfrog: Does not update weather regularly

Jeremy Sowden jeremy at azazel.net
Sun Sep 29 14:49:41 BST 2019


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.

The current decoded observations are:

  Varna, Bulgaria (LBWN) 43-12N 027-55E 43M
  Sep 29, 2019 - 09:30 AM EDT / 2019.09.29 1330 UTC
  Wind: from the E (100 degrees) at 13 MPH (11 KT):0
  Visibility: greater than 7 mile(s):0
  Temperature: 77 F (25 C)
  Dew Point: 55 F (13 C)
  Relative Humidity: 47%
  Pressure (altimeter): 29.91 in. Hg (1013 hPa)
  ob: LBWN 291330Z 10011KT CAVOK 25/13 Q1013 NOSIG
  cycle: 13

wmweather displays them.

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/20190929/679e742b/attachment.sig>


More information about the Pkg-wmaker-devel mailing list