Author Topic: Inaccurate Saratoga Precip Total?  (Read 1447 times)

0 Members and 1 Guest are viewing this topic.

Offline lobsterman

  • Senior Contributor
  • ****
  • Posts: 164
    • Cape Small Harbor Weather
Inaccurate Saratoga Precip Total?
« on: November 16, 2017, 10:04:48 PM »
My Saratoga site http://suiattle.net/CapeSmallHarborWeather/mbridge/index.php reports seasonal precip as 6.25 in. as of today (Nov 16).

 [ You are not allowed to view attachments ]

yet the WU page for my station correctly displays 33+ in.

 [ You are not allowed to view attachments ]

What is the difference between seasonal and annual?

How can I get the Saratoga template to display an annual figure?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Inaccurate Saratoga Precip Total?
« Reply #1 on: November 16, 2017, 11:54:07 PM »
Hi,
The 'Season total' precip comes from MB-defs.php
Code: [Select]
$yearrn = $WX['rain0total-yearsum']; and the value in your MBtags.php
Code: [Select]
$WX['rain0total-yearsum'] = '6.25'; // rain total this year
so it is Meteobridge that is reporting that as the total rain for the year for your station.

The data value is coming from Meteobridge, and I don't see anything in Meteobridge that would allow you to set the month for when the 'Season' starts.  Meteobridge may be pulling the data from your station for the 'yearly' rain.. I know that the Davis console has a month to start Yearly collection (default=January).  I use October-September as a 'year' which matches our Water Year definition per the NOAA/NWS.

In short, the template is just displaying the value that comes from Meteobridge for that data. The word 'Seasonal' is used since some 'seasons' start in January (=Annual) and some don't, so 'Seasonal' was just a neutral description for 12months of data starting with the month of your choice.
« Last Edit: November 16, 2017, 11:55:56 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

 

anything