Notice: Undefined offset: 1 in /home/portan24/public_html/weather28/metar/wsMetarTxt.php on line 81

Notice: Undefined offset: 1 in /home/portan24/public_html/weather28/metar/wsMetarTxt.php on line 87

Notice: Array to string conversion in /home/portan24/public_html/weather28/metar/wsMetarTxt.php on line 92

Northport NY Webcam more information Northport NY Webcam


Visit our other weather sites:

Template documentation
and downloads

And another site



Display key values and files

scriptsWD/testtags.txt compared to ../testtags.php - dated: Mar 29 2024 1:40 am

    1 | <?php
    2 | #-----------------------------------------------------------------------
      | // converted tagslist.txt to .\tagslist.php for php tags// converted tagslist.txt to .\tagslist.php for php tags
    3 | # display source of script if requested so
      | // by gen-PHP-tagslist.pl - Version 1.00 - 07-Apr-2006// by gen-PHP-tagslist.pl - Version 1.00 - 07-Apr-2006
    4 | #-----------------------------------------------------------------------
      | // Author: Ken True - webmaster-weather.org// Author: Ken True - webmaster-weather.org
    5 | if (isset($_REQUEST['sce']) && strtolower($_REQUEST['sce']) == 'view' ) {
      | // Edited: 20-Apr-2006 to trim unused tags// Edited: 20-Apr-2006 to trim unused tags
    6 | $filenameReal = __FILE__;
      | // Version 1.01 - 25-Jan-2008 -- added Windy-rain to icon list// Version 1.01 - 25-Jan-2008 -- added Windy-rain to icon list
    7 | $download_size = filesize($filenameReal);
      | // Version 1.02 - 24-Jun-2008 -- added variables to replace old trends-inc.html with trends-inc.php// Version 1.02 - 24-Jun-2008 -- added variables to replace old trends-inc.html with trends-inc.php
    8 | header('Pragma: public');
      | // Version 1.03 - 27-Oct-2008 -- added Snow and WU almanac variables// Version 1.03 - 27-Oct-2008 -- added Snow and WU almanac variables
    9 | header('Cache-Control: private');
      | // Version 1.04 - 03-Jun-2009 -- added moonrisedate/moonsetdate for wxastronomy.php// Version 1.04 - 03-Jun-2009 -- added moonrisedate/moonsetdate for wxastronomy.php
   10 | header('Cache-Control: no-cache, must-revalidate');
      | // Version 1.05 - 11-Jul-2009 -- added tags for printable flyer, alternative dashboard, high/low/avg plugins// Version 1.05 - 11-Jul-2009 -- added tags for printable flyer, alternative dashboard, high/low/avg plugins
   11 | header("Content-type: text/plain");
      | //                               Thanks to Mike and Scott for their permission to add the above tags!//                               Thanks to Mike and Scott for their permission to add the above tags!
   12 | header("Accept-Ranges: bytes");
      | // Version 1.06 - 12-Jul-2009 -- added tags for V4.0 of alternative dashboard// Version 1.06 - 12-Jul-2009 -- added tags for V4.0 of alternative dashboard
   13 | header("Content-Length: $download_size");
      | // Version 1.07 - 23-Jul-2011 -- added support for multiple plugin scripts for WD - see comments for supported scripts// Version 1.07 - 23-Jul-2011 -- added support for multiple plugin scripts for WD - see comments for supported scripts
   14 | header('Connection: close');
      | // Version 1.08 - 04-Aug-2012 -- added support for monthly average tags// Version 1.08 - 04-Aug-2012 -- added support for monthly average tags
   15 | readfile($filenameReal);
      | /*/*
   16 | exit;
      | 1.07 includes support for:1.07 includes support for:
   17 | }
      | 
   18 | $pageName	= 'testtags.php';
      | WebsterWeather:  http://www.websterweatherlive.com/wxScripts.phpWebsterWeather:  http://www.websterweatherlive.com/wxScripts.php
   19 | if (!isset($SITE)){echo "<h3>invalid call to script $pageName</h3>";exit;}
      | Alt-Dashboard 4.xx Script (Pre-Rainer's JavaScript) 	V4.30 	18-FEB-2011Alt-Dashboard 4.xx Script (Pre-Rainer's JavaScript) 	V4.30 	18-FEB-2011
   20 | $pageVersion	= '2.6 2014-10-10 11:55:45 ';
      | Alt-Dashboard 5.xx Script 	V5.20 	18-FEB-2011Alt-Dashboard 5.xx Script 	V5.20 	18-FEB-2011
   21 | $SITE['wsModules'][$pageName] = 'version: ' . $pageVersion;
      | UpdatedAlt-Dashboard 6.xx Script 	V6.20 	27-JUN-2011UpdatedAlt-Dashboard 6.xx Script 	V6.20 	27-JUN-2011
   22 | $pageFile = basename(__FILE__);			// check to see this is the real script
      | UpdatedMOBILE Dashboard 1.xx Script 	V1.30 	15-JUL-2011UpdatedMOBILE Dashboard 1.xx Script 	V1.30 	15-JUL-2011
   23 | if ($pageFile <> $pageName) {$SITE['wsModules'][$pageFile]	= 'this file loaded instead of '.$pageName;}
      | High/Low/Averages Script Ver 3 Ajax-PHP Template Only 	V3.01 	25-MAR-2011High/Low/Averages Script Ver 3 Ajax-PHP Template Only 	V3.01 	25-MAR-2011
   24 | echo '<!-- module '.$pageFile.' ==== '.$SITE['wsModules'][$pageFile]." -->".PHP_EOL;
      | 
   25 | #-----------------------------------------------------------------------
      | 642weather (MChallis) http://www.642weather.com/weather/scripts-printable-flyer.php642weather (MChallis) http://www.642weather.com/weather/scripts-printable-flyer.php
   26 | # 3.00 2014-09-22 release version 3.01 added ET conversion
      | Printable Flyer Add-on for WD/PHP/AJAX Website Template V1.12  06-Nov-2009Printable Flyer Add-on for WD/PHP/AJAX Website Template V1.12  06-Nov-2009
   27 | # --------------------------------------- version ----------------------
      | 
   28 | $ws['tags.php']		= $pageName.'-'.$pageVersion;
      | Eastmasonville http://eastmasonvilleweather.com/downloads.phpEastmasonville http://eastmasonvilleweather.com/downloads.php
   29 | # --------------------------------------- conditions--------------------
      | Station Records (wxrecords)  V1.13 - 24-May-2011Station Records (wxrecords)  V1.13 - 24-May-2011
   30 | $weathercond 		= '%weathercond%';
      | 
   31 | $ws['wdCurCond'] 	= '%Currentsolardescription%';
      | Relayweather http://www.relayweather.com/downloads.phpRelayweather http://www.relayweather.com/downloads.php
   32 | $ws['wdCurIcon']	= '%iconnumber%';			// Current icon number
      | Temperature and Rain Trending (wxglobalwarming) 	V1.0 	20-Jan-2010Temperature and Rain Trending (wxglobalwarming) 	V1.0 	20-Jan-2010
   33 | $ws['wdMetarCcn']	= '%weatherreport%';		// Current weather conditions from selected METAR
      | 
   34 | $ws['wdMetarCld']	= '%metarcloudreport%';		// Cloud METAR label from the metargif
      | end of 1.07 update descriptionend of 1.07 update description
   35 | # ------------------------------------------ units ---------------------
      | */*/
   36 | $wdDist 	= '%uomdistance%'; 	// = 'mi','km'  (for windrun variables)
      | // --------------------------------------------------------------------------// --------------------------------------------------------------------------
   37 | # ------------------------------------------- date - time --------------
      | // allow viewing of generated source// allow viewing of generated source
   38 | $wdDatefmt 	= '%datefmt%'; 		//  = 'd/m/y', 'm/d/y'
      | 
   39 | $wdSeconds	= '00';
      | if ( isset($_REQUEST['sce']) && strtolower($_REQUEST['sce']) == 'view' ) {if ( isset($_REQUEST['sce']) && strtolower($_REQUEST['sce']) == 'view' ) {
   40 | $wdMinute 	= '%time-minute%';	// Current minute '20'
      | //--self downloader --//--self downloader --
   41 | $wdHour 	= '%time-hour%';	// Current hour '17'
      | $filenameReal = __FILE__;$filenameReal = __FILE__;
   42 | $wdDay 		= '%date-day%';		// Current day  '15'
      | $download_size = filesize($filenameReal);$download_size = filesize($filenameReal);
   43 | $wdMonth 	= '%date-month%';	// Current month '06'
      | header('Pragma: public');header('Pragma: public');
   44 | $wdYear 	= '%date-year%';	// Current year '2012'
      | header('Cache-Control: private');header('Cache-Control: private');
   45 | $ymd		= (string) $wdYear.$wdMonth.$wdDay;   //
      | header('Cache-Control: no-cache, must-revalidate');header('Cache-Control: no-cache, must-revalidate');
   46 | $ws['actTime']	= (string) $ymd.$wdHour.$wdMinute.$wdSeconds; // '20120523113945';
      | header('Content-type: text/plain');
   47 | # ------------------------------------------ temperature ---------------
      | header('Accept-Ranges: bytes');header('Accept-Ranges: bytes');
   48 | $to 	= $SITE['uomTemp'];
      | header("Content-Length: $download_size");
   49 | $from	= '%uomtemp%'; 		//  = 'C', 'F',  (or  '°C', '°F', or '°C', '°F' )
      | header('Connection: close');header('Connection: close');
   50 | 
   51 | $ws['tempMinTodayTime']	= wdDate('%mintempt%');
      | readfile($filenameReal);
   52 | $ws['tempMinYdayTime']	= wdDate('%mintempyestt%');
      | exit;
   53 | $ws['tempMinMonthTime']	= wdYMD('%mrecordlowtempyear%','%mrecordlowtempmonth%','%mrecordlowtempday%');
      | }}
   54 | $ws['tempMinYearTime']	= wdYMD('%yrecordlowtempyear%','%yrecordlowtempmonth%','%yrecordlowtempday%');
      | // Units// Units
   55 | $ws['tempMaxTodayTime']	= wdDate('%maxtempt%');
      | // -----// -----
   56 | $ws['tempMaxYdayTime']	= wdDate('%maxtempyestt%'); //yday
      | $uomtemp = 'F'; //  = 'C', 'F',  (or  '°C', '°F', or '°C', '°F' )$uomtemp = 'F'; //  = 'C', 'F',  (or  '°C', '°F', or '°C', '°F' )
   57 | $ws['tempMaxMonthTime']	= wdYMD('%mrecordhightempyear%','%mrecordhightempmonth%','%mrecordhightempday%');
      | $uombaro = 'inHg'; //  = 'inHg', 'hPa', 'kPa', 'mb'$uombaro = 'inHg'; //  = 'inHg', 'hPa', 'kPa', 'mb'
   58 | $ws['tempMaxYearTime']	= wdYMD('%yrecordhightempyear%','%yrecordhightempmonth%','%yrecordhightempday%');
      | $uomwind = 'mph'; //  = 'kts','mph','kmh','km/h','m/s','Bft'$uomwind = 'mph'; //  = 'kts','mph','kmh','km/h','m/s','Bft'
   59 | $ws['dewpMinTodayTime']	= wdDate('%mindewt%');
      | $uomrain = 'in'; //  = 'mm', 'in'$uomrain = 'in'; //  = 'mm', 'in'
   60 | $ws['dewpMinYdayTime']	= wdDate('%mindewyestt%'); //yday
      | $datefmt = 'm/d/y'; //  = 'd/m/y', 'm/d/y'$datefmt = 'm/d/y'; //  = 'd/m/y', 'm/d/y'
   61 | $ws['dewpMaxTodayTime']	= wdDate('%maxdewt%');
      | $uomdistance = 'mi'; // = 'mi','km'  (for windrun variables)$uomdistance = 'mi'; // = 'mi','km'  (for windrun variables)
   62 | $ws['dewpMaxYdayTime']	= wdDate('%maxdewyestt%');  // yday
      | ////
   63 | $ws['heatMaxTodayTime']	= wdDate('%maxheatt%');
      | // General OR Non Weather Specific/SUN/MOON// General OR Non Weather Specific/SUN/MOON
   64 | $ws['heatMaxYdayTime']	= wdDate('%maxheatyestt%');
      | // ========================================// ========================================
   65 | $ws['heatMaxMonthTime']	= wdYMD('%mrecordhighheatindexyear%','%mrecordhighheatindexmonth%','%mrecordhighheatindexday%');
      | $time =  '01:40 AM';	// current time$time =  '01:40 AM';	// current time
   66 | $ws['heatMaxYearTime']	= wdYMD('%yrecordhighheatindexyear%','%yrecordhighheatindexmonth%','%yrecordhighheatindexday%');
      | $date =  '3/29/2024';	// current date$date =  '3/29/2024';	// current date
   67 | $ws['chilMinTodayTime']	= wdDate('%minwindcht%');
      | $sunrise =  '6:40 am';	// sun rise time (make sure you have the correct lat/lon$sunrise =  '6:40 am';	// sun rise time (make sure you have the correct lat/lon
   68 | $ws['chilMinYdayTime']	= wdDate('%minchillyestt%'); // yday
      | // 		            in view/sun moon)// 		            in view/sun moon)
   69 | $ws['chilMinMonthTime'] = wdYMD('%mrecordlowchillyear%','%mrecordlowchillmonth%','%mrecordlowchillday%','12','00');
      | $time_minute =  '40';	// Current minute$time_minute =  '40';	// Current minute
   70 | $ws['chilMinYearTime']	= wdYMD('%yrecordlowchillyear%','%yrecordlowchillmonth%','%yrecordlowchillday%','12','00');
      | $time_hour =  '01';	// Current hour$time_hour =  '01';	// Current hour
   71 | 
      | $date_day =  '29';	// Current day
   72 | $ws['tempAct']		= wsConvertTemperature('%temp%', $from);  // convert and clean of units
      | $date_month =  '03';	// Current month$date_month =  '03';	// Current month
   73 | $ws['tempActInside']	= wsConvertTemperature('%indoortemp%', $from);
      | $date_year =  '2024';	// Current year$date_year =  '2024';	// Current year
   74 | $ws['tempActExtra1']	= wsConvertTemperature('%none%', $from);
      | $monthname =  'March';	// Current month name$monthname =  'March';	// Current month name
   75 | $ws['tempDelta']	= wsConvertTemperature('%tempchangelasthourmetric%', $from);
      | $dayname =  'Friday';	// Current day name$dayname =  'Friday';	// Current day name
   76 | $ws['tempToday']	= wsConvertTemperature('%avtempsincemidnight%', $from);
      | $sunset =  '7:15 pm';	// sunset time$sunset =  '7:15 pm';	// sunset time
   77 | $ws['tempMinToday']	= wsConvertTemperature('%mintemp%', $from);
      | $moonrisedate =  '03/28/24';	// moon rise date$moonrisedate =  '03/28/24';	// moon rise date
   78 | $ws['tempMinYday']	= wsConvertTemperature('%mintempyest%', $from);
      | $moonrise =  '10:59 pm';	// moon rise time$moonrise =  '10:59 pm';	// moon rise time
   79 | $ws['tempMinMonth']	= wsConvertTemperature('%mrecordlowtemp%', $from);
      | $moonsetdate =  '03/29/24';	// moon set date$moonsetdate =  '03/29/24';	// moon set date
   80 | $ws['tempMinYear']	= wsConvertTemperature('%yrecordlowtemp%', $from);
      | $moonset =  '8:30 am';	// moon set time$moonset =  '8:30 am';	// moon set time
   81 | $ws['tempMaxToday']	= wsConvertTemperature('%maxtemp%', $from);
      | $moonage =  'Moon age: 18 days,8 hours,14 minutes,86%';	// current age of the moon (days since new moon)$moonage =  'Moon age: 18 days,8 hours,14 minutes,86%';	// current age of the moon (days since new moon)
   82 | $ws['tempMaxYday']	= wsConvertTemperature('%maxtempyest%', $from);
      | $moonphase =  '86%';	// Moon phase %$moonphase =  '86%';	// Moon phase %
   83 | $ws['tempMaxMonth']	= wsConvertTemperature('%mrecordhightemp%', $from);
      | $moonphasename = 'Waning Gibbous Moon'; // 10.36z addition$moonphasename = 'Waning Gibbous Moon'; // 10.36z addition
   84 | $ws['tempMaxYear']	= wsConvertTemperature('%yrecordhightemp%', $from);
      | $marchequinox =  '03:07 UTC March 20 2024';	// March equinox date$marchequinox =  '03:07 UTC March 20 2024';	// March equinox date
   85 | 
      | $junesolstice =  '20:52 UTC June 20 2024';	// June solstice date
   86 | $ws['dewpAct']  	= wsConvertTemperature('%dew%', $from);
      | $sepequinox =  '12:44 UTC September 22 2024';	// September equinox date$sepequinox =  '12:44 UTC September 22 2024';	// September equinox date
   87 | $ws['dewpDelta']	= wsConvertTemperature('%dewchangelasthour%', $from);
      | $decsolstice =  '09:21 UTC December 21 2024';	// December solstice date$decsolstice =  '09:21 UTC December 21 2024';	// December solstice date
   88 | $ws['dewpMinToday']  	= wsConvertTemperature('%mindew%', $from);
      | $moonperihel =  '11:56 UTC January 3 2025';	// Next Moon perihel date$moonperihel =  '11:56 UTC January 3 2025';	// Next Moon perihel date
   89 | $ws['dewpMinYday']  	= wsConvertTemperature('%mindewyest%', $from);
      | $moonaphel =  '20:50 UTC July 4 2024';	// Next moon perihel date$moonaphel =  '20:50 UTC July 4 2024';	// Next moon perihel date
   90 | $ws['dewpMaxToday']  	= wsConvertTemperature('%maxdew%', $from);
      | $moonperigee =  '17:44 UTC April 7 2024';	// Next moon perigee date$moonperigee =  '17:44 UTC April 7 2024';	// Next moon perigee date
   91 | $ws['dewpMaxYday']  	= wsConvertTemperature('%maxdewyest%', $from);
      | $moonapogee =  '02:10 UTC April 20 2024';	// Next moon apogee date$moonapogee =  '02:10 UTC April 20 2024';	// Next moon apogee date
   92 | 
      | $newmoon =  '09:01 UTC March 10 2024';	// Date/time of the next/last new moon
   93 | $ws['heatAct']  	= wsConvertTemperature('%heati%', $from);
      | $nextnewmoon =  '18:21 UTC April 8 2024';	// Date/time of the next new moon for next month$nextnewmoon =  '18:21 UTC April 8 2024';	// Date/time of the next new moon for next month
   94 | $ws['heatDelta']	= 0;
      | $firstquarter =  '04:11 UTC March 17 2024';	// Date/time of the next/last first quarter moon$firstquarter =  '04:11 UTC March 17 2024';	// Date/time of the next/last first quarter moon
   95 | $ws['heatMaxToday']	= wsConvertTemperature('%maxheat%', $from);
      | $lastquarter =  '03:15 UTC April 2 2024';	// Date/time of the next/last last quarter moon$lastquarter =  '03:15 UTC April 2 2024';	// Date/time of the next/last last quarter moon
   96 | $ws['heatMaxYday']	= wsConvertTemperature('%maxheatyest%', $from);
      | $fullmoon =  '07:01 UTC March 25 2024';	// Date/time of the next/last full moon$fullmoon =  '07:01 UTC March 25 2024';	// Date/time of the next/last full moon
   97 | $ws['heatMaxMonth']	= wsConvertTemperature('%mrecordhighheatindex%', $from);
      | $fullmoondate =  'March 25 2024';	// Date of the next/last full moon (date only)$fullmoondate =  'March 25 2024';	// Date of the next/last full moon (date only)
   98 | $ws['heatMaxYear']	= wsConvertTemperature('%yrecordhighheatindex%', $from);
      | $suneclipse =  'March 29 2025 05:14:27 81%';	// Next sun eclipse$suneclipse =  'March 29 2025 05:14:27 81%';	// Next sun eclipse
   99 | 
      | $mooneclipse =  'September 17 2024 21:45:10 8%';	// Next moon eclipse date
  100 | $ws['chilAct']		= wsConvertTemperature('%windch%', $from);
      | $easterdate =  '31 March 2024';	// Next easter date$easterdate =  '31 March 2024';	// Next easter date
  101 | $ws['chilDelta']	= 0;
      | $chinesenewyear =  '9 February 2024 ()';	// Chinese new year$chinesenewyear =  '9 February 2024 ()';	// Chinese new year
  102 | $ws['chilMinToday']	= wsConvertTemperature('%minwindch%', $from);
      | $hoursofpossibledaylight =  '12:35';	// Total hours/minutes of possible daylight for today$hoursofpossibledaylight =  '12:35';	// Total hours/minutes of possible daylight for today
  103 | $ws['chilMinYday']	= wsConvertTemperature('%minchillyest%', $from);
      | ////
  104 | $ws['chilMinMonth']	= wsConvertTemperature('%mrecordlowchill%', $from);
      | $weatherreport =  'overcast';	// current weather conditions from selected METAR$weatherreport =  'overcast';	// current weather conditions from selected METAR
  105 | $ws['chilMinYear']	= wsConvertTemperature('%yrecordlowchill%', $from);
      | $stationaltitude =  '200';	// Station altitude, feet, as set in the units setup$stationaltitude =  '200';	// Station altitude, feet, as set in the units setup
  106 | 
      | // this under setup)
  107 | $ws['hudxAct'] 		= wsConvertTemperature('%humidexcelsius%', 'C');
      | $stationlatitude =  '040:53:17';	// Latitude (from the sun moon rise/set setup)$stationlatitude =  '040:53:17';	// Latitude (from the sun moon rise/set setup)
  108 | $ws['hudxDelta'] 	= 0;
      | $stationlongitude =  '0073:17:12';	// Longtitude (from the sun moon rise/set setup)$stationlongitude =  '0073:17:12';	// Longtitude (from the sun moon rise/set setup)
  109 | $ws['hudxMaxToday'] 	= wsConvertTemperature('%todayhihumidex%',  'C');
      | $windowsuptime = '11 Days 14 Hours 21 Minutes 45 Seconds'; // uptime for windows on weather pc$windowsuptime = '11 Days 14 Hours 21 Minutes 45 Seconds'; // uptime for windows on weather pc
  110 | 
      | $freememory = '13.75GB'; // amount of free memory on the pc
  111 | # ------------------------------------------ extreme temp   ------------
      | $Startimedate = '8:01:09 PM 3/17/2024'; // Time/date WD was started$Startimedate = '8:01:09 PM 3/17/2024'; // Time/date WD was started
  112 | $ws['daysXHigh']	= '%daysTmax>30C%';
      | 
  113 | $ws['daysHigh']		= '%daysTmax>25C%';
      | /*/*
  114 | $ws['daysLow']		= '%daysTmin<0C%';
      | $NOAAEvent = 'NO CURRENT ADVISORIES'; // NOAA Watch/Warning/Advisory$NOAAEvent = 'NO CURRENT ADVISORIES'; // NOAA Watch/Warning/Advisory
  115 | $ws['daysXLow']		= '%daysTmin<-15C%';
      | $noaawarningraw = '$noaawarningraw = '
  116 | # ------------------------------------------ pressure / baro -----------
      | '; // NOAA RAW watch/warning/advisory'; // NOAA RAW watch/warning/advisory
  117 | $to 	= $SITE['uomBaro'];
      | */*/
  118 | $from	= '%uombaro%'; 		//  = 'inHg', 'hPa', 'kPa', 'mb'
      | 
  119 | 
      | $wdversion = '10.37S' . '-(b' . '149' . ')';	// Weather Display version number you are running
  120 | $ws['baroMinTodayTime']	= wdDate('%lowbarot%');
      | $wdversiononly = '10.37S';
  121 | $ws['baroMinYdayTime']	= wdDate('%minbaroyestt%'); // ytd
      | $wdbuild   = '149';       // Weather Display build number you are running$wdbuild   = '149';       // Weather Display build number you are running
  122 | $ws['baroMinMonthTime']	= wdYMD('%mrecordlowbaroyear%','%mrecordlowbaromonth%','%mrecordlowbaroday%');
      | $noaacityname =  '---';	// City name,from the noaa setup (in the av/ext setup)$noaacityname =  '---';	// City name,from the noaa setup (in the av/ext setup)
  123 | $ws['baroMinYearTime']	= wdYMD('%yrecordlowbaroyear%','%yrecordlowbaromonth%','%yrecordlowbaroday%');
      | ////
  124 | $ws['baroMaxTodayTime']	= wdDate('%highbarot%');
      | $timeofnextupdate =  '---';	// Time of next Update/Upload of the weather data to your web page (based on the web table update$timeofnextupdate =  '---';	// Time of next Update/Upload of the weather data to your web page (based on the web table update
  125 | $ws['baroMaxYdayTime']	= wdDate('%maxbaroyestt%');  // ytd
      | ////
  126 | $ws['baroMaxMonthTime']	= wdYMD('%mrecordhighbaroyear%','%mrecordhighbaromonth%','%mrecordhighbaroday%');
      | $heatcolourword =  '---';	// How hot/cold it feels at the moment, based on the humidex, used with the conditionscolour.jpg$heatcolourword =  '---';	// How hot/cold it feels at the moment, based on the humidex, used with the conditionscolour.jpg
  127 | $ws['baroMaxYearTime']	= wdYMD('%yrecordhighbaroyear%','%yrecordhighbaromonth%','%yrecordhighbaroday%');
      | ////
  128 | 
      | //
  129 | $ws['baroAct'] 		= wsConvertBaro('%baro%', $from);
      | // Temperature/Humidity// Temperature/Humidity
  130 | $ws['baroDelta']	= wsConvertBaro('%trend%', $from);
      | // ====================// ====================
  131 | $ws['baroMinToday']	= wsConvertBaro('%lowbaro%', $from);
      | // Current:// Current:
  132 | $ws['baroMinYday']	= wsConvertBaro('%minbaroyest%', $from);
      | // --------// --------
  133 | $ws['baroMinMonth']	= wsConvertBaro('%mrecordlowbaro%', $from);
      | $temperature =  '42.0';	// temperature$temperature =  '42.0';	// temperature
  134 | $ws['baroMinYear'] 	= wsConvertBaro('%yrecordlowbaro%', $from);
      | $tempnodp = '43'; // temperature, no decimal place$tempnodp = '43'; // temperature, no decimal place
  135 | $ws['baroMaxToday']	= wsConvertBaro('%highbaro%', $from);
      | $humidity =  '79';	// humidity$humidity =  '79';	// humidity
  136 | $ws['baroMaxYday']	= wsConvertBaro('%maxbaroyest%', $from);
      | $dewpt =  '36.0';	// dew point$dewpt =  '36.0';	// dew point
  137 | $ws['baroMaxMonth']	= wsConvertBaro('%mrecordhighbaro%', $from);
      | $maxtemp =  '42.0';	// today's maximum temperature$maxtemp =  '42.0';	// today's maximum temperature
  138 | $ws['baroMaxYear'] 	= wsConvertBaro('%yrecordhighbaro%', $from);
      | $maxtempt =  '1:37 AM';	// time this occurred$maxtempt =  '1:37 AM';	// time this occurred
  139 | 
      | $mintemp =  '41.2';	// today's minimum temperature
  140 | # ------------------------------------------ humidity  -----------------
      | $mintempt =  '1:01 AM';	// time this occurred$mintempt =  '1:01 AM';	// time this occurred
  141 | $ws['humiMinTodayTime ']= wdDate('%lowhumt%');
      | $feelslike =  '41';	// Shows heat index or humidex or windchill (if less than 16oC)$feelslike =  '41';	// Shows heat index or humidex or windchill (if less than 16oC)
  142 | $ws['humiMinYdayTime ']	= wdDate('%minhumyestt%');   // ytd
      | 
  143 | $ws['humiMaxTodayTime'] = wdDate('%highhumt%');
      | $heati =  '42.0';	// current heat index$heati =  '42.0';	// current heat index
  144 | $ws['humiMaxYdayTime'] 	= wdDate('%maxhumyestt%');   // ytd
      | $heatinodp =  '42';	// current heat index,no decimal place$heatinodp =  '42';	// current heat index,no decimal place
  145 | 
      | $windch =  '40.8';	// current wind-chill
  146 | $ws['humiAct']		= '%hum%'*1.0;
      | $windchnodp =  '41';	// current wind-chill, no decimal place$windchnodp =  '41';	// current wind-chill, no decimal place
  147 | $ws['humiExtra']	= '%none%'*1.0;
      | $humidexfaren =  '39.2';	// Humidex value in oF$humidexfaren =  '39.2';	// Humidex value in oF
  148 | $ws['humiDelta']	= '%humchangelasthour%'*1.0;
      | $humidexcelsius =  '4.0';	// Humidex value in oC$humidexcelsius =  '4.0';	// Humidex value in oC
  149 | $ws['humiMinToday'] 	= '%lowhum%'*1.0;
      | 
  150 | $ws['humiMinYday'] 	= '%minhumyest%'*1.0;
      | $apparenttemp =  '38.6';	// Apparent temperature$apparenttemp =  '38.6';	// Apparent temperature
  151 | $ws['humiMaxToday']	= '%highhum%'*1.0;
      | $apparentsolartemp =  '38.6';	// Apparent temperature in the sun (you need a solar sensor)$apparentsolartemp =  '38.6';	// Apparent temperature in the sun (you need a solar sensor)
  152 | $ws['humiMaxYday']	= '%maxhumyest%'*1.0;
      | $apparenttempc =  '3.7';	// Apparent temperature, °C$apparenttempc =  '3.7';	// Apparent temperature, °C
  153 | 
      | $apparentsolartempc =  '3.7';	// Apparent temperature in the sun, °C (you need a solar sensor)
  154 | # ------------------------------------------ rain  ---------------------
      | $apparenttempf =  '38.6';	// Apparent temperature, °F$apparenttempf =  '38.6';	// Apparent temperature, °F
  155 | $to 	= $SITE['uomRain'];
      | $apparentsolartempf =  '38.6';	// Apparent temperature in the sun, °F (you need a solar sensor)$apparentsolartempf =  '38.6';	// Apparent temperature in the sun, °F (you need a solar sensor)
  156 | $from	= '%uomrain%'; 		//  = 'mm', 'in'
      | ////
  157 | 
      | $WUmaxtemp = '32.0';	// Todays average max temperature from the selected Wunderground almanac station
  158 | $ws['rainDayMnth'] 	= '%dayswithrain%';  	// %dayswithrain% 		Days with rain for the month
      | $WUmintemp = '32.0';	// Todays average min temperature from the selected Wunderground almanac station$WUmintemp = '32.0';	// Todays average min temperature from the selected Wunderground almanac station
  159 | $ws['rainDayYear'] 	= '%dayswithrainyear%';	// %dayswithrainyear%	Days with rain for the year
      | ////
  160 | 
      | $WUmaxtempr = '32.0';	// Todays record max temperature from the selected Wunderground almanac station
  161 | $ws['rainRateAct'] 	= wsConvertRainfall('%currentrainrate%', $from);
      | $WUmintempr = '32.0';	// Todays record min temperature from the selected Wunderground almanac station$WUmintempr = '32.0';	// Todays record min temperature from the selected Wunderground almanac station
  162 | $ws['rainRateToday'] 	= wsConvertRainfall('%maxrainrate%', $from);
      | $WUmaxtempryr = '0';	// Year that it occured$WUmaxtempryr = '0';	// Year that it occured
  163 | $ws['rainHour']		= wsConvertRainfall('%hourrn%', $from);
      | $WUmintempryr = '0';	// year that it occured$WUmintempryr = '0';	// year that it occured
  164 | $ws['rainToday']	= wsConvertRainfall('%dayrn%', $from);
      | ////
  165 | $ws['rainYday']		= wsConvertRainfall('%ystdyrain%', $from);
      | ////
  166 | $ws['rainMonth']	= wsConvertRainfall('%monthrn%', $from);
      | // Yesterday:// Yesterday:
  167 | $ws['rainYear']		= wsConvertRainfall('%yearrn%', $from);
      | // ----------// ----------
  168 | $ws['rainDaysWithNo']	= '%dayswithnorain%';
      | $tempchangehour =  '+0.5';	// Temperature change in the last hour$tempchangehour =  '+0.5';	// Temperature change in the last hour
  169 | $ws['rainWeek']		= wsConvertRainfall('%raincurrentweek%', $from);
      | $maxtempyest =  '49.9';	// Yesterday's max temperature$maxtempyest =  '49.9';	// Yesterday's max temperature
  170 | # ------------------------------------------ EVAPOTRANSPIRATION --------
      | $maxtempyestt =  '12:28 PM';	// Time of yesterday's max temperature$maxtempyestt =  '12:28 PM';	// Time of yesterday's max temperature
  171 | $ws['etToday'] 		= wsConvertRainfall('%VPet%', $from);
      | $mintempyest =  '41.4';	// Yesterday's min temperature$mintempyest =  '41.4';	// Yesterday's min temperature
  172 | $ws['etYday'] 		= wsConvertRainfall('%yesterdaydaviset%', $from);
      | $mintempyestt =  '11:53 PM';	// Time of yesterday's min temperature$mintempyestt =  '11:53 PM';	// Time of yesterday's min temperature
  173 | $ws['etMonth'] 		= wsConvertRainfall('%VPetmonth%', $from);
      | ////
  174 | 
      | //
  175 | # ------------------------------------------ wind  ---------------------
      | // Trends:// Trends:
  176 | $to 	= $SITE['uomWind'];
      | // -------// -------
  177 | $from	= '%uomwind%'; 		//  = 'kts','mph','kmh','km/h','m/s','Bft'
      | $temp24hoursago =  '47.7';	// The temperature 24 hours ago$temp24hoursago =  '47.7';	// The temperature 24 hours ago
  178 | 
      | $humchangelasthour =  '-5';	// Humidity change last hour
  179 | $ws['windActDsc']	= '%dirlabel%';
      | $dewchangelasthour =  '-1.1';	// Dew point change last hour$dewchangelasthour =  '-1.1';	// Dew point change last hour
  180 | $ws['windBeafort']	= '%beaufortnum%';
      | $barochangelasthour =  '-0.008';	// Baro change last hour$barochangelasthour =  '-0.008';	// Baro change last hour
  181 | $ws['gustMaxTodayTime']	= wdDate('%maxgstt%');
      | ////
  182 | $ws['gustMaxYdayTime']	= wdDate('%maxgustyestt%');
      | // Wind// Wind
  183 | $ws['gustMaxMonthTime']	= wdYMD('%mrecordhighgustyear%','%mrecordhighgustmonth%','%mrecordhighgustday%');
      | // ====// ====
  184 | $ws['gustMaxYearTime']	= wdYMD('%yrecordhighgustyear%','%yrecordhighgustmonth%','%yrecordhighgustday%');
      | // Current:// Current:
  185 | 
      | // --------
  186 | $ws['windAct']		= wsConvertWindspeed('%avgspd%', $from);
      | ////
  187 | $ws['gustAct']		= wsConvertWindspeed('%gstspd%', $from);
      | $avgspd =  '2.9';	// average wind speed (current)$avgspd =  '2.9';	// average wind speed (current)
  188 | $ws['gustMaxHour']	= wsConvertWindspeed('%maxgsthr%', $from);
      | $gstspd =  '4.0';	// current/gust wind speed$gstspd =  '4.0';	// current/gust wind speed
  189 | $ws['gustMaxToday']	= wsConvertWindspeed('%maxgst%', $from);
      | $maxgst =  '9.2';	// today's maximum wind speed$maxgst =  '9.2';	// today's maximum wind speed
  190 | $ws['gustMaxYday']	= wsConvertWindspeed('%maxgustyestnodir%', $from);
      | $maxgstt =  '1:34 AM';	// time this occurred$maxgstt =  '1:34 AM';	// time this occurred
  191 | $ws['gustMaxMonth']	= wsConvertWindspeed('%mrecordwindgust%', $from);
      | $maxgsthr =  '9.0 mph NNW';	// maximum gust last hour$maxgsthr =  '9.0 mph NNW';	// maximum gust last hour
  192 | $ws['gustMaxYear']	= wsConvertWindspeed('%yrecordwindgust%', $from);
      | $dirdeg =  '351';	// wind direction (degrees)$dirdeg =  '351';	// wind direction (degrees)
  193 | 
      | $dirlabel =  'N';	// wind direction (NNE etc)
  194 | if ($ws['gustAct'] <= $ws['windAct'])	{$ws['gustAct'] = $ws['windAct'];}
      | //$maxgustlastimediatehourtime =  '1:34';	// 1:34  time that the max gust last prior 1 hour occured//$maxgustlastimediatehourtime =  '1:34';	// 1:34  time that the max gust last prior 1 hour occured
  195 | # ------------------------------------------  UV   ---------------------
      | $avwindlastimediate10 =  '4.7';	// Average wind for the last immediate 10 minute period$avwindlastimediate10 =  '4.7';	// Average wind for the last immediate 10 minute period
  196 | $ws['uvMaxTodayTime'] 	= wdDate('%highuvtime%');
      | // $avdir10minute =  '343';	// average ten minute wind direction (degrees)// $avdir10minute =  '343';	// average ten minute wind direction (degrees)
  197 | $ws['uvMaxYdayTime'] 	= wdDate('%highuvyesttime%');
      | 
  198 | $ws['uvMaxMonthTime'] 	= wdYMD('%mrecordhighuvyear%','%mrecordhighuvmonth%','%mrecordhighuvday%');
      | $beaufortnum ='2'; //Beaufort wind force number$beaufortnum ='2'; //Beaufort wind force number
  199 | $ws['uvMaxYearTime'] 	= wdYMD('%yrecordhighuvyear%','%yrecordhighuvmonth%','%yrecordhighuvday%');
      | $currbftspeed = '2 bft'; //Current Beaufort wind speed$currbftspeed = '2 bft'; //Current Beaufort wind speed
  200 | 
  201 | $ws['uvAct']		= '%VPuv%';
      | $bftspeedtext = 'Light Air'; //Beaufort scale in text (i.e Fresh Breeze)$bftspeedtext = 'Light Air'; //Beaufort scale in text (i.e Fresh Breeze)
  202 | $ws['uvMaxToday']	= '%highuv%';
      | ////
  203 | $ws['uvMaxYday']	= '%highuvyest%';
      | ////
  204 | $ws['uvMaxMonth']	= '%mrecordhighuv%';
      | // Baromometer// Baromometer
  205 | $ws['uvMaxYear']	= '%yrecordhighuv%';
      | // ===========// ===========
  206 | # ------------------------------------------ Solar  --------------------
      | // Current:// Current:
  207 | $ws['solarMaxTodayTime']= wdDate('%highsolartime%');
      | // --------// --------
  208 | $ws['solarMaxYdayTime'] = wdDate('%highsolaryesttime%');
      | $baro = '29.783';  // current barometer$baro = '29.783';  // current barometer
  209 | $ws['solarMaxMonthTime']= wdYMD('%mrecordhighsolaryear%','%mrecordhighsolarmonth%','%mrecordhighsolarday%');
      | $baroinusa2dp =  '29.78 inches';	// Current barometer reading in inches, 2 decimal places only.$baroinusa2dp =  '29.78 inches';	// Current barometer reading in inches, 2 decimal places only.
  210 | $ws['solarMaxYearTime'] = wdYMD('%yrecordhighsolaryear%','%yrecordhighsolarmonth%','%yrecordhighsolarday%');
      | $trend =  '-0.017';	// amount of change in the last hour$trend =  '-0.017';	// amount of change in the last hour
  211 | 
      | $pressuretrendname =  'Falling slowly';	// pressure trend (i.e. 'falling'), last hour
  212 | $ws['solarAct']		= '%VPsolar%'*1.0;
      | $pressuretrendname3hour =  'Falling';	// pressure trend (i.e. 'falling'), last 3 hours$pressuretrendname3hour =  'Falling';	// pressure trend (i.e. 'falling'), last 3 hours
  213 | $ws['solActPerc']	= '%currentsolarpctplain%';
      | 
  214 | $ws['solarMaxToday']	= '%highsolar%';
      | $vpforecasttext = 'increasing clouds and cooler, precipitation continuing, windy with possible wind shift to the w, nw, or n.';	// Forecast text from the Davis VP$vpforecasttext = 'increasing clouds and cooler, precipitation continuing, windy with possible wind shift to the w, nw, or n.';	// Forecast text from the Davis VP
  215 | $ws['solarMaxYday']	= '%highsolaryest%';
      | ////
  216 | $ws['solarMaxMonth']	= '%mrecordhighsolar%';
      | ////
  217 | $ws['solarMaxYear']	= '%yrecordhighsolar%';
      | // Rain// Rain
  218 | # ------------------------------------------ cloud height --------------
      | // ====// ====
  219 | $to	= $SITE['uomHeight'];
      | // Current:// Current:
  220 | $from	= 'ft';
      | // --------// --------
  221 | 
      | $dayrn =  '0.00';	// today's rain
  222 | $ws['cloudHeight']	= wsConvertDistance('%cloudheightfeet%',$from);
      | $monthrn =  '11.38';	// rain so far this month$monthrn =  '11.38';	// rain so far this month
  223 | # ------------------------------------------ forecasts -----------------
      | $yearrn =  '17.84';	// rain so far this year$yearrn =  '17.84';	// rain so far this year
  224 | $ws['fcstWD'] 	  	= '%iconnumber%';
      | $dayswithnorain =  '0';	// Consecutative days with no rain$dayswithnorain =  '0';	// Consecutative days with no rain
  225 | $ws['fcstTxt'] 	        = str_replace('_',' ','%vpforecasttext%');
      | $dayswithrain =  '11';	// Days with rain for the month$dayswithrain =  '11';	// Days with rain for the month
  226 | 
      | $dayswithrainyear =  '39';	// Days with rain for the year
  227 | # ------------------------------------------ sun and moon --------------
      | $currentrainratehr =  '0.000';	// Current rain rate, mm/hr (or in./hr)$currentrainratehr =  '0.000';	// Current rain rate, mm/hr (or in./hr)
  228 | $ws['sunrise']		= date($SITE['timeOnlyFormat'],strtotime('%sunrise%'));
      | $maxrainrate =  '0.000';	// Max rain rate,for the day, mm/min (or in./min)$maxrainrate =  '0.000';	// Max rain rate,for the day, mm/min (or in./min)
  229 | $ws['sunset']		= date($SITE['timeOnlyFormat'],strtotime('%sunset%'));
      | $maxrainratehr =  '0.000';	// Max rain rate,for the day, mm/hr (or in.mm)$maxrainratehr =  '0.000';	// Max rain rate,for the day, mm/hr (or in.mm)
  230 | $ws['moonrise']		= date($SITE['timeOnlyFormat'],strtotime('%moonrise%'));
      | $maxrainratetime =  '00:00 AM';	// Time that occurred$maxrainratetime =  '00:00 AM';	// Time that occurred
  231 | $ws['moonset']		= date($SITE['timeOnlyFormat'],strtotime('%moonset%'));
      | // Yesterday:// Yesterday:
  232 | $ws['lunarPhasePerc']	= '%moonphase%'*1.0;
      | // ----------// ----------
  233 | $ws['lunarAge']		= substr('%moonage%', 9, 3); // %moonphasename% %moonlunation%
      | $yesterdayrain =  '1.48 ';	// Yesterday rain$yesterdayrain =  '1.48 ';	// Yesterday rain
  234 | # ------------------------------------------ some more -----------------
      | ////
  235 | $ws['wsVersion']	= 'version %wdversion% b %wdbuild%';
      | $vpstormrainstart = '3/27/2024';  //Davis VP Storm rain start date$vpstormrainstart = '3/27/2024';  //Davis VP Storm rain start date
  236 | $ws['wsHardware'] 	= '';   // unknown
      | $vpstormrain = '1.50';           //Davis VP Storm rain value$vpstormrain = '1.50';           //Davis VP Storm rain value
  237 | $ws['wsUptime']		= '%windowsuptime%';
      | ////
  238 | 
      | //
  239 | if (!isset ($wsTrends)){$wsTrends = array() ;}
      | // Sunshine/Solar/ET// Sunshine/Solar/ET
  240 | $i=0;
      | // =================// =================
  241 | $wsTrends[$i] ['min']	= 0;
      | $VPsolar =  '0';	//  Solar energy number (W/M2)$VPsolar =  '0';	//  Solar energy number (W/M2)
  242 | $wsTrends[$i] ['temp']	= '%temp0minuteago%';
      | $VPuv =  '0.0';	// UV number$VPuv =  '0.0';	// UV number
  243 | $wsTrends[$i] ['wind']	= '%wind0minuteago%';
      | $highsolar =  '0';	// Daily high solar (for Davis VP and Grow stations)$highsolar =  '0';	// Daily high solar (for Davis VP and Grow stations)
  244 | $wsTrends[$i] ['gust']	= '%gust0minuteago%';
      | $highuv =  '0.0';	// Daily high UV (for Davis VP stations)$highuv =  '0.0';	// Daily high UV (for Davis VP stations)
  245 | $wsTrends[$i] ['dir']	= langtransstr('%dir0minuteago%');
      | $currentsolarpercent =  '0';	// Current solar percent for stations with a temperature solar sensor (like the dallas 1 wire)$currentsolarpercent =  '0';	// Current solar percent for stations with a temperature solar sensor (like the dallas 1 wire)
  246 | $wsTrends[$i] ['hum']	= '%hum0minuteago%';
      | $highsolartime =  '12:00 AM';	// Time that the daily high solar occured$highsolartime =  '12:00 AM';	// Time that the daily high solar occured
  247 | $wsTrends[$i] ['dew']	= '%dew0minuteago%';
      | $lowsolartime =  '12:00 AM';	// Time that the daily low solar occured$lowsolartime =  '12:00 AM';	// Time that the daily low solar occured
  248 | $wsTrends[$i] ['baro']	= '%baro0minuteago%';
      | $highuvtime =  '12:00 AM';	// Time that the daily high UV occured$highuvtime =  '12:00 AM';	// Time that the daily high UV occured
  249 | $wsTrends[$i] ['rain']	= '%rain0minuteago%';
      | $lowuvtime =  '12:00 AM';	// Time that the daily low UV occured$lowuvtime =  '12:00 AM';	// Time that the daily low UV occured
  250 | $wsTrends[$i] ['sol']	= '%VPsolar0minuteago%';
      | $highuvyest =  '0.0';	// Yesterday's high UV$highuvyest =  '0.0';	// Yesterday's high UV
  251 | $wsTrends[$i] ['uv']	= '%VPuv0minuteago%';
      | $highuvyesttime =  '12:00 AM';	// Time of yesterday's high UV$highuvyesttime =  '12:00 AM';	// Time of yesterday's high UV
  252 | $i=1;
      | $burntime =  '720';	// Time (minutes) to burn (normal skin) at the current UV rate, from the Davis VP with UV sensor$burntime =  '720';	// Time (minutes) to burn (normal skin) at the current UV rate, from the Davis VP with UV sensor
  253 | $wsTrends[$i] ['min']	= 5;
      | ////
  254 | $wsTrends[$i] ['temp']	= '%temp5minuteago%';
      | // the solar setup.// the solar setup.
  255 | $wsTrends[$i] ['wind']	= '%wind5minuteago%';
      | ////
  256 | $wsTrends[$i] ['gust']	= '%gust5minuteago%';
      | ////
  257 | $wsTrends[$i] ['dir']	= langtransstr('%dir5minuteago%');
      | // Number of resynchronizations, The largest number of packets in a row that were received., and the number of CRC errors// Number of resynchronizations, The largest number of packets in a row that were received., and the number of CRC errors
  258 | $wsTrends[$i] ['hum']	= '%hum5minuteago%';
      | ////
  259 | $wsTrends[$i] ['dew']	= '%dew5minuteago%';
      | // detected.// detected.
  260 | $wsTrends[$i] ['baro']	= '%baro5minuteago%';
      | ////
  261 | $wsTrends[$i] ['rain']	= '%rain5minuteago%';
      | ////
  262 | $wsTrends[$i] ['sol']	= '%VPsolar5minuteago%';
      | // Record Readings// Record Readings
  263 | $wsTrends[$i] ['uv']	= '%VPuv5minuteago%';
      | // ===============// ===============
  264 | $i=2;
      | ////
  265 | $wsTrends[$i] ['min']	= 10;
      | // for current month to date:// for current month to date:
  266 | $wsTrends[$i] ['temp']	= '%temp10minuteago%';
      | ////
  267 | $wsTrends[$i] ['wind']	= '%wind10minuteago%';
      | $mrecordwindgust =  '23.0';	// All time record high wind gust$mrecordwindgust =  '23.0';	// All time record high wind gust
  268 | $wsTrends[$i] ['gust']	= '%gust10minuteago%';
      | $mrecordhighgustday =  '11';	// Day of record high wind gust$mrecordhighgustday =  '11';	// Day of record high wind gust
  269 | $wsTrends[$i] ['dir']	= langtransstr('%dir10minuteago%');
      | ////
  270 | $wsTrends[$i] ['hum']	= '%hum10minuteago%';
      | ////
  271 | $wsTrends[$i] ['dew']	= '%dew10minuteago%';
      | // Snow// Snow
  272 | $wsTrends[$i] ['baro']	= '%baro10minuteago%';
      | // =====// =====
  273 | $wsTrends[$i] ['rain']	= '%rain10minuteago%';
      | ////
  274 | $wsTrends[$i] ['sol']	= '%VPsolar10minuteago%';
      | $snowseasonin = '0';	// Snow for season you have entered under input daily weather, inches$snowseasonin = '0';	// Snow for season you have entered under input daily weather, inches
  275 | $wsTrends[$i] ['uv']	= '%VPuv10minuteago%';
      | $snowmonthin = '0';	// Snow for month you have entered under input daily weather, inches$snowmonthin = '0';	// Snow for month you have entered under input daily weather, inches
  276 | $i=3;
      | $snowtodayin = '0.00';	// Snow for today you have entered under input daily weather, inches$snowtodayin = '0.00';	// Snow for today you have entered under input daily weather, inches
  277 | $wsTrends[$i] ['min']	= 15;
      | $snowseasoncm = '0';	// Snow for season you have entered under input daily weather, cm$snowseasoncm = '0';	// Snow for season you have entered under input daily weather, cm
  278 | $wsTrends[$i] ['temp']	= '%temp15minuteago%';
      | $snowmonthcm = '0';	// Snow for month you have entered under input daily weather, cm$snowmonthcm = '0';	// Snow for month you have entered under input daily weather, cm
  279 | $wsTrends[$i] ['wind']	= '%wind15minuteago%';
      | $snowtodaycm = '0.0';	// Snow for today you have entered under input daily weather, cm$snowtodaycm = '0.0';	// Snow for today you have entered under input daily weather, cm
  280 | $wsTrends[$i] ['gust']	= '%gust15minuteago%';
      | $snowyesterday = '0';	// Yesterdays' snow$snowyesterday = '0';	// Yesterdays' snow
  281 | $wsTrends[$i] ['dir']	= langtransstr('%dir15minuteago%');
      | $snowheight = '606';	// Estimated height snow will fall at$snowheight = '606';	// Estimated height snow will fall at
  282 | $wsTrends[$i] ['hum']	= '%hum15minuteago%';
      | $snowheightnew = '1644';	// Estimated height snow will fall at, new formula$snowheightnew = '1644';	// Estimated height snow will fall at, new formula
  283 | $wsTrends[$i] ['dew']	= '%dew15minuteago%';
      | ////
  284 | $wsTrends[$i] ['baro']	= '%baro15minuteago%';
      | $snownowin = '0.00';	// Current snow depth, inches.$snownowin = '0.00';	// Current snow depth, inches.
  285 | $wsTrends[$i] ['rain']	= '%rain15minuteago%';
      | $snownowcm = '0.0';	// Current snow depth, cm.$snownowcm = '0.0';	// Current snow depth, cm.
  286 | $wsTrends[$i] ['sol']	= '%VPsolar15minuteago%';
      | ////
  287 | $wsTrends[$i] ['uv']	= '%VPuv15minuteago%';
      | $snowrain = '0.00';	// Rain measure by a heated rain gauge when temp below freezing times 10 to give estimated snow fall$snowrain = '0.00';	// Rain measure by a heated rain gauge when temp below freezing times 10 to give estimated snow fall
  288 | $i=4;
      | $snowdaysthismonth = '0';	// Days with snow this month$snowdaysthismonth = '0';	// Days with snow this month
  289 | $wsTrends[$i] ['min']	= 20;
      | $snowdaysthisyear = '0';	// Days with snow this year$snowdaysthisyear = '0';	// Days with snow this year
  290 | $wsTrends[$i] ['temp']	= '%temp20minuteago%';
      | ////
  291 | $wsTrends[$i] ['wind']	= '%wind20minuteago%';
      | // tags needed for trends-inc.php// tags needed for trends-inc.php
  292 | $wsTrends[$i] ['gust']	= '%gust20minuteago%';
      | ////
  293 | $wsTrends[$i] ['dir']	= langtransstr('%dir20minuteago%');
      | $temp0minuteago = '42.0';  // ****this one is needed for all the others to work$temp0minuteago = '42.0';  // ****this one is needed for all the others to work
  294 | $wsTrends[$i] ['hum']	= '%hum20minuteago%';
      | $wind0minuteago = '2.3';
  295 | $wsTrends[$i] ['dew']	= '%dew20minuteago%';
      | $gust0minuteago = '5.8';
  296 | $wsTrends[$i] ['baro']	= '%baro20minuteago%';
      | $dir0minuteago = 'NNW';
  297 | $wsTrends[$i] ['rain']	= '%rain20minuteago%';
      | $hum0minuteago = '79';
  298 | $wsTrends[$i] ['sol']	= '%VPsolar20minuteago%';
      | $dew0minuteago = '36.0';
  299 | $wsTrends[$i] ['uv']	= '%VPuv20minuteago%';
      | $baro0minuteago = '29.784';
  300 | $i=5;
      | $rain0minuteago = '0.00';
  301 | $wsTrends[$i] ['min']	= 30;
      | $VPsolar0minuteago = '0';
  302 | $wsTrends[$i] ['temp']	= '%temp30minuteago%';
      | $VPuv0minuteago = '0.0';
  303 | $wsTrends[$i] ['wind']	= '%wind30minuteago%';
      | 
  304 | $wsTrends[$i] ['gust']	= '%gust30minuteago%';
      | $temp5minuteago = '41.8';
  305 | $wsTrends[$i] ['dir']	= langtransstr('%dir30minuteago%');
      | $wind5minuteago = '3.5';
  306 | $wsTrends[$i] ['hum']	= '%hum30minuteago%';
      | $gust5minuteago = '9.2';
  307 | $wsTrends[$i] ['dew']	= '%dew30minuteago%';
      | $dir5minuteago = 'NNW';
  308 | $wsTrends[$i] ['baro']	= '%baro30minuteago%';
      | $hum5minuteago = '79';
  309 | $wsTrends[$i] ['rain']	= '%rain30minuteago%';
      | $dew5minuteago = '35.7';
  310 | $wsTrends[$i] ['sol']	= '%VPsolar30minuteago%';
      | $baro5minuteago = '29.790';
  311 | $wsTrends[$i] ['uv']	= '%VPuv30minuteago%';
      | $rain5minuteago = '0.00';
  312 | $i=6;
      | $VPsolar5minuteago = '0';
  313 | $wsTrends[$i] ['min']	= 45;
      | $VPuv5minuteago = '0.0';
  314 | $wsTrends[$i] ['temp']	= '%temp45minuteago%';
      | 
  315 | $wsTrends[$i] ['wind']	= '%wind45minuteago%';
      | $temp10minuteago = '41.6';
  316 | $wsTrends[$i] ['gust']	= '%gust45minuteago%';
      | $wind10minuteago = '5.8';
  317 | $wsTrends[$i] ['dir']	= langtransstr('%dir45minuteago%');
      | $gust10minuteago = '8.1';
  318 | $wsTrends[$i] ['hum']	= '%hum45minuteago%';
      | $dir10minuteago = 'NNW';
  319 | $wsTrends[$i] ['dew']	= '%dew45minuteago%';
      | $hum10minuteago = '81';
  320 | $wsTrends[$i] ['baro']	= '%baro45minuteago%';
      | $dew10minuteago = '36.2';
  321 | $wsTrends[$i] ['rain']	= '%rain45minuteago%';
      | $baro10minuteago = '29.792';
  322 | $wsTrends[$i] ['sol']	= '%VPsolar45minuteago%';
      | $rain10minuteago = '0.00';
  323 | $wsTrends[$i] ['uv']	= '%VPuv45minuteago%';
      | $VPsolar10minuteago = '0';
  324 | $i=7;
      | $VPuv10minuteago = '0.0';
  325 | $wsTrends[$i] ['min']	= 60;
      | 
  326 | $wsTrends[$i] ['temp']	= '%temp60minuteago%';
      | $temp15minuteago = '41.5';
  327 | $wsTrends[$i] ['wind']	= '%wind60minuteago%';
      | $wind15minuteago = '3.5';
  328 | $wsTrends[$i] ['gust']	= '%gust60minuteago%';
      | $gust15minuteago = '4.6';
  329 | $wsTrends[$i] ['dir']	= langtransstr('%dir60minuteago%');
      | $dir15minuteago = 'NNW';
  330 | $wsTrends[$i] ['hum']	= '%hum60minuteago%';
      | $hum15minuteago = '81';
  331 | $wsTrends[$i] ['dew']	= '%dew60minuteago%';
      | $dew15minuteago = '36.1';
  332 | $wsTrends[$i] ['baro']	= '%baro60minuteago%';
      | $baro15minuteago = '29.792';
  333 | $wsTrends[$i] ['rain']	= '%rain60minuteago%';
      | $rain15minuteago = '0.00';
  334 | $wsTrends[$i] ['sol']	= '%VPsolar60minuteago%';
      | $VPsolar15minuteago = '0';
  335 | $wsTrends[$i] ['uv']	= '%VPuv60minuteago%';
      | $VPuv15minuteago = '0.0';
  336 | $i=8;
      | 
  337 | $wsTrends[$i] ['min']	= 75;
      | $temp20minuteago = '41.4';
  338 | $wsTrends[$i] ['temp']	= '%temp75minuteago%';
      | $wind20minuteago = '3.5';
  339 | $wsTrends[$i] ['wind']	= '%wind75minuteago%';
      | $gust20minuteago = '6.9';
  340 | $wsTrends[$i] ['gust']	= '%gust75minuteago%';
      | $dir20minuteago = ' N ';
  341 | $wsTrends[$i] ['dir']	= langtransstr('%dir75minuteago%');
      | $hum20minuteago = '82';
  342 | $wsTrends[$i] ['hum']	= '%hum75minuteago%';
      | $dew20minuteago = '36.3';
  343 | $wsTrends[$i] ['dew']	= '%dew75minuteago%';
      | $baro20minuteago = '29.790';
  344 | $wsTrends[$i] ['baro']	= '%baro75minuteago%';
      | $rain20minuteago = '0.00';
  345 | $wsTrends[$i] ['rain']	= '%rain75minuteago%';
      | $VPsolar20minuteago = '0';
  346 | $wsTrends[$i] ['sol']	= '%VPsolar75minuteago%';
      | $VPuv20minuteago = '0.0';
  347 | $wsTrends[$i] ['uv']	= '%VPuv75minuteago%';
      | 
  348 | $i=9;
      | $temp30minuteago = '41.2';
  349 | $wsTrends[$i] ['min']	= 90;
      | $wind30minuteago = '3.5';
  350 | $wsTrends[$i] ['temp']	= '%temp90minuteago%';
      | $gust30minuteago = '4.6';
  351 | $wsTrends[$i] ['wind']	= '%wind90minuteago%';
      | $dir30minuteago = ' N ';
  352 | $wsTrends[$i] ['gust']	= '%gust90minuteago%';
      | $hum30minuteago = '83';
  353 | $wsTrends[$i] ['dir']	= langtransstr('%dir90minuteago%');
      | $dew30minuteago = '36.5';
  354 | $wsTrends[$i] ['hum']	= '%hum90minuteago%';
      | $baro30minuteago = '29.789';
  355 | $wsTrends[$i] ['dew']	= '%dew90minuteago%';
      | $rain30minuteago = '0.00';
  356 | $wsTrends[$i] ['baro']	= '%baro90minuteago%';
      | $VPsolar30minuteago = '0';
  357 | $wsTrends[$i] ['rain']	= '%rain90minuteago%';
      | $VPuv30minuteago = '0.0';
  358 | $wsTrends[$i] ['sol']	= '%VPsolar90minuteago%';
      | 
  359 | $wsTrends[$i] ['uv']	= '%VPuv90minuteago%';
      | $temp45minuteago = '41.4';
  360 | $i=10;
      | $wind45minuteago = '3.5';
  361 | $wsTrends[$i] ['min']	= 105;
      | $gust45minuteago = '4.6';
  362 | $wsTrends[$i] ['temp']	= '%temp105minuteago%';
      | $dir45minuteago = 'NNW';
  363 | $wsTrends[$i] ['wind']	= '%wind105minuteago%';
      | $hum45minuteago = '84';
  364 | $wsTrends[$i] ['gust']	= '%gust105minuteago%';
      | $dew45minuteago = '36.9';
  365 | $wsTrends[$i] ['dir']	= langtransstr('%dir105minuteago%');
      | $baro45minuteago = '29.788';
  366 | $wsTrends[$i] ['hum']	= '%hum105minuteago%';
      | $rain45minuteago = '0.00';
  367 | $wsTrends[$i] ['dew']	= '%dew105minuteago%';
      | $VPsolar45minuteago = '0';
  368 | $wsTrends[$i] ['baro']	= '%baro105minuteago%';
      | $VPuv45minuteago = '0.0';
  369 | $wsTrends[$i] ['rain']	= '%rain105minuteago%';
      | 
  370 | $wsTrends[$i] ['sol']	= '%VPsolar105minuteago%';
      | $temp60minuteago = '41.5';
  371 | $wsTrends[$i] ['uv']	= '%VPuv105minuteago%';
      | $wind60minuteago = '2.3';
  372 | $i=11;
      | $gust60minuteago = '3.5';
  373 | $wsTrends[$i] ['min']	= 120;
      | $dir60minuteago = 'NNW';
  374 | $wsTrends[$i] ['temp']	= '%temp120minuteago%';
      | $hum60minuteago = '84';
  375 | $wsTrends[$i] ['wind']	= '%wind120minuteago%';
      | $dew60minuteago = '37.0';
  376 | $wsTrends[$i] ['gust']	= '%gust120minuteago%';
      | $baro60minuteago = '29.804';
  377 | $wsTrends[$i] ['dir']	= langtransstr('%dir120minuteago%');
      | $rain60minuteago = '0.00';
  378 | $wsTrends[$i] ['hum']	= '%hum120minuteago%';
      | $VPsolar60minuteago = '0';
  379 | $wsTrends[$i] ['dew']	= '%dew120minuteago%';
      | $VPuv60minuteago = '0.0';
  380 | $wsTrends[$i] ['baro']	= '%baro120minuteago%';
      | 
  381 | $wsTrends[$i] ['rain']	= '%rain120minuteago%';
      | $temp75minuteago = '41.4';
  382 | $wsTrends[$i] ['sol']	= '%VPsolar120minuteago%';
      | $wind75minuteago = '2.3';
  383 | $wsTrends[$i] ['uv']	= '%VPuv120minuteago%';
      | $gust75minuteago = '4.6';
  384 | 
      | $dir75minuteago = ' N ';
  385 | #--------------------- soil leaf measurement ---------------------------
      | $hum75minuteago = '84';$hum75minuteago = '84';
  386 | $to 	= $SITE['uomTemp'];
      | $dew75minuteago = '36.9';
  387 | $from	= '%uomtemp%'; 		//  = 'C', 'F',  (or  '°C', '°F', or '°C', '°F' )
      | $baro75minuteago = '29.802';$baro75minuteago = '29.802';
  388 | 
      | $rain75minuteago = '0.00';
  389 | # Temp sensor 1 actual value
      | $VPsolar75minuteago = '0';$VPsolar75minuteago = '0';
  390 | $ws['soilTempAct'][1]		= wsConvertTemperature('%soiltemp%', $from);  // convert and clean of units
      | $VPuv75minuteago = '0.0';$VPuv75minuteago = '0.0';
  391 | # Temp sensor 1 maximum value for today month and year
      | 
  392 | $ws['soilTempMaxToday'][1]	= wsConvertTemperature('%maxsoiltemp%', $from);
      | $temp90minuteago = '41.4';
  393 | $ws['soilTempMaxMonth'][1]	= wsConvertTemperature('%mrecordhighsoil%', $from);
      | $wind90minuteago = '3.5';
  394 | $ws['soilTempMaxMonthTime'][1]	= wdYMD('%mrecordhighsoilyear%','%mrecordhighsoilmonth%','%mrecordhighsoilday%');
      | $gust90minuteago = '4.6';
  395 | $ws['soilTempMaxYear'][1]	= wsConvertTemperature('%yrecordhighsoil%', $from);
      | $dir90minuteago = ' N ';
  396 | $ws['soilTempMaxYearTime'][1]	= wdYMD('%yrecordhighsoilyear%','%yrecordhighsoilmonth%','%yrecordhighsoilday%');
      | $hum90minuteago = '85';
  397 | $ws['soilTempMaxAlltime'][1]	= wsConvertTemperature('%recordhighsoil%', $from);
      | $dew90minuteago = '37.2';
  398 | $ws['soilTempMaxAlltimeTime'][1]= wdYMD('%recordhighsoilyear%','%recordhighsoilmonth%','%recordhighsoilday%');
      | $baro90minuteago = '29.792';
  399 | # Temp sensor 1 minimum value for today month and year
      | $rain90minuteago = '0.00';$rain90minuteago = '0.00';
  400 | $ws['soilTempMinToday'][1]	= wsConvertTemperature('%minsoiltemp%', $from);
      | $VPsolar90minuteago = '0';
  401 | $ws['soilTempMinMonth'][1]	= wsConvertTemperature('%mrecordlowsoil%', $from);
      | $VPuv90minuteago = '0.0';
  402 | $ws['soilTempMinMonthTime'][1]	= wdYMD('%mrecordlowsoilyear%','%mrecordlowsoilmonth%','%mrecordlowsoilday%');
      | 
  403 | $ws['soilTempMinYear'][1]	= wsConvertTemperature('%yrecordlowsoil%', $from);
      | $temp105minuteago = '41.4';
  404 | $ws['soilTempMinYearTime'][1]	= wdYMD('%yrecordlowsoilyear%','%yrecordlowsoilmonth%','%yrecordlowsoilday%');
      | $wind105minuteago = '3.5';
  405 | $ws['soilTempMinAlltime'][1]	= wsConvertTemperature('%recordlowsoil%', $from);
      | $gust105minuteago = '4.6';
  406 | $ws['soilTempMinAlltimeTime'][1]= wdYMD('%recordlowsoilyear%','%recordlowsoilmonth%','%recordlowsoilday%');
      | $dir105minuteago = 'NNW';
  407 | # Temp sensor 2 actual value & Values and time for  min and max  for today - month and year
      | $hum105minuteago = '85';$hum105minuteago = '85';
  408 | $ws['soilTempAct'][2]		= wsConvertTemperature('%VPsoiltemp2%', $from);  // convert and clean of units
      | $dew105minuteago = '37.2';$dew105minuteago = '37.2';
  409 | $ws['soilTempMaxToday'][2]	= wsConvertTemperature('%hiVPsoiltemp2%', $from);
      | $baro105minuteago = '29.797';
  410 | $ws['soilTempMaxMonth'][2]	= wsConvertTemperature('%mrecordhighsoil2%', $from);
      | $rain105minuteago = '1.48';
  411 | $ws['soilTempMaxMonthTime'][2]	= wdYMD('%mrecordhighsoilyear2%','%mrecordhighsoilmonth2%','%mrecordhighsoilday2%');
      | $VPsolar105minuteago = '0';
  412 | $ws['soilTempMaxYear'][2]	= wsConvertTemperature('%yrecordhighsoil2%', $from);
      | $VPuv105minuteago = '0.0';
  413 | $ws['soilTempMaxYearTime'][2]	= wdYMD('%yrecordhighsoilyear2%','%yrecordhighsoilmonth2%','%yrecordhighsoilday2%');
      | 
  414 | $ws['soilTempMaxAlltime'][2]	= wsConvertTemperature('%recordhighsoil2%', $from);
      | $temp120minuteago = '41.7';
  415 | $ws['soilTempMaxAlltimeTime'][2]= wdYMD('%recordhighsoilyear2%','%recordhighsoilmonth2%','%recordhighsoilday2%');
      | $wind120minuteago = '3.5';
  416 | $ws['soilTempMinToday'][2]	= wsConvertTemperature('%loVPsoiltemp2%', $from);
      | $gust120minuteago = '5.8';
  417 | $ws['soilTempMinMonth'][2]	= wsConvertTemperature('%mrecordlowsoil2%', $from);
      | $dir120minuteago = 'NNW';
  418 | $ws['soilTempMinMonthTime'][2]	= wdYMD('%mrecordlowsoilyear2%','%mrecordlowsoilmonth2%','%mrecordlowsoilday2%');
      | $hum120minuteago = '85';
  419 | $ws['soilTempMinYear'][2]	= wsConvertTemperature('%yrecordlowsoil2%', $from);
      | $dew120minuteago = '37.5';
  420 | $ws['soilTempMinYearTime'][2]	= wdYMD('%yrecordlowsoilyear2%','%yrecordlowsoilmonth2%','%yrecordlowsoilday2%');
      | $baro120minuteago = '29.804';
  421 | $ws['soilTempMinAlltime'][2]	= wsConvertTemperature('%recordlowsoil2%', $from);
      | $rain120minuteago = '1.47';
  422 | $ws['soilTempMinAlltimeTime'][2]= wdYMD('%recordlowsoilyear2%','%recordlowsoilmonth2%','%recordlowsoilday2%');
      | $VPsolar120minuteago = '0';
  423 | # Temp sensor 3 actual value & Values and time for  min and max  for today - month and year
      | $VPuv120minuteago = '0.0';$VPuv120minuteago = '0.0';
  424 | $ws['soilTempAct'][3]		= wsConvertTemperature('%VPsoiltemp3%', $from);  // convert and clean of units
      | 
  425 | $ws['soilTempMaxToday'][3]	= wsConvertTemperature('%hiVPsoiltemp3%', $from);
      | $VPet = '0.00';
  426 | $ws['soilTempMaxMonth'][3]	= wsConvertTemperature('%mrecordhighsoil3%', $from);
      | $VPetmonth = '0.00';
  427 | $ws['soilTempMaxMonthTime'][3]	= wdYMD('%mrecordhighsoilyear3%','%mrecordhighsoilmonth3%','%mrecordhighsoilday3%');
      | $dateoflastrainalways = '3/28/2024';
  428 | $ws['soilTempMaxYear'][3]	= wsConvertTemperature('%yrecordhighsoil3%', $from);
      | $highbaro = '29.805';
  429 | $ws['soilTempMaxYearTime'][3]	= wdYMD('%yrecordhighsoilyear3%','%yrecordhighsoilmonth3%','%yrecordhighsoilday3%');
      | $highbarot = '12:40 AM';
  430 | $ws['soilTempMaxAlltime'][3]	= wsConvertTemperature('%recordhighsoil3%', $from);
      | $highsolaryest = '0.0';
  431 | $ws['soilTempMaxAlltimeTime'][3]= wdYMD('%recordhighsoilyear3%','%recordhighsoilmonth3%','%recordhighsoilday3%');
      | $highsolaryesttime = '12:00 AM';
  432 | $ws['soilTempMinToday'][3]	= wsConvertTemperature('%loVPsoiltemp3%', $from);
      | $hourrn = '0.00';
  433 | $ws['soilTempMinMonth'][3]	= wsConvertTemperature('%mrecordlowsoil3%', $from);
      | $maxaverageyest = '6.1';
  434 | $ws['soilTempMinMonthTime'][3]	= wdYMD('%mrecordlowsoilyear3%','%mrecordlowsoilmonth3%','%mrecordlowsoilday3%');
      | $maxaverageyestt = '2:41 PM';
  435 | $ws['soilTempMinYear'][3]	= wsConvertTemperature('%yrecordlowsoil3%', $from);
      | $maxavgdirectionletter = '  N';
  436 | $ws['soilTempMinYearTime'][3]	= wdYMD('%yrecordlowsoilyear3%','%yrecordlowsoilmonth3%','%yrecordlowsoilday3%');
      | $maxavgspd = '5.9';
  437 | $ws['soilTempMinAlltime'][3]	= wsConvertTemperature('%recordlowsoil3%', $from);
      | $maxavgspdt = '1:32 AM';
  438 | $ws['soilTempMinAlltimeTime'][3]= wdYMD('%recordlowsoilyear3%','%recordlowsoilmonth3%','%recordlowsoilday3%');
      | $maxbaroyest = '30.064';
  439 | # Temp sensor 4 actual value & Values and time for  min and max  for today - month and year
      | $maxbaroyestt = '2:14 AM';$maxbaroyestt = '2:14 AM';
  440 | $ws['soilTempAct'][4]		= wsConvertTemperature('%VPsoiltemp3%', $from);  // convert and clean of units
      | $maxgstdirectionletter = 'NNW';$maxgstdirectionletter = 'NNW';
  441 | $ws['soilTempMaxToday'][4]	= wsConvertTemperature('%hiVPsoiltemp3%', $from);
      | $maxgustyest = '9.2 mph  NW';
  442 | $ws['soilTempMaxMonth'][4]	= wsConvertTemperature('%mrecordhighsoil3%', $from);
      | $maxgustyestt = '2:41 PM';
  443 | $ws['soilTempMaxMonthTime'][4]	= wdYMD('%mrecordhighsoilyear3%','%mrecordhighsoilmonth3%','%mrecordhighsoilday3%');
      | $mcoldestdayonrecord = '35.4F  on: Mar 25 2024';
  444 | $ws['soilTempMaxYear'][4]	= wsConvertTemperature('%yrecordhighsoil3%', $from);
      | $mcoldestnightonrecord = '32.5F  on: Mar 22 2024';
  445 | $ws['soilTempMaxYearTime'][4]	= wdYMD('%yrecordhighsoilyear3%','%yrecordhighsoilmonth3%','%yrecordhighsoilday3%');
      | $minchillyest = '38.3';
  446 | $ws['soilTempMaxAlltime'][4]	= wsConvertTemperature('%recordhighsoil3%', $from);
      | $minchillyestt = '11:59 PM';
  447 | $ws['soilTempMaxAlltimeTime'][4]= wdYMD('%recordhighsoilyear3%','%recordhighsoilmonth3%','%recordhighsoilday3%');
      | $minwindch = '37.8';
  448 | $ws['soilTempMinToday'][4]	= wsConvertTemperature('%loVPsoiltemp3%', $from);
      | $minwindcht = '1:32 AM';
  449 | $ws['soilTempMinMonth'][4]	= wsConvertTemperature('%mrecordlowsoil3%', $from);
      | $mrecordhighavwindday = '11';
  450 | $ws['soilTempMinMonthTime'][4]	= wdYMD('%mrecordlowsoilyear3%','%mrecordlowsoilmonth3%','%mrecordlowsoilday3%');
      | $mrecordhighavwindmonth = '3';
  451 | $ws['soilTempMinYear'][4]	= wsConvertTemperature('%yrecordlowsoil3%', $from);
      | $mrecordhighavwindyear = '2024';
  452 | $ws['soilTempMinYearTime'][4]	= wdYMD('%yrecordlowsoilyear3%','%yrecordlowsoilmonth3%','%yrecordlowsoilday3%');
      | $mrecordhighbaro = '30.655';
  453 | $ws['soilTempMinAlltime'][4]	= wsConvertTemperature('%recordlowsoil3%', $from);
      | $mrecordhighbaroday = '1';
  454 | $ws['soilTempMinAlltimeTime'][4]= wdYMD('%recordlowsoilyear3%','%recordlowsoilmonth3%','%recordlowsoilday3%');
      | $mrecordhighbaromonth = '3';
  455 | #
      | $mrecordhighbaroyear = '2024';$mrecordhighbaroyear = '2024';
  456 | # Moisture sensor 1 actual value
      | $mrecordhighgustmonth = '3';$mrecordhighgustmonth = '3';
  457 | $ws['moistAct'][1]		= '%VPsoilmoisture%';
      | $mrecordhighgustyear = '2024';
  458 | # Moisture sensor 1 maximum value for today month and year
      | $mrecordhightemp = '73.2';$mrecordhightemp = '73.2';
  459 | $ws['moistMaxToday'][1]		= '%hiVPsoilmoisture%';
      | $mrecordhightempday = '15';
  460 | $ws['moistMaxMonth'][1]		= '%mrecordhighsoilmoist%';
      | $mrecordhightempmonth = '3';
  461 | $ws['moistMaxMonthTime'][1]	= wdYMD('%mrecordhighsoilmoistyear%','%mrecordhighsoilmoistmonth%','%mrecordhighsoilmoistday%');
      | $mrecordhightempyear = '2024';
  462 | $ws['moistMaxYear'][1]		= '%yrecordhighsoilmoist%';
      | $mrecordlowchill = '24.4';
  463 | $ws['moistMaxYearTime'][1]	= wdYMD('%yrecordhighsoilmoistyear%','%yrecordhighsoilmoistmonth%','%yrecordhighsoilmoistday%');
      | $mrecordlowchillday = '24';
  464 | $ws['moistMaxAlltime'][1]	= '%recordhighsoilmoist%';
      | $mrecordlowchillmonth = '3';
  465 | $ws['moistMaxAlltimeTime'][1]	= wdYMD('%recordhighsoilmoistyear%','%recordhighsoilmoistmonth%','%recordhighsoilmoistday%');
      | $mrecordlowchillyear = '2024';
  466 | 
      | $mrecordlowtemp = '27.9';
  467 | # Moisture sensor 1 mimimum value for today
      | $mrecordlowtempday = '1';$mrecordlowtempday = '1';
  468 | $ws['moistMinToday'][1]		= '%loVPsoilmoisture%';
      | $mrecordlowtempmonth = '3';
  469 | # Moisture sensor 1 date/time maximum occured
      | $mrecordlowtempyear = '2024';$mrecordlowtempyear = '2024';
  470 | # Moisture sensor 2 actual value & Values and time for  min and max  for today - month and year
      | $mrecordwindspeed = '11.7';$mrecordwindspeed = '11.7';
  471 | $ws['moistAct'][2]		= '%VPsoilmoisture2%';
      | $mwarmestdayonrecord = '62.6F  on: Mar 15 2024';
  472 | $ws['moistMaxToday'][2]		= '%hiVPsoilmoisture2%';
      | $mwarmestnightonrecord = '53.1F  on: Mar 15 2024';
  473 | $ws['moistMinToday'][2]		= '%loVPsoilmoisture2%';
      | $raincurrentweek = '5.40';
  474 | # Moisture sensor 3 actual value & Values and time for  min and max  for today - month and year
      | $raintodatemonthago = '0.00';$raintodatemonthago = '0.00';
  475 | $ws['moistAct'][3]		= '%VPsoilmoisture3%';
      | $raintodateyearago = '0.00';
  476 | $ws['moistMaxToday'][3]		= '%hiVPsoilmoisture3%';
      | $timeoflastrainalways = ' 11:52 PM';
  477 | $ws['moistMinToday'][3]		= '%loVPsoilmoisture3%';
      | $windruntodatethismonth = '1371.97 miles';
  478 | # Moisture sensor 4 actual value & Values and time for  min and max  for today - month and year
      | $windruntodatethisyear = '3627.46 miles';$windruntodatethisyear = '3627.46 miles';
  479 | $ws['moistAct'][4]		= '%VPsoilmoisture4%';
      | $windruntoday = '5.35';
  480 | $ws['moistMaxToday'][4]		= '%hiVPsoilmoisture4%';
      | $yesterdaydaviset = '0.000';
  481 | $ws['moistMinToday'][4]		= '%loVPsoilmoisture4%';
      | $yrecordhighavwindday = '9';
  482 | #
      | $yrecordhighavwindmonth = '1';$yrecordhighavwindmonth = '1';
  483 | $ws['moistAvMonth'][1]	        = '%avtempjansoil%';	// Average soil temperature for january from your data
      | $yrecordhighavwindyear = '2024';$yrecordhighavwindyear = '2024';
  484 | $ws['moistAvMonth'][2]	        = '%avtempfebsoil%';
      | $yrecordhighbaro = '30.655';
  485 | $ws['moistAvMonth'][3]	        = '%avtempmarsoil%';
      | $yrecordhighbaroday = '1';
  486 | $ws['moistAvMonth'][4]	        = '%avtempaprsoil%';
      | $yrecordhighbaromonth = '3';
  487 | $ws['moistAvMonth'][5]	        = '%avtempmaysoil%';
      | $yrecordhighbaroyear = '2024';
  488 | $ws['moistAvMonth'][6]	        = '%avtempjunsoil%';
      | $yrecordhighgustday = '9';
  489 | $ws['moistAvMonth'][7]	        = '%avtempjulsoil%';
      | $yrecordhighgustmonth = '1';
  490 | $ws['moistAvMonth'][8]	        = '%avtempaugsoil%';
      | $yrecordhighgustyear = '2024';
  491 | $ws['moistAvMonth'][9]	        = '%avtempsepsoil%';
      | $yrecordhightemp = '73.2';
  492 | $ws['moistAvMonth'][10]	        = '%avtempoctsoil%';
      | $yrecordhightempday = '15';
  493 | $ws['moistAvMonth'][11]	        = '%avtempnovsoil%';
      | $yrecordhightempmonth = '3';
  494 | $ws['moistAvMonth'][12] 	= '%avtempdecsoil%';
      | $yrecordhightempyear = '2024';
  495 | 
      | $yrecordlowchill = '11.5';
  496 | $ws['moistAvMonthThisyear'][1]	= '%avtempjannowsoil%'; // Average soil temperature for january from your data, this year
      | $yrecordlowchillday = '20';$yrecordlowchillday = '20';
  497 | $ws['moistAvMonthThisyear'][2]	= '%avtempfebnowsoil%';
      | $yrecordlowchillmonth = '1';
  498 | $ws['moistAvMonthThisyear'][3]	= '%avtempmarnowsoil%';
      | $yrecordlowchillyear = '2024';
  499 | $ws['moistAvMonthThisyear'][4]	= '%avtempaprnowsoil%';
      | $yrecordlowtemp = '17.4';
  500 | $ws['moistAvMonthThisyear'][5]	= '%avtempmaynowsoil%';
      | $yrecordlowtempday = '20';
  501 | $ws['moistAvMonthThisyear'][6]	= '%avtempjunnowsoil%';
      | $yrecordlowtempmonth = '1';
  502 | $ws['moistAvMonthThisyear'][7]	= '%avtempjulnowsoil%';
      | $yrecordlowtempyear = '2024';
  503 | $ws['moistAvMonthThisyear'][8]	= '%avtempaugnowsoil%';
      | $yrecordwindgust = '31.1';
  504 | $ws['moistAvMonthThisyear'][9]	= '%avtempsepnowsoil%';
      | $yrecordwindspeed = '19.1';
  505 | $ws['moistAvMonthThisyear'][10]	= '%avtempoctnowsoil%';
      | $daysTmaxGT30C = '0';
  506 | $ws['moistAvMonthThisyear'][11]	= '%avtempnovnowsoil%';
      | $daysTmaxGT25C = '0';
  507 | $ws['moistAvMonthThisyear'][12]	= '%avtempdecnowsoil%';
      | $daysTminLT0C = '4';
  508 | 
      | $daysTminLTm15C = '0';
  509 | #----------------------------------------------------------------------
      | 
  510 | # leaf sensor 1 - 4
      | // end of trends-inc.php variables// end of trends-inc.php variables
  511 | $ws['leafAct'][1]		= '%VPleaf%';
      | 
  512 | $ws['leafWetLast10'][1] 	= '%leafminlast10min%';	// Minutes last 10 minutes leaf wetness was above zero
      | ////
  513 | $ws['leafWetLast60'][1] 	= '%leafminlast60min%';	// Minutes last 10 minutes leaf wetness was above zero
      | // CURRENT CONDITIONS ICONS FOR clientraw.txt// CURRENT CONDITIONS ICONS FOR clientraw.txt
  514 | $ws['leafMaxToday'][1]		= '%hiVPleaf%';
      | // create array for icons. There are 35 possible values in clientraw.txt// create array for icons. There are 35 possible values in clientraw.txt
  515 | $ws['leafMinToday'][1]		= '%loVPleaf%';
      | // It would be simpler to do this with array() but to make it easier to// It would be simpler to do this with array() but to make it easier to
  516 | $ws['leafMaxMonth'][1]		= '%mrecordhighleaf%';
      | // modify each element is defined individually. Each index [#] corresponds// modify each element is defined individually. Each index [#] corresponds
  517 | $ws['leafMaxYear'][1]		= '%yrecordhighleaf%';
      | // to the value provided in clientraw.txt// to the value provided in clientraw.txt
  518 | $ws['leafMaxMonthTime'][1]	= wdYMD('%mrecordhighleafyear%','%mrecordhighleafmonth%','%mrecordhighleafday%');
      | $icon_array[0] =  'day_clear.gif';            // imagesunny.visible$icon_array[0] =  'day_clear.gif';            // imagesunny.visible
  519 | $ws['leafMaxYearTime'][1]	= wdYMD('%yrecordhighleafyear%','%yrecordhighleafmonth%','%yrecordhighleafday%');
      | $icon_array[1] =  'night_clear.gif';          // imageclearnight.visible$icon_array[1] =  'night_clear.gif';          // imageclearnight.visible
  520 | $ws['leafAct'][2]		= '%VPleaf2%';
      | $icon_array[2] =  'day_partly_cloudy.gif';    // imagecloudy.visible$icon_array[2] =  'day_partly_cloudy.gif';    // imagecloudy.visible
  521 | $ws['leafHighToday'][2]		= '%hiVPleaf2%';
      | $icon_array[3] =  'day_partly_cloudy.gif';    // imagecloudy2.visible$icon_array[3] =  'day_partly_cloudy.gif';    // imagecloudy2.visible
  522 | $ws['leafLowToday'][2]		= '%loVPleaf2%';
      | $icon_array[4] =  'night_partly_cloudy.gif';  // imagecloudynight.visible$icon_array[4] =  'night_partly_cloudy.gif';  // imagecloudynight.visible
  523 | $ws['leafWetLast10'][2] 	= '%leafminlast10min2%';	// Minutes last 10 minutes leaf wetness was above zero
      | $icon_array[5] =  'day_partly_cloudy.gif';            // imagedry.visible$icon_array[5] =  'day_partly_cloudy.gif';            // imagedry.visible
  524 | $ws['leafWetLast60'][2] 	= '%leafminlast60min2%';	// Minutes last 10 minutes leaf wetness was above zero
      | $icon_array[6] =  'fog.gif';                  // imagefog.visible$icon_array[6] =  'fog.gif';                  // imagefog.visible
  525 | $ws['leafAct'][3]	        = '%VPleaf3%';
      | $icon_array[7] =  'haze.gif';                 // imagehaze.visible$icon_array[7] =  'haze.gif';                 // imagehaze.visible
  526 | $ws['leafAct'][4]	        = '%VPleaf4%';
      | $icon_array[8] =  'day_heavy_rain.gif';       // imageheavyrain.visible$icon_array[8] =  'day_heavy_rain.gif';       // imageheavyrain.visible
  527 | #-----------------------------------------------------------------------------------------
      | $icon_array[9] =  'day_mostly_sunny.gif';     // imagemainlyfine.visible$icon_array[9] =  'day_mostly_sunny.gif';     // imagemainlyfine.visible
  528 | $ws['check_ok']         = '3.00';
      | $icon_array[10] =  'mist.gif';                // imagemist.visible$icon_array[10] =  'mist.gif';                // imagemist.visible
  529 | // end of testtags.txt/testtags.php
      | $icon_array[11] =  'fog.gif';                 // imagenightfog.visible$icon_array[11] =  'fog.gif';                 // imagenightfog.visible
  530 | ?>
      | $icon_array[12] =  'night_heavy_rain.gif';    // imagenightheavyrain.visible$icon_array[12] =  'night_heavy_rain.gif';    // imagenightheavyrain.visible
  531 | src-line not found
      | $icon_array[13] =  'night_cloudy.gif';        // imagenightovercast.visible$icon_array[13] =  'night_cloudy.gif';        // imagenightovercast.visible
  532 | src-line not found
      | $icon_array[14] =  'night_rain.gif';          // imagenightrain.visible$icon_array[14] =  'night_rain.gif';          // imagenightrain.visible
  533 | src-line not found
      | $icon_array[15] =  'night_light_rain.gif';    // imagenightshowers.visible$icon_array[15] =  'night_light_rain.gif';    // imagenightshowers.visible
  534 | src-line not found
      | $icon_array[16] =  'night_snow.gif';          // imagenightsnow.visible$icon_array[16] =  'night_snow.gif';          // imagenightsnow.visible
  535 | src-line not found
      | $icon_array[17] =  'night_tstorm.gif';        // imagenightthunder.visible$icon_array[17] =  'night_tstorm.gif';        // imagenightthunder.visible
  536 | src-line not found
      | $icon_array[18] =  'day_cloudy.gif';          // imageovercast.visible$icon_array[18] =  'day_cloudy.gif';          // imageovercast.visible
  537 | src-line not found
      | $icon_array[19] =  'day_partly_cloudy.gif';   // imagepartlycloudy.visible$icon_array[19] =  'day_partly_cloudy.gif';   // imagepartlycloudy.visible
  538 | src-line not found
      | $icon_array[20] =  'day_rain.gif';            // imagerain.visible$icon_array[20] =  'day_rain.gif';            // imagerain.visible
  539 | src-line not found
      | $icon_array[21] =  'day_rain.gif';            // imagerain2.visible$icon_array[21] =  'day_rain.gif';            // imagerain2.visible
  540 | src-line not found
      | $icon_array[22] =  'day_light_rain.gif';      // imageshowers2.visible$icon_array[22] =  'day_light_rain.gif';      // imageshowers2.visible
  541 | src-line not found
      | $icon_array[23] =  'sleet.gif';               // imagesleet.visible$icon_array[23] =  'sleet.gif';               // imagesleet.visible
  542 | src-line not found
      | $icon_array[24] =  'sleet.gif';               // imagesleetshowers.visible$icon_array[24] =  'sleet.gif';               // imagesleetshowers.visible
  543 | src-line not found
      | $icon_array[25] =  'snow.gif';                // imagesnow.visible$icon_array[25] =  'snow.gif';                // imagesnow.visible
  544 | src-line not found
      | $icon_array[26] =  'snow.gif';                // imagesnowmelt.visible$icon_array[26] =  'snow.gif';                // imagesnowmelt.visible
  545 | src-line not found
      | $icon_array[27] =  'snow.gif';                // imagesnowshowers2.visible$icon_array[27] =  'snow.gif';                // imagesnowshowers2.visible
  546 | src-line not found
      | $icon_array[28] =  'day_clear.gif.gif';       // imagesunny.visible$icon_array[28] =  'day_clear.gif.gif';       // imagesunny.visible
  547 | src-line not found
      | $icon_array[29] =  'day_tstorm.gif';          // imagethundershowers.visible$icon_array[29] =  'day_tstorm.gif';          // imagethundershowers.visible
  548 | src-line not found
      | $icon_array[30] =  'day_tstorm.gif';          // imagethundershowers2.visible$icon_array[30] =  'day_tstorm.gif';          // imagethundershowers2.visible
  549 | src-line not found
      | $icon_array[31] =  'day_tstorm.gif';          // imagethunderstorms.visible$icon_array[31] =  'day_tstorm.gif';          // imagethunderstorms.visible
  550 | src-line not found
      | $icon_array[32] =  'tornado.gif';             // imagetornado.visible$icon_array[32] =  'tornado.gif';             // imagetornado.visible
  551 | src-line not found
      | $icon_array[33] =  'windy.gif';               // imagewindy.visible$icon_array[33] =  'windy.gif';               // imagewindy.visible
  552 | src-line not found
      | $icon_array[34] =  'day_partly_cloudy.gif';   // stopped raining$icon_array[34] =  'day_partly_cloudy.gif';   // stopped raining
  553 | src-line not found
      | $icon_array[35] =  'windyrain.gif';           // Wind+rain$icon_array[35] =  'windyrain.gif';           // Wind+rain
  554 | src-line not found
      | $iconnumber = '1';                // icon number$iconnumber = '1';                // icon number
  555 | src-line not found
      | 
  556 | src-line not found
      | $current_icon = $icon_array[1]; // name of our condition icon$current_icon = $icon_array[1]; // name of our condition icon
  557 | src-line not found
      | // ----------------------------------------------------------------------------------// ----------------------------------------------------------------------------------
  558 | src-line not found
      | //   $current_summary = 'Dry' . '<br />' . 'Night time/Dry ';//   $current_summary = 'Dry' . '<br />' . 'Night time/Dry ';
  559 | src-line not found
      | $weathercond = 'Dry';$weathercond = 'Dry';
  560 | src-line not found
      | $Currentsolardescription = 'Night time/Dry ';$Currentsolardescription = 'Night time/Dry ';
  561 | src-line not found
      | $current_summary = $Currentsolardescription;$current_summary = $Currentsolardescription;
  562 | src-line not found
      | $current_summary = preg_replace('|^/[^/]+/|','',$current_summary);$current_summary = preg_replace('|^/[^/]+/|','',$current_summary);
  563 | src-line not found
      | $current_summary = preg_replace('|\\\\|',', ',$current_summary);$current_summary = preg_replace('|\\\\|',', ',$current_summary);
  564 | src-line not found
      | $current_summary = preg_replace('|/|',', ',$current_summary);$current_summary = preg_replace('|/|',', ',$current_summary);
  565 | src-line not found
      | ////
  566 | src-line not found
      | ////
  567 | src-line not found
      | $cloudheightfeet =  '1583';	// Estimated cloud base height, feet, (based on dew point, and you height above sea  level...enter$cloudheightfeet =  '1583';	// Estimated cloud base height, feet, (based on dew point, and you height above sea  level...enter
  568 | src-line not found
      | $cloudheightmeters =  '483';	// Estimated cloud base height, metres, (based on dew point, and you height above sea$cloudheightmeters =  '483';	// Estimated cloud base height, metres, (based on dew point, and you height above sea
  569 | src-line not found
      | 
  570 | src-line not found
      | // end of stock testtags.txt// end of stock testtags.txt
  571 | src-line not found
      | 
  572 | src-line not found
      | // ----------------------------------------------------------------------------------------------------// ----------------------------------------------------------------------------------------------------
  573 | src-line not found
      | // begin mchallis tags added to testtags.txt for printable flyer// begin mchallis tags added to testtags.txt for printable flyer
  574 | src-line not found
      | $maxgsthrtime = '1:34';        // time that the max gust last prior 1 hour occured
  575 | src-line not found
      | $minbaroyest  = '29.795';$minbaroyest  = '29.795';
  576 | src-line not found
      | $minbaroyestt = '11:59 PM';$minbaroyestt = '11:59 PM';
  577 | src-line not found
      | $mrecordlowbaro = '29.306';$mrecordlowbaro = '29.306';
  578 | src-line not found
      | $mrecordlowbaroday = '10';$mrecordlowbaroday = '10';
  579 | src-line not found
      | $mrecordlowbaromonth = '3';$mrecordlowbaromonth = '3';
  580 | src-line not found
      | $mrecordlowbaroyear = '2024';$mrecordlowbaroyear = '2024';
  581 | src-line not found
      | $yrecordlowbaro = '28.981';$yrecordlowbaro = '28.981';
  582 | src-line not found
      | $yrecordlowbaroday = '10';$yrecordlowbaroday = '10';
  583 | src-line not found
      | $yrecordlowbaromonth = '1';$yrecordlowbaromonth = '1';
  584 | src-line not found
      | $yrecordlowbaroyear = '2024';$yrecordlowbaroyear = '2024';
  585 | src-line not found
      | // end mchallis tags added to testtags.txt for printable flyer// end mchallis tags added to testtags.txt for printable flyer
  586 | src-line not found
      | // ----------------------------------------------------------------------------------------------------// ----------------------------------------------------------------------------------------------------
  587 | src-line not found
      | // New WebsterWeatherLive VER 4.10 tags// New WebsterWeatherLive VER 4.10 tags
  588 | src-line not found
      | //----------------------------------------------//----------------------------------------------
  589 | src-line not found
      | $lighteningbearing = '0';$lighteningbearing = '0';
  590 | src-line not found
      | $lighteningdistance = '0';$lighteningdistance = '0';
  591 | src-line not found
      | $lighteningcountlasthournextstorm = '0';$lighteningcountlasthournextstorm = '0';
  592 | src-line not found
      | $lighteningcountlastminutenextstorm = '0';$lighteningcountlastminutenextstorm = '0';
  593 | src-line not found
      | $lighteningcountlast12hournextstorm = '0';$lighteningcountlast12hournextstorm = '0';
  594 | src-line not found
      | $lighteningcountlast30minutesnextstorm = '0';$lighteningcountlast30minutesnextstorm = '0';
  595 | src-line not found
      | $timeofdaygreeting = 'Night';$timeofdaygreeting = 'Night';
  596 | src-line not found
      | $avwindlastimediate60 = '2.9'; // average wind speed
  597 | src-line not found
      | $avwindlastimediate120 = '3.1'; // average wind speed
  598 | src-line not found
      | $currentmonthaveragerain = '---'; // average rain for current month$currentmonthaveragerain = '---'; // average rain for current month
  599 | src-line not found
      | ////
  600 | src-line not found
      | // version 5.00+// version 5.00+
  601 | src-line not found
      | $avwindlastimediate15 = '3.8'; // average wind speed
  602 | src-line not found
      | $avwindlastimediate30 = '3.4'; // average wind speed
  603 | src-line not found
      | $todayhihumidex = '39.2'; //daily high humidex$todayhihumidex = '39.2'; //daily high humidex
  604 | src-line not found
      | $todaylohumidex = '38.4'; //Daily low Humidex$todaylohumidex = '38.4'; //Daily low Humidex
  605 | src-line not found
      | //Version 5.02//Version 5.02
  606 | src-line not found
      | $dayornight = 'Night'; // Day or night flag$dayornight = 'Night'; // Day or night flag
  607 | src-line not found
      | 
  608 | src-line not found
      | //Version 6.20//Version 6.20
  609 | src-line not found
      | $tempchangelasthourfaren = '+0.5'; //For snow prediction$tempchangelasthourfaren = '+0.5'; //For snow prediction
  610 | src-line not found
      | $abshum = '5.09'; //For snow prediction$abshum = '5.09'; //For snow prediction
  611 | src-line not found
      | $maxtemp4today = '55.4'; // max from station's records$maxtemp4today = '55.4'; // max from station's records
  612 | src-line not found
      | $mintemp4today = '36.8'; // min from station's records$mintemp4today = '36.8'; // min from station's records
  613 | src-line not found
      | $maxtemp4todayyr = '2023'; // max year from station's records$maxtemp4todayyr = '2023'; // max year from station's records
  614 | src-line not found
      | $mintemp4todayyr = '2023'; // min year from station's records$mintemp4todayyr = '2023'; // min year from station's records
  615 | src-line not found
      | $avsnowjan = '0.0'; //Average snow for jan from your inputted snow data (cm)$avsnowjan = '0.0'; //Average snow for jan from your inputted snow data (cm)
  616 | src-line not found
      | $avsnowfeb = '0.0'; //Average snow for feb from your inputted snow data (cm)$avsnowfeb = '0.0'; //Average snow for feb from your inputted snow data (cm)
  617 | src-line not found
      | $avsnowmar = '0.0'; //Average snow for mar from your inputted snow data (cm)$avsnowmar = '0.0'; //Average snow for mar from your inputted snow data (cm)
  618 | src-line not found
      | $avsnowapr = '0.0'; //Average snow for apr from your inputted snow data (cm)$avsnowapr = '0.0'; //Average snow for apr from your inputted snow data (cm)
  619 | src-line not found
      | $avsnowmay = '0.0'; //Average snow for may from your inputted snow data (cm)$avsnowmay = '0.0'; //Average snow for may from your inputted snow data (cm)
  620 | src-line not found
      | $avsnowjun = '0.0'; //Average snow for may from your inputted snow data (cm)$avsnowjun = '0.0'; //Average snow for may from your inputted snow data (cm)
  621 | src-line not found
      | $avsnowjul = '0.0'; //Average snow for jul from your inputted snow data (cm)$avsnowjul = '0.0'; //Average snow for jul from your inputted snow data (cm)
  622 | src-line not found
      | $avsnowaug = '0.0'; //Average snow for aug from your inputted snow data (cm)$avsnowaug = '0.0'; //Average snow for aug from your inputted snow data (cm)
  623 | src-line not found
      | $avsnowsep = '0.0'; //Average snow for sep from your inputted snow data (cm)$avsnowsep = '0.0'; //Average snow for sep from your inputted snow data (cm)
  624 | src-line not found
      | $avsnowoct = '0.0'; //Average snow for oct from your inputted snow data (cm)$avsnowoct = '0.0'; //Average snow for oct from your inputted snow data (cm)
  625 | src-line not found
      | $avsnownov = '0.0'; //Average snow for nov from your inputted snow data (cm)$avsnownov = '0.0'; //Average snow for nov from your inputted snow data (cm)
  626 | src-line not found
      | $avsnowdec = '0.0'; //Average snow for dec from your inputted snow data (cm)$avsnowdec = '0.0'; //Average snow for dec from your inputted snow data (cm)
  627 | src-line not found
      | $avsnowjannow = '0.0';$avsnowjannow = '0.0';
  628 | src-line not found
      | $avsnowfebnow = '0.0';$avsnowfebnow = '0.0';
  629 | src-line not found
      | $avsnowmarnow = '0.0';$avsnowmarnow = '0.0';
  630 | src-line not found
      | $avsnowaprnow = '0.0';$avsnowaprnow = '0.0';
  631 | src-line not found
      | $avsnowmaynow = '0.0';$avsnowmaynow = '0.0';
  632 | src-line not found
      | $avsnowjunnow = '0.0';$avsnowjunnow = '0.0';
  633 | src-line not found
      | $avsnowjulnow = '0.0';$avsnowjulnow = '0.0';
  634 | src-line not found
      | $avsnowaugnow = '0.0';$avsnowaugnow = '0.0';
  635 | src-line not found
      | $avsnowsepnow = '0.0';$avsnowsepnow = '0.0';
  636 | src-line not found
      | $avsnowoctnow = '0.0';$avsnowoctnow = '0.0';
  637 | src-line not found
      | $avsnownovnow = '0.0';$avsnownovnow = '0.0';
  638 | src-line not found
      | $avsnowdecnow = '0.0';$avsnowdecnow = '0.0';
  639 | src-line not found
      | // end of websterweather additions// end of websterweather additions
  640 | src-line not found
      | // ----------------------------------------------------------------------------------------------------// ----------------------------------------------------------------------------------------------------
  641 | src-line not found
      | // relayweather wxglobalwarming// relayweather wxglobalwarming
  642 | src-line not found
      | // For Temperature Trend Chart, you Need to add the following to your testtags file if they don't yet exist:// For Temperature Trend Chart, you Need to add the following to your testtags file if they don't yet exist:
  643 | src-line not found
      | 
  644 | src-line not found
      | $avtempjannow = '36.5';$avtempjannow = '36.5';
  645 | src-line not found
      | $avtempfebnow = '37.9';$avtempfebnow = '37.9';
  646 | src-line not found
      | $avtempmarnow = '45.3';$avtempmarnow = '45.3';
  647 | src-line not found
      | $avtempaprnow = '55.5';$avtempaprnow = '55.5';
  648 | src-line not found
      | $avtempmaynow = '60.8';$avtempmaynow = '60.8';
  649 | src-line not found
      | $avtempjunnow = '67.9';$avtempjunnow = '67.9';
  650 | src-line not found
      | $avtempjulnow = '77.4';$avtempjulnow = '77.4';
  651 | src-line not found
      | $avtempaugnow = '73.1';$avtempaugnow = '73.1';
  652 | src-line not found
      | $avtempsepnow = '68.4';$avtempsepnow = '68.4';
  653 | src-line not found
      | $avtempoctnow = '58.8';$avtempoctnow = '58.8';
  654 | src-line not found
      | $avtempnovnow = '45.7';$avtempnovnow = '45.7';
  655 | src-line not found
      | $avtempdecnow = '43.6';$avtempdecnow = '43.6';
  656 | src-line not found
      | $avtempjan = '38.3';//Average temperature for january from your data$avtempjan = '38.3';//Average temperature for january from your data
  657 | src-line not found
      | $avtempfeb = '38.7';//Average temperature for february from your data$avtempfeb = '38.7';//Average temperature for february from your data
  658 | src-line not found
      | $avtempmar = '44.1';//Average temperature for march from your data$avtempmar = '44.1';//Average temperature for march from your data
  659 | src-line not found
      | $avtempapr = '55.5';//Average temperature for april from your data$avtempapr = '55.5';//Average temperature for april from your data
  660 | src-line not found
      | $avtempmay = '60.8';//Average temperature for may from your data$avtempmay = '60.8';//Average temperature for may from your data
  661 | src-line not found
      | $avtempjun = '67.9';//Average temperature for june from your data$avtempjun = '67.9';//Average temperature for june from your data
  662 | src-line not found
      | $avtempjul = '77.4';//Average temperature for july from your data$avtempjul = '77.4';//Average temperature for july from your data
  663 | src-line not found
      | $avtempaug = '73.1';//Average temperature for august from your data$avtempaug = '73.1';//Average temperature for august from your data
  664 | src-line not found
      | $avtempsep = '68.4';//Average temperature for september from your data$avtempsep = '68.4';//Average temperature for september from your data
  665 | src-line not found
      | $avtempoct = '58.8';//Average temperature for october from your data$avtempoct = '58.8';//Average temperature for october from your data
  666 | src-line not found
      | $avtempnov = '45.7';//Average temperature for november from your data$avtempnov = '45.7';//Average temperature for november from your data
  667 | src-line not found
      | $avtempdec = '43.6';//Average temperature for december from your data$avtempdec = '43.6';//Average temperature for december from your data
  668 | src-line not found
      | 
  669 | src-line not found
      | //For the Rain Trending Chart, you Need to add the following to your testtags file if they don't yet exist://For the Rain Trending Chart, you Need to add the following to your testtags file if they don't yet exist:
  670 | src-line not found
      | 
  671 | src-line not found
      | //Start Rain Trending//Start Rain Trending
  672 | src-line not found
      | $avrainjan = '4.08';$avrainjan = '4.08';
  673 | src-line not found
      | $avrainfeb = '1.55';$avrainfeb = '1.55';
  674 | src-line not found
      | $avrainmar = '4.75';$avrainmar = '4.75';
  675 | src-line not found
      | $avrainapr = '3.98';$avrainapr = '3.98';
  676 | src-line not found
      | $avrainmay = '2.02';$avrainmay = '2.02';
  677 | src-line not found
      | $avrainjun = '1.42';$avrainjun = '1.42';
  678 | src-line not found
      | $avrainjul = '1.92';$avrainjul = '1.92';
  679 | src-line not found
      | $avrainaug = '4.02';$avrainaug = '4.02';
  680 | src-line not found
      | $avrainsep = '8.93';$avrainsep = '8.93';
  681 | src-line not found
      | $avrainoct = '2.11';$avrainoct = '2.11';
  682 | src-line not found
      | $avrainnov = '2.02';$avrainnov = '2.02';
  683 | src-line not found
      | $avraindec = '6.33';$avraindec = '6.33';
  684 | src-line not found
      | 
  685 | src-line not found
      | $avrainjannow = '4.85';$avrainjannow = '4.85';
  686 | src-line not found
      | $avrainfebnow = '1.56';$avrainfebnow = '1.56';
  687 | src-line not found
      | $avrainmarnow = '11.38';$avrainmarnow = '11.38';
  688 | src-line not found
      | $avrainaprnow = '3.98';$avrainaprnow = '3.98';
  689 | src-line not found
      | $avrainmaynow = '2.02';$avrainmaynow = '2.02';
  690 | src-line not found
      | $avrainjunnow = '1.42';$avrainjunnow = '1.42';
  691 | src-line not found
      | $avrainjulnow = '1.92';$avrainjulnow = '1.92';
  692 | src-line not found
      | $avrainaugnow = '4.02';$avrainaugnow = '4.02';
  693 | src-line not found
      | $avrainsepnow = '8.93';$avrainsepnow = '8.93';
  694 | src-line not found
      | $avrainoctnow = '2.11';$avrainoctnow = '2.11';
  695 | src-line not found
      | $avrainnovnow = '2.02';$avrainnovnow = '2.02';
  696 | src-line not found
      | $avraindecnow = '6.33';$avraindecnow = '6.33';
  697 | src-line not found
      | //End Rain Trending//End Rain Trending
  698 | src-line not found
      | // end of relayweather tags// end of relayweather tags
  699 | src-line not found
      | // ----------------------------------------------------------------------------------------------------// ----------------------------------------------------------------------------------------------------
  700 | src-line not found
      | // eastmasonville wxrecord.php tags// eastmasonville wxrecord.php tags
  701 | src-line not found
      | $recordhightemp = '95.0';$recordhightemp = '95.0';
  702 | src-line not found
      | $recordlowtemp = '4.3';$recordlowtemp = '4.3';
  703 | src-line not found
      | $recordhighheatindex = '108.3';$recordhighheatindex = '108.3';
  704 | src-line not found
      | $recordlowchill = '-5.6';$recordlowchill = '-5.6';
  705 | src-line not found
      | $warmestdayonrecord = '91.6 F  on: Jul 28 2023';$warmestdayonrecord = '91.6 F  on: Jul 28 2023';
  706 | src-line not found
      | $warmestnightonrecord = '80.2F  on: Jul 29 2023';$warmestnightonrecord = '80.2F  on: Jul 29 2023';
  707 | src-line not found
      | $coldestdayonrecord = '12.9F  on: Feb 04 2023';$coldestdayonrecord = '12.9F  on: Feb 04 2023';
  708 | src-line not found
      | $coldestnightonrecord = '9.3F  on: Feb 04 2023';$coldestnightonrecord = '9.3F  on: Feb 04 2023';
  709 | src-line not found
      | $recordwindgust = '31.1';$recordwindgust = '31.1';
  710 | src-line not found
      | $recordwindspeed = '19.1';$recordwindspeed = '19.1';
  711 | src-line not found
      | $recordhighwindrun = '164.1';$recordhighwindrun = '164.1';
  712 | src-line not found
      | $recorddailyrain = '4.32';$recorddailyrain = '4.32';
  713 | src-line not found
      | $recordhighrainmth = '11.4';$recordhighrainmth = '11.4';
  714 | src-line not found
      | $recordrainrate = '0.394';$recordrainrate = '0.394';
  715 | src-line not found
      | $recorddayswithrain = '9';$recorddayswithrain = '9';
  716 | src-line not found
      | $recorddaysnorain = '11';$recorddaysnorain = '11';
  717 | src-line not found
      | $recordhighdew = '78.4';$recordhighdew = '78.4';
  718 | src-line not found
      | $recordlowdew = '-18.2';$recordlowdew = '-18.2';
  719 | src-line not found
      | $recordhighhum = '89';$recordhighhum = '89';
  720 | src-line not found
      | $recordlowhum = '6';$recordlowhum = '6';
  721 | src-line not found
      | $recordhighbaro = '30.688';$recordhighbaro = '30.688';
  722 | src-line not found
      | $recordlowbaro = '28.981';$recordlowbaro = '28.981';
  723 | src-line not found
      | $recordhighsolar = '0.0';$recordhighsolar = '0.0';
  724 | src-line not found
      | $recordhightempmonth = '7';$recordhightempmonth = '7';
  725 | src-line not found
      | $recordhightempday = '28';$recordhightempday = '28';
  726 | src-line not found
      | $recordhightempyear = '2023';$recordhightempyear = '2023';
  727 | src-line not found
      | $recordlowtempmonth = '2';$recordlowtempmonth = '2';
  728 | src-line not found
      | $recordlowtempday = '4';$recordlowtempday = '4';
  729 | src-line not found
      | $recordlowtempyear = '2023';$recordlowtempyear = '2023';
  730 | src-line not found
      | $recordhighheatindexmonth = '7';$recordhighheatindexmonth = '7';
  731 | src-line not found
      | $recordhighheatindexday = '27';$recordhighheatindexday = '27';
  732 | src-line not found
      | $recordhighheatindexyear = '2023';$recordhighheatindexyear = '2023';
  733 | src-line not found
      | $recordlowchillmonth = '2';$recordlowchillmonth = '2';
  734 | src-line not found
      | $recordlowchillday = '4';$recordlowchillday = '4';
  735 | src-line not found
      | $recordlowchillyear = '2023';$recordlowchillyear = '2023';
  736 | src-line not found
      | $recordhighgustmonth = '1';$recordhighgustmonth = '1';
  737 | src-line not found
      | $recordhighgustday = '9';$recordhighgustday = '9';
  738 | src-line not found
      | $recordhighgustyear = '2024';$recordhighgustyear = '2024';
  739 | src-line not found
      | $recordhighavwindmonth = '1';$recordhighavwindmonth = '1';
  740 | src-line not found
      | $recordhighavwindday = '9';$recordhighavwindday = '9';
  741 | src-line not found
      | $recordhighavwindyear = '2024';$recordhighavwindyear = '2024';
  742 | src-line not found
      | $recordhighwindrunmth = '2';$recordhighwindrunmth = '2';
  743 | src-line not found
      | $recordhighwindrunday = '28';$recordhighwindrunday = '28';
  744 | src-line not found
      | $recordhighwindrunyr = '2024';$recordhighwindrunyr = '2024';
  745 | src-line not found
      | $recorddailyrainmonth = '9';$recorddailyrainmonth = '9';
  746 | src-line not found
      | $recorddailyrainday = '29';$recorddailyrainday = '29';
  747 | src-line not found
      | $recorddailyrainyear = '2023';$recorddailyrainyear = '2023';
  748 | src-line not found
      | $recordhighrainmthmth = '3';$recordhighrainmthmth = '3';
  749 | src-line not found
      | $recordhighrainmthyr = '2024';$recordhighrainmthyr = '2024';
  750 | src-line not found
      | $recordrainratemonth = '8';$recordrainratemonth = '8';
  751 | src-line not found
      | $recordrainrateday = '18';$recordrainrateday = '18';
  752 | src-line not found
      | $recordrainrateyear = '2023';$recordrainrateyear = '2023';
  753 | src-line not found
      | $recorddayswithrainmonth = '7';$recorddayswithrainmonth = '7';
  754 | src-line not found
      | $recorddayswithrainday = '22';$recorddayswithrainday = '22';
  755 | src-line not found
      | $recorddayswithrainyear = '2023';$recorddayswithrainyear = '2023';
  756 | src-line not found
      | $recorddaysnorainmonth = '5';$recorddaysnorainmonth = '5';
  757 | src-line not found
      | $recorddaysnorainday = '20';$recorddaysnorainday = '20';
  758 | src-line not found
      | $recorddaysnorainyear = '2023';$recorddaysnorainyear = '2023';
  759 | src-line not found
      | $recordhighdewmonth = '7';$recordhighdewmonth = '7';
  760 | src-line not found
      | $recordhighdewday = '2';$recordhighdewday = '2';
  761 | src-line not found
      | $recordhighdewyear = '2023';$recordhighdewyear = '2023';
  762 | src-line not found
      | $recordlowdewmonth = '2';$recordlowdewmonth = '2';
  763 | src-line not found
      | $recordlowdewday = '4';$recordlowdewday = '4';
  764 | src-line not found
      | $recordlowdewyear = '2023';$recordlowdewyear = '2023';
  765 | src-line not found
      | $recordhighhummonth = '4';$recordhighhummonth = '4';
  766 | src-line not found
      | $recordhighhumday = '30';$recordhighhumday = '30';
  767 | src-line not found
      | $recordhighhumyear = '2023';$recordhighhumyear = '2023';
  768 | src-line not found
      | $recordlowhummonth = '4';$recordlowhummonth = '4';
  769 | src-line not found
      | $recordlowhumday = '11';$recordlowhumday = '11';
  770 | src-line not found
      | $recordlowhumyear = '2023';$recordlowhumyear = '2023';
  771 | src-line not found
      | $recordhighbaromonth = '12';$recordhighbaromonth = '12';
  772 | src-line not found
      | $recordhighbaroday = '14';$recordhighbaroday = '14';
  773 | src-line not found
      | $recordhighbaroyear = '2023';$recordhighbaroyear = '2023';
  774 | src-line not found
      | $recordlowbaromonth = '12';$recordlowbaromonth = '12';
  775 | src-line not found
      | $recordlowbaroday = '18';$recordlowbaroday = '18';
  776 | src-line not found
      | $recordlowbaroyear = '2023';$recordlowbaroyear = '2023';
  777 | src-line not found
      | $recordhighsolarmonth = '1';$recordhighsolarmonth = '1';
  778 | src-line not found
      | $recordhighsolarday = '8';$recordhighsolarday = '8';
  779 | src-line not found
      | $recordhighsolaryear = '2023';$recordhighsolaryear = '2023';
  780 | src-line not found
      | $recordhighuv = '0.0';$recordhighuv = '0.0';
  781 | src-line not found
      | $recordhighuvmonth = '1';$recordhighuvmonth = '1';
  782 | src-line not found
      | $recordhighuvday = '8';$recordhighuvday = '8';
  783 | src-line not found
      | $recordhighuvyear = '2023';$recordhighuvyear = '2023';
  784 | src-line not found
      | 
  785 | src-line not found
      | $yrecordhighheatindex = '73.2';$yrecordhighheatindex = '73.2';
  786 | src-line not found
      | $yrecordhighheatindexmonth = '3';$yrecordhighheatindexmonth = '3';
  787 | src-line not found
      | $yrecordhighheatindexday = '15';$yrecordhighheatindexday = '15';
  788 | src-line not found
      | $yrecordhighheatindexyear = '2024';$yrecordhighheatindexyear = '2024';
  789 | src-line not found
      | $ywarmestdayonrecord = '62.6F  on: Mar 15 2024';$ywarmestdayonrecord = '62.6F  on: Mar 15 2024';
  790 | src-line not found
      | $ywarmestnightonrecord = '53.8F  on: Jan 10 2024';$ywarmestnightonrecord = '53.8F  on: Jan 10 2024';
  791 | src-line not found
      | $ycoldestdayonrecord = '21.7F  on: Jan 17 2024';$ycoldestdayonrecord = '21.7F  on: Jan 17 2024';
  792 | src-line not found
      | $ycoldestnightonrecord = '19.9F  on: Jan 21 2024';$ycoldestnightonrecord = '19.9F  on: Jan 21 2024';
  793 | src-line not found
      | $yrecordhighwindrun = '164.1';$yrecordhighwindrun = '164.1';
  794 | src-line not found
      | $yrecordhighwindrunmth = '2';$yrecordhighwindrunmth = '2';
  795 | src-line not found
      | $yrecordhighwindrunday = '28';$yrecordhighwindrunday = '28';
  796 | src-line not found
      | $yrecordhighwindrunyr = '2024';$yrecordhighwindrunyr = '2024';
  797 | src-line not found
      | $yrecorddailyrain = '3.90';$yrecorddailyrain = '3.90';
  798 | src-line not found
      | $yrecordhighrainmth = '11.4';$yrecordhighrainmth = '11.4';
  799 | src-line not found
      | $yrecordrainrate = '0.082';$yrecordrainrate = '0.082';
  800 | src-line not found
      | $yrecorddayswithrain = '7';$yrecorddayswithrain = '7';
  801 | src-line not found
      | $yrecorddaysnorain = '10';$yrecorddaysnorain = '10';
  802 | src-line not found
      | $yrecordhighdew = '54.0';$yrecordhighdew = '54.0';
  803 | src-line not found
      | $yrecordlowdew = '0.1';$yrecordlowdew = '0.1';
  804 | src-line not found
      | $yrecordhighhum = '88';$yrecordhighhum = '88';
  805 | src-line not found
      | $yrecordlowhum = '12';$yrecordlowhum = '12';
  806 | src-line not found
      | $yrecorddailyrainmonth = '3';$yrecorddailyrainmonth = '3';
  807 | src-line not found
      | $yrecorddailyrainday = '23';$yrecorddailyrainday = '23';
  808 | src-line not found
      | $yrecorddailyrainyear = '2024';$yrecorddailyrainyear = '2024';
  809 | src-line not found
      | $yrecordhighrainmthmth = '3';$yrecordhighrainmthmth = '3';
  810 | src-line not found
      | $yrecordhighrainmthyr = '2024';$yrecordhighrainmthyr = '2024';
  811 | src-line not found
      | $yrecordrainratemonth = '3';$yrecordrainratemonth = '3';
  812 | src-line not found
      | $yrecordrainrateday = '23';$yrecordrainrateday = '23';
  813 | src-line not found
      | $yrecordrainrateyear = '2024';$yrecordrainrateyear = '2024';
  814 | src-line not found
      | $yrecorddayswithrainmonth = '1';$yrecorddayswithrainmonth = '1';
  815 | src-line not found
      | $yrecorddayswithrainday = '29';$yrecorddayswithrainday = '29';
  816 | src-line not found
      | $yrecorddaysnorainmonth = '2';$yrecorddaysnorainmonth = '2';
  817 | src-line not found
      | $yrecorddaysnorainday = '13';$yrecorddaysnorainday = '13';
  818 | src-line not found
      | $yrecordhighdewmonth = '1';$yrecordhighdewmonth = '1';
  819 | src-line not found
      | $yrecordhighdewday = '13';$yrecordhighdewday = '13';
  820 | src-line not found
      | $yrecordhighdewyear = '2024';$yrecordhighdewyear = '2024';
  821 | src-line not found
      | $yrecordlowdewmonth = '2';$yrecordlowdewmonth = '2';
  822 | src-line not found
      | $yrecordlowdewday = '25';$yrecordlowdewday = '25';
  823 | src-line not found
      | $yrecordlowdewyear = '2024';$yrecordlowdewyear = '2024';
  824 | src-line not found
      | $yrecordhighhummonth = '1';$yrecordhighhummonth = '1';
  825 | src-line not found
      | $yrecordhighhumday = '9';$yrecordhighhumday = '9';
  826 | src-line not found
      | $yrecordhighhumyear = '2024';$yrecordhighhumyear = '2024';
  827 | src-line not found
      | $yrecordlowhummonth = '3';$yrecordlowhummonth = '3';
  828 | src-line not found
      | $yrecordlowhumday = '14';$yrecordlowhumday = '14';
  829 | src-line not found
      | $yrecordlowhumyear = '2024';$yrecordlowhumyear = '2024';
  830 | src-line not found
      | $yrecordhighsolar = '0.0';$yrecordhighsolar = '0.0';
  831 | src-line not found
      | $yrecordhighsolarmonth = '1';$yrecordhighsolarmonth = '1';
  832 | src-line not found
      | $yrecordhighsolarday = '8';$yrecordhighsolarday = '8';
  833 | src-line not found
      | $yrecordhighsolaryear = '2023';$yrecordhighsolaryear = '2023';
  834 | src-line not found
      | $yrecordhighuv = '0.0';$yrecordhighuv = '0.0';
  835 | src-line not found
      | $yrecordhighuvmonth = '1';$yrecordhighuvmonth = '1';
  836 | src-line not found
      | $yrecordhighuvday = '8';$yrecordhighuvday = '8';
  837 | src-line not found
      | $yrecordhighuvyear = '2023';$yrecordhighuvyear = '2023';
  838 | src-line not found
      | 
  839 | src-line not found
      | $mrecordhighheatindex = '73.2';$mrecordhighheatindex = '73.2';
  840 | src-line not found
      | $mrecordhighheatindexmonth = '3';$mrecordhighheatindexmonth = '3';
  841 | src-line not found
      | $mrecordhighheatindexday = '15';$mrecordhighheatindexday = '15';
  842 | src-line not found
      | $mrecordhighheatindexyear = '2024';$mrecordhighheatindexyear = '2024';
  843 | src-line not found
      | $mrecordhighwindrun = '112.7';$mrecordhighwindrun = '112.7';
  844 | src-line not found
      | $mrecordhighwindrunmth = '3';$mrecordhighwindrunmth = '3';
  845 | src-line not found
      | $mrecordhighwindrunday = '11';$mrecordhighwindrunday = '11';
  846 | src-line not found
      | $mrecordhighwindrunyr = '2024';$mrecordhighwindrunyr = '2024';
  847 | src-line not found
      | $mrecorddailyrain = '3.90';$mrecorddailyrain = '3.90';
  848 | src-line not found
      | $mrecordhighrainmth = '11.4';$mrecordhighrainmth = '11.4';
  849 | src-line not found
      | $mrecordrainrate = '0.082';$mrecordrainrate = '0.082';
  850 | src-line not found
      | $mrecorddayswithrain = '3';$mrecorddayswithrain = '3';
  851 | src-line not found
      | $mrecorddaysnorain = '9';$mrecorddaysnorain = '9';
  852 | src-line not found
      | $mrecordhighdew = '51.6';$mrecordhighdew = '51.6';
  853 | src-line not found
      | $mrecordlowdew = '3.6';$mrecordlowdew = '3.6';
  854 | src-line not found
      | $mrecordhighhum = '88';$mrecordhighhum = '88';
  855 | src-line not found
      | $mrecordlowhum = '12';$mrecordlowhum = '12';
  856 | src-line not found
      | $mrecorddailyrainmonth = '3';$mrecorddailyrainmonth = '3';
  857 | src-line not found
      | $mrecorddailyrainday = '23';$mrecorddailyrainday = '23';
  858 | src-line not found
      | $mrecorddailyrainyear = '2024';$mrecorddailyrainyear = '2024';
  859 | src-line not found
      | $mrecordhighrainmthmth = '3';$mrecordhighrainmthmth = '3';
  860 | src-line not found
      | $mrecordhighrainmthyr = '2024';$mrecordhighrainmthyr = '2024';
  861 | src-line not found
      | $mrecordrainratemonth = '3';$mrecordrainratemonth = '3';
  862 | src-line not found
      | $mrecordrainrateday = '23';$mrecordrainrateday = '23';
  863 | src-line not found
      | $mrecordrainrateyear = '2024';$mrecordrainrateyear = '2024';
  864 | src-line not found
      | $mrecorddayswithrainmonth = '3';$mrecorddayswithrainmonth = '3';
  865 | src-line not found
      | $mrecorddayswithrainday = '7';$mrecorddayswithrainday = '7';
  866 | src-line not found
      | $mrecorddaysnorainmonth = '3';$mrecorddaysnorainmonth = '3';
  867 | src-line not found
      | $mrecorddaysnorainday = '20';$mrecorddaysnorainday = '20';
  868 | src-line not found
      | $mrecordhighdewmonth = '3';$mrecordhighdewmonth = '3';
  869 | src-line not found
      | $mrecordhighdewday = '3';$mrecordhighdewday = '3';
  870 | src-line not found
      | $mrecordhighdewyear = '2024';$mrecordhighdewyear = '2024';
  871 | src-line not found
      | $mrecordlowdewmonth = '3';$mrecordlowdewmonth = '3';
  872 | src-line not found
      | $mrecordlowdewday = '21';$mrecordlowdewday = '21';
  873 | src-line not found
      | $mrecordlowdewyear = '2024';$mrecordlowdewyear = '2024';
  874 | src-line not found
      | $mrecordhighhummonth = '3';$mrecordhighhummonth = '3';
  875 | src-line not found
      | $mrecordhighhumday = '3';$mrecordhighhumday = '3';
  876 | src-line not found
      | $mrecordhighhumyear = '2024';$mrecordhighhumyear = '2024';
  877 | src-line not found
      | $mrecordlowhummonth = '3';$mrecordlowhummonth = '3';
  878 | src-line not found
      | $mrecordlowhumday = '14';$mrecordlowhumday = '14';
  879 | src-line not found
      | $mrecordlowhumyear = '2024';$mrecordlowhumyear = '2024';
  880 | src-line not found
      | $myrecordhighbaromonth = '3';$myrecordhighbaromonth = '3';
  881 | src-line not found
      | $mrecordhighsolar = '0.0';$mrecordhighsolar = '0.0';
  882 | src-line not found
      | $mrecordhighsolarmonth = '1';$mrecordhighsolarmonth = '1';
  883 | src-line not found
      | $mrecordhighsolarday = '8';$mrecordhighsolarday = '8';
  884 | src-line not found
      | $mrecordhighsolaryear = '2023';$mrecordhighsolaryear = '2023';
  885 | src-line not found
      | $mrecordhighuv = '0.0';$mrecordhighuv = '0.0';
  886 | src-line not found
      | $mrecordhighuvmonth = '1';$mrecordhighuvmonth = '1';
  887 | src-line not found
      | $mrecordhighuvday = '8';$mrecordhighuvday = '8';
  888 | src-line not found
      | $mrecordhighuvyear = '2023';$mrecordhighuvyear = '2023';
  889 | src-line not found
      | // end of eastmasonville wxrecord.php tags// end of eastmasonville wxrecord.php tags
  890 | src-line not found
      | // ----------------------------------------------------------------------------------------------------// ----------------------------------------------------------------------------------------------------
  891 | src-line not found
      | // other addons// other addons
  892 | src-line not found
      | $vpissstatus = 'Ok';      // VP ISS Status$vpissstatus = 'Ok';      // VP ISS Status
  893 | src-line not found
      | $vpreception2 = '100%'; // VP Current reception %  *** NEW IN V1.01$vpreception2 = '100%'; // VP Current reception %  *** NEW IN V1.01
  894 | src-line not found
      | $vpconsolebattery = '4.6'; // VP Console Battery Volts *** NEW IN V1.01$vpconsolebattery = '4.6'; // VP Console Battery Volts *** NEW IN V1.01
  895 | src-line not found
      | $firewi = '0.0'; // Fire Weather Index$firewi = '0.0'; // Fire Weather Index
  896 | src-line not found
      | $avtempweek = '41.3';    // Average Weekly Temp$avtempweek = '41.3';    // Average Weekly Temp
  897 | src-line not found
      | $hddday = '1.4';        // Heating Degree for day$hddday = '1.4';        // Heating Degree for day
  898 | src-line not found
      | $hddmonth = '552.3';    // Heating Degree for month to date$hddmonth = '552.3';    // Heating Degree for month to date
  899 | src-line not found
      | $hddyear = '2218.2';    // Heating Degree for year to date$hddyear = '2218.2';    // Heating Degree for year to date
  900 | src-line not found
      | $cddday = '0.0';        // Cooling Degree for day$cddday = '0.0';        // Cooling Degree for day
  901 | src-line not found
      | $cddmonth = '0.0';    // Cooling Degree for month to date$cddmonth = '0.0';    // Cooling Degree for month to date
  902 | src-line not found
      | $cddyear = '0.0';    // Cooling Degree for year to date$cddyear = '0.0';    // Cooling Degree for year to date
  903 | src-line not found
      | $minchillweek = '25.3';  // Minimum Wind Chill over past 7 days$minchillweek = '25.3';  // Minimum Wind Chill over past 7 days
  904 | src-line not found
      | $maxheatweek = '54.0';  // Maximum Heat Index for the Week *** NEW IN V2.00$maxheatweek = '54.0';  // Maximum Heat Index for the Week *** NEW IN V2.00
  905 | src-line not found
      | $airdensity = '1.26';  //air density$airdensity = '1.26';  //air density
  906 | src-line not found
      | $solarnoon = '12:57'; // Solar noon$solarnoon = '12:57'; // Solar noon
  907 | src-line not found
      | $changeinday = '00:02:43';  // change in day length since yesterday$changeinday = '00:02:43';  // change in day length since yesterday
  908 | src-line not found
      | $etcurrentweek = '0.000'; // ET total for the last 7 days$etcurrentweek = '0.000'; // ET total for the last 7 days
  909 | src-line not found
      | $sunshinehourstodateday = '00:00';$sunshinehourstodateday = '00:00';
  910 | src-line not found
      | $sunshinehourstodatemonth = '00:00';$sunshinehourstodatemonth = '00:00';
  911 | src-line not found
      | $maxsolarfortime = '0';$maxsolarfortime = '0';
  912 | src-line not found
      | $wetbulb = '39.6';$wetbulb = '39.6';
  913 | src-line not found
      | $lighteningcountlasthour = '0';$lighteningcountlasthour = '0';
  914 | src-line not found
      | $lighteningcountlastminute = '0';$lighteningcountlastminute = '0';
  915 | src-line not found
      | $lighteningcountlast5minutes = '0';$lighteningcountlast5minutes = '0';
  916 | src-line not found
      | $lighteningcountlast12hour = '0';$lighteningcountlast12hour = '0';
  917 | src-line not found
      | $lighteningcountlast30minutes = '0';$lighteningcountlast30minutes = '0';
  918 | src-line not found
      | $lighteningcountlasttime = '';$lighteningcountlasttime = '';
  919 | src-line not found
      | $lighteningcountmonth = '0';$lighteningcountmonth = '0';
  920 | src-line not found
      | $lighteningcountyear = '0';$lighteningcountyear = '0';
  921 | src-line not found
      | $chandler = '-0.2';$chandler = '-0.2';
  922 | src-line not found
      | $maxdew = '37.3';$maxdew = '37.3';
  923 | src-line not found
      | $maxdewt = '12:11 AM';$maxdewt = '12:11 AM';
  924 | src-line not found
      | $mindew = '35.6';$mindew = '35.6';
  925 | src-line not found
      | $mindewt = '1:31 AM';$mindewt = '1:31 AM';
  926 | src-line not found
      | $maxdewyest = '46.2';$maxdewyest = '46.2';
  927 | src-line not found
      | $maxdewyestt = '12:28 PM';$maxdewyestt = '12:28 PM';
  928 | src-line not found
      | $mindewyest = '37.2';$mindewyest = '37.2';
  929 | src-line not found
      | $mindewyestt = '11:53 PM';$mindewyestt = '11:53 PM';
  930 | src-line not found
      | $stationname = 'mystation';$stationname = 'mystation';
  931 | src-line not found
      | $raindifffromav = '---';$raindifffromav = '---';
  932 | src-line not found
      | $raindifffromavyear = '17.840';$raindifffromavyear = '17.840';
  933 | src-line not found
      | $gddmonth = '105.5';$gddmonth = '105.5';
  934 | src-line not found
      | $gddyear = '135.6';$gddyear = '135.6';
  935 | src-line not found
      | $maxheat = '42.0';$maxheat = '42.0';
  936 | src-line not found
      | $maxheatt = '1:37 AM';$maxheatt = '1:37 AM';
  937 | src-line not found
      | $maxheatyest = '49.9';$maxheatyest = '49.9';
  938 | src-line not found
      | $yeartodateavtemp = '39.7';$yeartodateavtemp = '39.7';
  939 | src-line not found
      | $monthtodateavtemp = '45.3';$monthtodateavtemp = '45.3';
  940 | src-line not found
      | $maxchillyest = '49.9';$maxchillyest = '49.9';
  941 | src-line not found
      | $monthtodatemaxgust = '23.0';$monthtodatemaxgust = '23.0';
  942 | src-line not found
      | $monthtodateavspeed = '2.0'; // MTD average wind speed
  943 | src-line not found
      | $monthtodateavgust = '3.9'; //MTD average wind gust$monthtodateavgust = '3.9'; //MTD average wind gust
  944 | src-line not found
      | $yeartodateavwind = '1.7'; // YTD average wind speed
  945 | src-line not found
      | $yeartodategstwind = '3.5'; // YTD avg wind gust$yeartodategstwind = '3.5'; // YTD avg wind gust
  946 | src-line not found
      | $lowbaro = '29.783';$lowbaro = '29.783';
  947 | src-line not found
      | $lowbarot = '1:39 AM';$lowbarot = '1:39 AM';
  948 | src-line not found
      | $monthtodatemaxbaro = '30.654'; // MTD average wind speed
  949 | src-line not found
      | $monthtodateminbaro = '29.306'; //MTD average wind gust$monthtodateminbaro = '29.306'; //MTD average wind gust
  950 | src-line not found
      | $sunshinehourstodateyear = '00:00';$sunshinehourstodateyear = '00:00';
  951 | src-line not found
      | $sunshineyesterday = '00:00';$sunshineyesterday = '00:00';
  952 | src-line not found
      | $avtempsincemidnight = '41.4';$avtempsincemidnight = '41.4';
  953 | src-line not found
      | $yesterdayavtemp = '47.1';$yesterdayavtemp = '47.1';
  954 | src-line not found
      | $avgspeedsincereset = '3.2';$avgspeedsincereset = '3.2';
  955 | src-line not found
      | $maxheatyestt = '12:28 PM';$maxheatyestt = '12:28 PM';
  956 | src-line not found
      | $windrunyesterday = '37.45';$windrunyesterday = '37.45';
  957 | src-line not found
      | $currentwdet = '0.000';$currentwdet = '0.000';
  958 | src-line not found
      | $yesterdaywdet = '0.000';$yesterdaywdet = '0.000';
  959 | src-line not found
      | $highhum = '85';$highhum = '85';
  960 | src-line not found
      | $highhumt = '12:00 AM';$highhumt = '12:00 AM';
  961 | src-line not found
      | $lowhum = '79';$lowhum = '79';
  962 | src-line not found
      | $lowhumt = '1:31 AM';$lowhumt = '1:31 AM';
  963 | src-line not found
      | $maxhumyest = '87';$maxhumyest = '87';
  964 | src-line not found
      | $maxhumyestt = '7:51 AM';$maxhumyestt = '7:51 AM';
  965 | src-line not found
      | $minhumyest = '75';$minhumyest = '75';
  966 | src-line not found
      | $minhumyestt = '12:00 AM';$minhumyestt = '12:00 AM';
  967 | src-line not found
      | $recordhightempjan = '57.9';$recordhightempjan = '57.9';
  968 | src-line not found
      | $recordlowtempjan = '17.4';$recordlowtempjan = '17.4';
  969 | src-line not found
      | $recordhightempfeb = '71.6';$recordhightempfeb = '71.6';
  970 | src-line not found
      | $recordlowtempfeb = '22.1';$recordlowtempfeb = '22.1';
  971 | src-line not found
      | $recordhightempmar = '73.2';$recordhightempmar = '73.2';
  972 | src-line not found
      | $recordlowtempmar = '28.2';$recordlowtempmar = '28.2';
  973 | src-line not found
      | $recordhightempapr = '90.1';$recordhightempapr = '90.1';
  974 | src-line not found
      | $recordlowtempapr = '31.8';$recordlowtempapr = '31.8';
  975 | src-line not found
      | $recordhightempmay = '88.3';$recordhightempmay = '88.3';
  976 | src-line not found
      | $recordlowtempmay = '41.4';$recordlowtempmay = '41.4';
  977 | src-line not found
      | $recordhightempjun = '89.4';$recordhightempjun = '89.4';
  978 | src-line not found
      | $recordlowtempjun = '49.6';$recordlowtempjun = '49.6';
  979 | src-line not found
      | $recordhightempjul = '95.0';$recordhightempjul = '95.0';
  980 | src-line not found
      | $recordlowtempjul = '62.2';$recordlowtempjul = '62.2';
  981 | src-line not found
      | $recordhightempaug = '86.7';$recordhightempaug = '86.7';
  982 | src-line not found
      | $recordlowtempaug = '60.1';$recordlowtempaug = '60.1';
  983 | src-line not found
      | $recordhightempsep = '93.4';$recordhightempsep = '93.4';
  984 | src-line not found
      | $recordlowtempsep = '53.1';$recordlowtempsep = '53.1';
  985 | src-line not found
      | $recordhightempoct = '79.7';$recordhightempoct = '79.7';
  986 | src-line not found
      | $recordlowtempoct = '43.3';$recordlowtempoct = '43.3';
  987 | src-line not found
      | $recordhightempnov = '66.4';$recordhightempnov = '66.4';
  988 | src-line not found
      | $recordlowtempnov = '28.2';$recordlowtempnov = '28.2';
  989 | src-line not found
      | $recordhightempdec = '62.1';$recordhightempdec = '62.1';
  990 | src-line not found
      | $recordlowtempdec = '26.2';$recordlowtempdec = '26.2';
  991 | src-line not found
      | 
  992 | src-line not found
      | // average temp and rain by month (V1.08 addition)// average temp and rain by month (V1.08 addition)
  993 | src-line not found
      | 
  994 | src-line not found
      | $avtempjannow = '36.5';$avtempjannow = '36.5';
  995 | src-line not found
      | $avtempfebnow = '37.9';$avtempfebnow = '37.9';
  996 | src-line not found
      | $avtempmarnow = '45.3';$avtempmarnow = '45.3';
  997 | src-line not found
      | $avtempaprnow = '55.5';$avtempaprnow = '55.5';
  998 | src-line not found
      | $avtempmaynow = '60.8';$avtempmaynow = '60.8';
  999 | src-line not found
      | $avtempjunnow = '67.9';$avtempjunnow = '67.9';
 1000 | src-line not found
      | $avtempjulnow = '77.4';$avtempjulnow = '77.4';
 1001 | src-line not found
      | $avtempaugnow = '73.1';$avtempaugnow = '73.1';
 1002 | src-line not found
      | $avtempsepnow = '68.4';$avtempsepnow = '68.4';
 1003 | src-line not found
      | $avtempoctnow = '58.8';$avtempoctnow = '58.8';
 1004 | src-line not found
      | $avtempnovnow = '45.7';$avtempnovnow = '45.7';
 1005 | src-line not found
      | $avtempdecnow = '43.6';$avtempdecnow = '43.6';
 1006 | src-line not found
      | 
 1007 | src-line not found
      | $avrainjannow = '4.85';$avrainjannow = '4.85';
 1008 | src-line not found
      | $avrainfebnow = '1.56';$avrainfebnow = '1.56';
 1009 | src-line not found
      | $avrainmarnow = '11.38';$avrainmarnow = '11.38';
 1010 | src-line not found
      | $avrainaprnow = '3.98';$avrainaprnow = '3.98';
 1011 | src-line not found
      | $avrainmaynow = '2.02';$avrainmaynow = '2.02';
 1012 | src-line not found
      | $avrainjunnow = '1.42';$avrainjunnow = '1.42';
 1013 | src-line not found
      | $avrainjulnow = '1.92';$avrainjulnow = '1.92';
 1014 | src-line not found
      | $avrainaugnow = '4.02';$avrainaugnow = '4.02';
 1015 | src-line not found
      | $avrainsepnow = '8.93';$avrainsepnow = '8.93';
 1016 | src-line not found
      | $avrainoctnow = '2.11';$avrainoctnow = '2.11';
 1017 | src-line not found
      | $avrainnovnow = '2.02';$avrainnovnow = '2.02';
 1018 | src-line not found
      | $avraindecnow = '6.33';$avraindecnow = '6.33';
 1019 | src-line not found
      | 
 1020 | src-line not found
      | // end of other addons// end of other addons
 1021 | src-line not found
      | // end of testtags.txt/testtags.php// end of testtags.txt/testtags.php
 1022 | src-line not found
      | ?>?>

You find our weather info also at:

Weather Underground

AWEKAS

Citizen Weather Observer Program (CWOP)

Equipment we use:

Weather-station
Davis VP2

Davis VP2