Author Topic: Wrong rainfall amounts in wxhistory.php  (Read 209 times)

0 Members and 1 Guest are viewing this topic.

Offline weatherdoc

  • Senior Member
  • **
  • Posts: 59
    • Willowsford Farm Weather
Wrong rainfall amounts in wxhistory.php
« on: December 29, 2021, 04:40:18 PM »
I'm not sure if this is a Weather Display issue or a script issue. This issue started in November and is continuing in December.

The November wxhistory.php file, (https://novawx.dscloud.me/~thunder/wxhistory.php?date=202111#header), (and November2021.htm) shows 0.00" of rain every day. The total for the month and total for the year in the Average and Extremes for Month table are correct. The Daily Rain Totals table shows three days with rain, two of which are the wrong days and amounts (see attached screen capture)

There were seven rain days in November, all correctly displayed on Weather Underground (https://www.wunderground.com/dashboard/pws/KVAALDIE28/table/2021-11-29/2021-11-29/monthly).

The WD daily, monthly, and yearly rain amounts in the 112021lg.txt log file are correct.

I keep my WD software current, but the issue started after I installed Build 132, so today I fell back to Build 131.

Any suggestions on the cause and remedy? Sometimes the 112021lg.txt file can get corrupted and manually editing and updating it in WD fixes rain error issues, but since the file is correct, I'm looking for suggestions on other places to investigate.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8645
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Wrong rainfall amounts in wxhistory.php
« Reply #1 on: December 30, 2021, 12:22:08 PM »
I think it's a WD issue.  The wxhistory.php page just parses and formats the data provided by WD (and makes translations for the text if needed).  The source data for that page (for 2021-11) is https://novawx.dscloud.me/~thunder/November2021.htm produced by WD.  The end of that page has the wrong daily totals
Quote
-----------------------------------
 Daily rain totals
 -----------------------------------
 00.03 in.  on day 21
 00.03 in.  on day 25
 00.04 in.  on day 26

You can re-create the Av/Ext report in Weather-Display by using View, Averages/Extremes, Recreate the Web Av/Ext Page and select 2021 11 for the month.  You may have to manually upload the November2021.htm page to your site afterwards.

Hope this helps...
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline weatherdoc

  • Senior Member
  • **
  • Posts: 59
    • Willowsford Farm Weather
Re: Wrong rainfall amounts in wxhistory.php
« Reply #2 on: December 30, 2021, 12:45:20 PM »
Yeah, thanks Ken. I figured it was WD, which is why I fell back a few builds. I planned to recreate Nov and Dec in WD before the end of the year, which should fix those two months and hopefully the older build will prevent future issues. We shall see what happens in January.

 

anything