cloudy cloudy

Author Topic: WD or Meteotemplate minor quirk with rain for day  (Read 598 times)

0 Members and 1 Guest are viewing this topic.

Offline Mtn_Man

  • Posts: 182
  • Asheville NC
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Sunset Mountain Weather
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #15 on: April 08, 2019, 04:31:32 PM »
Update installed, will advise if this fixes the problem.  It has rained today, so I will check after midnight.

Offline Gus

  • Posts: 629
  • Halethorpe, Maryland USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Halethorpe Weather-Watch
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #16 on: April 09, 2019, 01:21:06 AM »
Downloaded and running. Haven't had any rain so far today.
Gus
Davis VP2+ & LabJack w/lightning counter, soil/grass temp
HP i5, 16GB, Windows10 CW1550 KMDBALTI12

Offline Mtn_Man

  • Posts: 182
  • Asheville NC
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Sunset Mountain Weather
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #17 on: April 09, 2019, 04:24:32 AM »
I'm afraid that had no effect.

 



Editing the rain for 00:00:00 timestamp to 0.00 corrects the totals shown by MT.
« Last Edit: April 09, 2019, 04:33:32 AM by Mtn_Man »

Online Weather Display

  • Posts: 86,484
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #18 on: April 09, 2019, 04:33:13 AM »
the time in the MT data is actually UTC
so maybe I need to not send around that midnight time change instead of local midnight time change?

Offline Mtn_Man

  • Posts: 182
  • Asheville NC
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Sunset Mountain Weather
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #19 on: April 09, 2019, 05:45:18 AM »
UTC midnight would be 8 PM my time.  Not sure that would have any effect. 

Online Weather Display

  • Posts: 86,484
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.86
    • Weather Display
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #20 on: April 09, 2019, 09:13:18 AM »
then I am not sure what the solution is at this stage

Offline Mtn_Man

  • Posts: 182
  • Asheville NC
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Sunset Mountain Weather
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #21 on: April 09, 2019, 09:55:51 PM »
Appreciate the attempt.  I have escalated this to Jachym with links to this thread, plus on MT forum.

Offline Dale Reid

  • Posts: 239
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #22 on: April 10, 2019, 02:09:41 AM »
Thanks for your persistence. 

I was going to text Jachym to see if he was still working on the project or not.  I may still, to let him know there is interest in continuing on with this being resolved.
Dale

Offline Mtn_Man

  • Posts: 182
  • Asheville NC
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Sunset Mountain Weather
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #23 on: April 15, 2019, 03:41:08 PM »
This has felt like a timing issue, but now I am not sure.  I have WD's API updater sending data every 3 seconds.  To further trouble shoot, I have changed that to 1 minute intervals, and 5 minute intervals on days it has rained.

The same problem exists, the 00:00:00 entry in the MT database for the next day includes the rain total from the previous day, but the 00:00:05 does not.  However that 00:00:00 entry throws totals off until corrected.  Fortunately Jachym has made it easy to edit the SQL database on the server.
« Last Edit: April 15, 2019, 04:52:00 PM by Mtn_Man »

Online Weather Display

  • Posts: 86,484
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 73.0.3683.103
    • Weather Display
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #24 on: April 15, 2019, 07:50:33 PM »
if there is no data sent right on the midnight time then MT must be like dividing up the time stamps it does receive into nice 5 minute intervals
and so if it got data with a time stamp before midnight and one after, then its 'making up' a time stamp of midnight
but it needs to use the data from the most recent data...not the one prior...the one prior will have the previous days rain total

Offline Mtn_Man

  • Posts: 182
  • Asheville NC
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Sunset Mountain Weather
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #25 on: April 17, 2019, 08:17:06 PM »
I'll get those updated files installed, and let you know the results.  Probably won't be until this weekend based on the forecast.

Offline Mtn_Man

  • Posts: 182
  • Asheville NC
  • OS/Browser:
  • Win NT 10.0
  • Firefox 66.0
    • Sunset Mountain Weather
Re: WD or Meteotemplate minor quirk with rain for day
« Reply #26 on: Today at 04:43:28 AM »
OK, got to admit I am confused now.  I installed the latest from the test.zip you provided.

First image shows the correct rain totals for yesterday, month, and year.

The next image is the rain block on MT.  The rain total for today is 0.00, but the month and year totals are incorrect as the rain yesterday is added twice.

The last image shows the MT database for the first entry for today.

And the final image shows the MT block, after the 00:00:00 rain amount is corrected.
« Last Edit: Today at 04:51:27 AM by Mtn_Man »