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: Dec 4 2024 1:15 pm

    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 =  '1:15 PM';	// current time$time =  '1:15 PM';	// current time
   66 | $ws['heatMaxYearTime']	= wdYMD('%yrecordhighheatindexyear%','%yrecordhighheatindexmonth%','%yrecordhighheatindexday%');
      | $date =  '12/4/2024';	// current date$date =  '12/4/2024';	// current date
   67 | $ws['chilMinTodayTime']	= wdDate('%minwindcht%');
      | $sunrise =  '7:01 am';	// sun rise time (make sure you have the correct lat/lon$sunrise =  '7:01 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 =  '15';	// Current minute$time_minute =  '15';	// Current minute
   70 | $ws['chilMinYearTime']	= wdYMD('%yrecordlowchillyear%','%yrecordlowchillmonth%','%yrecordlowchillday%','12','00');
      | $time_hour =  '13';	// Current hour$time_hour =  '13';	// Current hour
   71 | 
      | $date_day =  '04';	// Current day
   72 | $ws['tempAct']		= wsConvertTemperature('%temp%', $from);  // convert and clean of units
      | $date_month =  '12';	// Current month$date_month =  '12';	// 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 =  'December';	// Current month name$monthname =  'December';	// Current month name
   75 | $ws['tempDelta']	= wsConvertTemperature('%tempchangelasthourmetric%', $from);
      | $dayname =  'Wednesday';	// Current day name$dayname =  'Wednesday';	// Current day name
   76 | $ws['tempToday']	= wsConvertTemperature('%avtempsincemidnight%', $from);
      | $sunset =  '4:25 pm';	// sunset time$sunset =  '4:25 pm';	// sunset time
   77 | $ws['tempMinToday']	= wsConvertTemperature('%mintemp%', $from);
      | $moonrisedate =  '12/04/24';	// moon rise date$moonrisedate =  '12/04/24';	// moon rise date
   78 | $ws['tempMinYday']	= wsConvertTemperature('%mintempyest%', $from);
      | $moonrise =  '10:20 am';	// moon rise time$moonrise =  '10:20 am';	// moon rise time
   79 | $ws['tempMinMonth']	= wsConvertTemperature('%mrecordlowtemp%', $from);
      | $moonsetdate =  '12/03/24';	// moon set date$moonsetdate =  '12/03/24';	// moon set date
   80 | $ws['tempMinYear']	= wsConvertTemperature('%yrecordlowtemp%', $from);
      | $moonset =  '6:11 pm';	// moon set time$moonset =  '6:11 pm';	// moon set time
   81 | $ws['tempMaxToday']	= wsConvertTemperature('%maxtemp%', $from);
      | $moonage =  'Moon age: 3 days,9 hours,22 minutes,13%';	// current age of the moon (days since new moon)$moonage =  'Moon age: 3 days,9 hours,22 minutes,13%';	// current age of the moon (days since new moon)
   82 | $ws['tempMaxYday']	= wsConvertTemperature('%maxtempyest%', $from);
      | $moonphase =  '13%';	// Moon phase %$moonphase =  '13%';	// Moon phase %
   83 | $ws['tempMaxMonth']	= wsConvertTemperature('%mrecordhightemp%', $from);
      | $moonphasename = 'Waxing Crescent Moon'; // 10.36z addition$moonphasename = 'Waxing Crescent 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 =  '03:03 UTC July 5 2025';	// Next moon perihel date$moonaphel =  '03:03 UTC July 5 2025';	// Next moon perihel date
   90 | $ws['dewpMaxToday']  	= wsConvertTemperature('%maxdew%', $from);
      | $moonperigee =  '13:17 UTC December 12 2024';	// Next moon perigee date$moonperigee =  '13:17 UTC December 12 2024';	// Next moon perigee date
   91 | $ws['dewpMaxYday']  	= wsConvertTemperature('%maxdewyest%', $from);
      | $moonapogee =  '07:26 UTC December 24 2024';	// Next moon apogee date$moonapogee =  '07:26 UTC December 24 2024';	// Next moon apogee date
   92 | 
      | $newmoon =  '06:22 UTC December 1 2024';	// Date/time of the next/last new moon
   93 | $ws['heatAct']  	= wsConvertTemperature('%heati%', $from);
      | $nextnewmoon =  '22:27 UTC December 30 2024';	// Date/time of the next new moon for next month$nextnewmoon =  '22:27 UTC December 30 2024';	// Date/time of the next new moon for next month
   94 | $ws['heatDelta']	= 0;
      | $firstquarter =  '15:27 UTC December 8 2024';	// Date/time of the next/last first quarter moon$firstquarter =  '15:27 UTC December 8 2024';	// Date/time of the next/last first quarter moon
   95 | $ws['heatMaxToday']	= wsConvertTemperature('%maxheat%', $from);
      | $lastquarter =  '22:19 UTC December 22 2024';	// Date/time of the next/last last quarter moon$lastquarter =  '22:19 UTC December 22 2024';	// Date/time of the next/last last quarter moon
   96 | $ws['heatMaxYday']	= wsConvertTemperature('%maxheatyest%', $from);
      | $fullmoon =  '09:02 UTC December 15 2024';	// Date/time of the next/last full moon$fullmoon =  '09:02 UTC December 15 2024';	// Date/time of the next/last full moon
   97 | $ws['heatMaxMonth']	= wsConvertTemperature('%mrecordhighheatindex%', $from);
      | $fullmoondate =  'December 15 2024';	// Date of the next/last full moon (date only)$fullmoondate =  'December 15 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 =  'March 14 2025 01:59:27 118%';	// 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 =  '09:24';	// Total hours/minutes of possible daylight for today$hoursofpossibledaylight =  '09:24';	// Total hours/minutes of possible daylight for today
  103 | $ws['chilMinYday']	= wsConvertTemperature('%minchillyest%', $from);
      | ////
  104 | $ws['chilMinMonth']	= wsConvertTemperature('%mrecordlowchill%', $from);
      | $weatherreport =  'mostly cloudy';	// current weather conditions from selected METAR$weatherreport =  'mostly cloudy';	// 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 = '37 Days 5 Hours 28 Minutes 17 Seconds'; // uptime for windows on weather pc$windowsuptime = '37 Days 5 Hours 28 Minutes 17 Seconds'; // uptime for windows on weather pc
  110 | 
      | $freememory = '13.22GB'; // amount of free memory on the pc
  111 | # ------------------------------------------ extreme temp   ------------
      | $Startimedate = '4:55:19 PM 10/29/2024'; // Time/date WD was started$Startimedate = '4:55:19 PM 10/29/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 =  '41.0';	// temperature$temperature =  '41.0';	// temperature
  134 | $ws['baroMinYear'] 	= wsConvertBaro('%yrecordlowbaro%', $from);
      | $tempnodp = '41'; // temperature, no decimal place$tempnodp = '41'; // temperature, no decimal place
  135 | $ws['baroMaxToday']	= wsConvertBaro('%highbaro%', $from);
      | $humidity =  '56';	// humidity$humidity =  '56';	// humidity
  136 | $ws['baroMaxYday']	= wsConvertBaro('%maxbaroyest%', $from);
      | $dewpt =  '26.5';	// dew point$dewpt =  '26.5';	// dew point
  137 | $ws['baroMaxMonth']	= wsConvertBaro('%mrecordhighbaro%', $from);
      | $maxtemp =  '41.1';	// today's maximum temperature$maxtemp =  '41.1';	// today's maximum temperature
  138 | $ws['baroMaxYear'] 	= wsConvertBaro('%yrecordhighbaro%', $from);
      | $maxtempt =  '1:12 PM';	// time this occurred$maxtempt =  '1:12 PM';	// time this occurred
  139 | 
      | $mintemp =  '27.0';	// today's minimum temperature
  140 | # ------------------------------------------ humidity  -----------------
      | $mintempt =  '7:27 AM';	// time this occurred$mintempt =  '7:27 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 =  '41.1';	// current heat index$heati =  '41.1';	// current heat index
  144 | $ws['humiMaxYdayTime'] 	= wdDate('%maxhumyestt%');   // ytd
      | $heatinodp =  '41';	// current heat index,no decimal place$heatinodp =  '41';	// current heat index,no decimal place
  145 | 
      | $windch =  '41.0';	// 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 =  '35.9';	// Humidex value in oF$humidexfaren =  '35.9';	// Humidex value in oF
  148 | $ws['humiDelta']	= '%humchangelasthour%'*1.0;
      | $humidexcelsius =  '2.2';	// Humidex value in oC$humidexcelsius =  '2.2';	// Humidex value in oC
  149 | $ws['humiMinToday'] 	= '%lowhum%'*1.0;
      | 
  150 | $ws['humiMinYday'] 	= '%minhumyest%'*1.0;
      | $apparenttemp =  '37.9';	// Apparent temperature$apparenttemp =  '37.9';	// Apparent temperature
  151 | $ws['humiMaxToday']	= '%highhum%'*1.0;
      | $apparentsolartemp =  '37.9';	// Apparent temperature in the sun (you need a solar sensor)$apparentsolartemp =  '37.9';	// Apparent temperature in the sun (you need a solar sensor)
  152 | $ws['humiMaxYday']	= '%maxhumyest%'*1.0;
      | $apparenttempc =  '3.3';	// Apparent temperature, °C$apparenttempc =  '3.3';	// Apparent temperature, °C
  153 | 
      | $apparentsolartempc =  '3.3';	// Apparent temperature in the sun, °C (you need a solar sensor)
  154 | # ------------------------------------------ rain  ---------------------
      | $apparenttempf =  '37.9';	// Apparent temperature, °F$apparenttempf =  '37.9';	// Apparent temperature, °F
  155 | $to 	= $SITE['uomRain'];
      | $apparentsolartempf =  '37.9';	// Apparent temperature in the sun, °F (you need a solar sensor)$apparentsolartempf =  '37.9';	// 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.6';	// Temperature change in the last hour$tempchangehour =  '+0.6';	// Temperature change in the last hour
  169 | $ws['rainWeek']		= wsConvertRainfall('%raincurrentweek%', $from);
      | $maxtempyest =  '41.7';	// Yesterday's max temperature$maxtempyest =  '41.7';	// Yesterday's max temperature
  170 | # ------------------------------------------ EVAPOTRANSPIRATION --------
      | $maxtempyestt =  '2:52 PM';	// Time of yesterday's max temperature$maxtempyestt =  '2:52 PM';	// Time of yesterday's max temperature
  171 | $ws['etToday'] 		= wsConvertRainfall('%VPet%', $from);
      | $mintempyest =  '29.8';	// Yesterday's min temperature$mintempyest =  '29.8';	// Yesterday's min temperature
  172 | $ws['etYday'] 		= wsConvertRainfall('%yesterdaydaviset%', $from);
      | $mintempyestt =  '4:51 AM';	// Time of yesterday's min temperature$mintempyestt =  '4:51 AM';	// 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 =  '40.8';	// The temperature 24 hours ago$temp24hoursago =  '40.8';	// The temperature 24 hours ago
  178 | 
      | $humchangelasthour =  '-1';	// Humidity change last hour
  179 | $ws['windActDsc']	= '%dirlabel%';
      | $dewchangelasthour =  '+0.2';	// Dew point change last hour$dewchangelasthour =  '+0.2';	// Dew point change last hour
  180 | $ws['windBeafort']	= '%beaufortnum%';
      | $barochangelasthour =  '-0.038';	// Baro change last hour$barochangelasthour =  '-0.038';	// 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 =  '0.6';	// average wind speed (current)$avgspd =  '0.6';	// average wind speed (current)
  188 | $ws['gustMaxHour']	= wsConvertWindspeed('%maxgsthr%', $from);
      | $gstspd =  '1.0';	// current/gust wind speed$gstspd =  '1.0';	// current/gust wind speed
  189 | $ws['gustMaxToday']	= wsConvertWindspeed('%maxgst%', $from);
      | $maxgst =  '6.0';	// today's maximum wind speed$maxgst =  '6.0';	// today's maximum wind speed
  190 | $ws['gustMaxYday']	= wsConvertWindspeed('%maxgustyestnodir%', $from);
      | $maxgstt =  '12:30 PM';	// time this occurred$maxgstt =  '12:30 PM';	// time this occurred
  191 | $ws['gustMaxMonth']	= wsConvertWindspeed('%mrecordwindgust%', $from);
      | $maxgsthr =  '6.0 mph SSW';	// maximum gust last hour$maxgsthr =  '6.0 mph SSW';	// maximum gust last hour
  192 | $ws['gustMaxYear']	= wsConvertWindspeed('%yrecordwindgust%', $from);
      | $dirdeg =  '204';	// wind direction (degrees)$dirdeg =  '204';	// wind direction (degrees)
  193 | 
      | $dirlabel =  'SSW';	// wind direction (NNE etc)
  194 | if ($ws['gustAct'] <= $ws['windAct'])	{$ws['gustAct'] = $ws['windAct'];}
      | //$maxgustlastimediatehourtime =  '12:30';	// 12:30  time that the max gust last prior 1 hour occured//$maxgustlastimediatehourtime =  '12:30';	// 12:30  time that the max gust last prior 1 hour occured
  195 | # ------------------------------------------  UV   ---------------------
      | $avwindlastimediate10 =  '1.3';	// Average wind for the last immediate 10 minute period$avwindlastimediate10 =  '1.3';	// Average wind for the last immediate 10 minute period
  196 | $ws['uvMaxTodayTime'] 	= wdDate('%highuvtime%');
      | // $avdir10minute =  '219';	// average ten minute wind direction (degrees)// $avdir10minute =  '219';	// average ten minute wind direction (degrees)
  197 | $ws['uvMaxYdayTime'] 	= wdDate('%highuvyesttime%');
      | 
  198 | $ws['uvMaxMonthTime'] 	= wdYMD('%mrecordhighuvyear%','%mrecordhighuvmonth%','%mrecordhighuvday%');
      | $beaufortnum ='0'; //Beaufort wind force number$beaufortnum ='0'; //Beaufort wind force number
  199 | $ws['uvMaxYearTime'] 	= wdYMD('%yrecordhighuvyear%','%yrecordhighuvmonth%','%yrecordhighuvday%');
      | $currbftspeed = '0 bft'; //Current Beaufort wind speed$currbftspeed = '0 bft'; //Current Beaufort wind speed
  200 | 
  201 | $ws['uvAct']		= '%VPuv%';
      | $bftspeedtext = 'Calm'; //Beaufort scale in text (i.e Fresh Breeze)$bftspeedtext = 'Calm'; //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 = '30.115';  // current barometer$baro = '30.115';  // current barometer
  209 | $ws['solarMaxMonthTime']= wdYMD('%mrecordhighsolaryear%','%mrecordhighsolarmonth%','%mrecordhighsolarday%');
      | $baroinusa2dp =  '30.12 inches';	// Current barometer reading in inches, 2 decimal places only.$baroinusa2dp =  '30.12 inches';	// Current barometer reading in inches, 2 decimal places only.
  210 | $ws['solarMaxYearTime'] = wdYMD('%yrecordhighsolaryear%','%yrecordhighsolarmonth%','%yrecordhighsolarday%');
      | $trend =  '-0.044';	// amount of change in the last hour$trend =  '-0.044';	// amount of change in the last hour
  211 | 
      | $pressuretrendname =  'Falling';	// pressure trend (i.e. 'falling'), last hour
  212 | $ws['solarAct']		= '%VPsolar%'*1.0;
      | $pressuretrendname3hour =  'Falling rapidly';	// pressure trend (i.e. 'falling'), last 3 hours$pressuretrendname3hour =  'Falling rapidly';	// pressure trend (i.e. 'falling'), last 3 hours
  213 | $ws['solActPerc']	= '%currentsolarpctplain%';
      | 
  214 | $ws['solarMaxToday']	= '%highsolar%';
      | $vpforecasttext = 'increasing clouds and warmer, precipitation possible within 12 to 24 hrs, windy.';	// Forecast text from the Davis VP$vpforecasttext = 'increasing clouds and warmer, precipitation possible within 12 to 24 hrs, windy.';	// 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 =  '0.00';	// rain so far this month$monthrn =  '0.00';	// rain so far this month
  223 | # ------------------------------------------ forecasts -----------------
      | $yearrn =  '44.53';	// rain so far this year$yearrn =  '44.53';	// rain so far this year
  224 | $ws['fcstWD'] 	  	= '%iconnumber%';
      | $dayswithnorain =  '5';	// Consecutative days with no rain$dayswithnorain =  '5';	// Consecutative days with no rain
  225 | $ws['fcstTxt'] 	        = str_replace('_',' ','%vpforecasttext%');
      | $dayswithrain =  '0';	// Days with rain for the month$dayswithrain =  '0';	// Days with rain for the month
  226 | 
      | $dayswithrainyear =  '104';	// 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 =  '0.00 ';	// Yesterday rain$yesterdayrain =  '0.00 ';	// Yesterday rain
  234 | # ------------------------------------------ some more -----------------
      | ////
  235 | $ws['wsVersion']	= 'version %wdversion% b %wdbuild%';
      | $vpstormrainstart = '0/0/0';  //Davis VP Storm rain start date$vpstormrainstart = '0/0/0';  //Davis VP Storm rain start date
  236 | $ws['wsHardware'] 	= '';   // unknown
      | $vpstormrain = '0.00';           //Davis VP Storm rain value$vpstormrain = '0.00';           //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 =  '10.0';	// All time record high wind gust$mrecordwindgust =  '10.0';	// All time record high wind gust
  268 | $wsTrends[$i] ['gust']	= '%gust10minuteago%';
      | $mrecordhighgustday =  '1';	// Day of record high wind gust$mrecordhighgustday =  '1';	// 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 = '615';	// Estimated height snow will fall at$snowheight = '615';	// Estimated height snow will fall at
  282 | $wsTrends[$i] ['hum']	= '%hum15minuteago%';
      | $snowheightnew = '1047';	// Estimated height snow will fall at, new formula$snowheightnew = '1047';	// 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 = '41.1';  // ****this one is needed for all the others to work$temp0minuteago = '41.1';  // ****this one is needed for all the others to work
  294 | $wsTrends[$i] ['hum']	= '%hum20minuteago%';
      | $wind0minuteago = '1.2';
  295 | $wsTrends[$i] ['dew']	= '%dew20minuteago%';
      | $gust0minuteago = '2.3';
  296 | $wsTrends[$i] ['baro']	= '%baro20minuteago%';
      | $dir0minuteago = 'WSW';
  297 | $wsTrends[$i] ['rain']	= '%rain20minuteago%';
      | $hum0minuteago = '56';
  298 | $wsTrends[$i] ['sol']	= '%VPsolar20minuteago%';
      | $dew0minuteago = '26.5';
  299 | $wsTrends[$i] ['uv']	= '%VPuv20minuteago%';
      | $baro0minuteago = '30.116';
  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 = '40.9';
  305 | $wsTrends[$i] ['dir']	= langtransstr('%dir30minuteago%');
      | $wind5minuteago = '1.2';
  306 | $wsTrends[$i] ['hum']	= '%hum30minuteago%';
      | $gust5minuteago = '3.5';
  307 | $wsTrends[$i] ['dew']	= '%dew30minuteago%';
      | $dir5minuteago = 'SW';
  308 | $wsTrends[$i] ['baro']	= '%baro30minuteago%';
      | $hum5minuteago = '56';
  309 | $wsTrends[$i] ['rain']	= '%rain30minuteago%';
      | $dew5minuteago = '26.4';
  310 | $wsTrends[$i] ['sol']	= '%VPsolar30minuteago%';
      | $baro5minuteago = '30.120';
  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 = '40.9';
  316 | $wsTrends[$i] ['gust']	= '%gust45minuteago%';
      | $wind10minuteago = '1.2';
  317 | $wsTrends[$i] ['dir']	= langtransstr('%dir45minuteago%');
      | $gust10minuteago = '3.5';
  318 | $wsTrends[$i] ['hum']	= '%hum45minuteago%';
      | $dir10minuteago = 'SW';
  319 | $wsTrends[$i] ['dew']	= '%dew45minuteago%';
      | $hum10minuteago = '54';
  320 | $wsTrends[$i] ['baro']	= '%baro45minuteago%';
      | $dew10minuteago = '25.5';
  321 | $wsTrends[$i] ['rain']	= '%rain45minuteago%';
      | $baro10minuteago = '30.120';
  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.0';
  327 | $wsTrends[$i] ['wind']	= '%wind60minuteago%';
      | $wind15minuteago = '1.2';
  328 | $wsTrends[$i] ['gust']	= '%gust60minuteago%';
      | $gust15minuteago = '3.5';
  329 | $wsTrends[$i] ['dir']	= langtransstr('%dir60minuteago%');
      | $dir15minuteago = 'SW';
  330 | $wsTrends[$i] ['hum']	= '%hum60minuteago%';
      | $hum15minuteago = '57';
  331 | $wsTrends[$i] ['dew']	= '%dew60minuteago%';
      | $dew15minuteago = '26.9';
  332 | $wsTrends[$i] ['baro']	= '%baro60minuteago%';
      | $baro15minuteago = '30.122';
  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.0';
  338 | $wsTrends[$i] ['temp']	= '%temp75minuteago%';
      | $wind20minuteago = '1.2';
  339 | $wsTrends[$i] ['wind']	= '%wind75minuteago%';
      | $gust20minuteago = '3.5';
  340 | $wsTrends[$i] ['gust']	= '%gust75minuteago%';
      | $dir20minuteago = 'SSW';
  341 | $wsTrends[$i] ['dir']	= langtransstr('%dir75minuteago%');
      | $hum20minuteago = '57';
  342 | $wsTrends[$i] ['hum']	= '%hum75minuteago%';
      | $dew20minuteago = '26.9';
  343 | $wsTrends[$i] ['dew']	= '%dew75minuteago%';
      | $baro20minuteago = '30.127';
  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 = '40.6';
  349 | $wsTrends[$i] ['min']	= 90;
      | $wind30minuteago = '1.2';
  350 | $wsTrends[$i] ['temp']	= '%temp90minuteago%';
      | $gust30minuteago = '3.5';
  351 | $wsTrends[$i] ['wind']	= '%wind90minuteago%';
      | $dir30minuteago = 'SSW';
  352 | $wsTrends[$i] ['gust']	= '%gust90minuteago%';
      | $hum30minuteago = '58';
  353 | $wsTrends[$i] ['dir']	= langtransstr('%dir90minuteago%');
      | $dew30minuteago = '27.0';
  354 | $wsTrends[$i] ['hum']	= '%hum90minuteago%';
      | $baro30minuteago = '30.136';
  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 = '40.8';
  360 | $i=10;
      | $wind45minuteago = '1.2';
  361 | $wsTrends[$i] ['min']	= 105;
      | $gust45minuteago = '2.3';
  362 | $wsTrends[$i] ['temp']	= '%temp105minuteago%';
      | $dir45minuteago = 'SSW';
  363 | $wsTrends[$i] ['wind']	= '%wind105minuteago%';
      | $hum45minuteago = '56';
  364 | $wsTrends[$i] ['gust']	= '%gust105minuteago%';
      | $dew45minuteago = '26.3';
  365 | $wsTrends[$i] ['dir']	= langtransstr('%dir105minuteago%');
      | $baro45minuteago = '30.144';
  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 = '40.4';
  371 | $wsTrends[$i] ['uv']	= '%VPuv105minuteago%';
      | $wind60minuteago = '1.2';
  372 | $i=11;
      | $gust60minuteago = '3.5';
  373 | $wsTrends[$i] ['min']	= 120;
      | $dir60minuteago = 'SW';
  374 | $wsTrends[$i] ['temp']	= '%temp120minuteago%';
      | $hum60minuteago = '57';
  375 | $wsTrends[$i] ['wind']	= '%wind120minuteago%';
      | $dew60minuteago = '26.3';
  376 | $wsTrends[$i] ['gust']	= '%gust120minuteago%';
      | $baro60minuteago = '30.158';
  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 = '40.4';
  382 | $wsTrends[$i] ['sol']	= '%VPsolar120minuteago%';
      | $wind75minuteago = '1.2';
  383 | $wsTrends[$i] ['uv']	= '%VPuv120minuteago%';
      | $gust75minuteago = '3.5';
  384 | 
      | $dir75minuteago = 'SW';
  385 | #--------------------- soil leaf measurement ---------------------------
      | $hum75minuteago = '60';$hum75minuteago = '60';
  386 | $to 	= $SITE['uomTemp'];
      | $dew75minuteago = '27.6';
  387 | $from	= '%uomtemp%'; 		//  = 'C', 'F',  (or  '°C', '°F', or '°C', '°F' )
      | $baro75minuteago = '30.169';$baro75minuteago = '30.169';
  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 = '40.0';
  393 | $ws['soilTempMaxMonth'][1]	= wsConvertTemperature('%mrecordhighsoil%', $from);
      | $wind90minuteago = '1.2';
  394 | $ws['soilTempMaxMonthTime'][1]	= wdYMD('%mrecordhighsoilyear%','%mrecordhighsoilmonth%','%mrecordhighsoilday%');
      | $gust90minuteago = '2.3';
  395 | $ws['soilTempMaxYear'][1]	= wsConvertTemperature('%yrecordhighsoil%', $from);
      | $dir90minuteago = 'SW';
  396 | $ws['soilTempMaxYearTime'][1]	= wdYMD('%yrecordhighsoilyear%','%yrecordhighsoilmonth%','%yrecordhighsoilday%');
      | $hum90minuteago = '61';
  397 | $ws['soilTempMaxAlltime'][1]	= wsConvertTemperature('%recordhighsoil%', $from);
      | $dew90minuteago = '27.7';
  398 | $ws['soilTempMaxAlltimeTime'][1]= wdYMD('%recordhighsoilyear%','%recordhighsoilmonth%','%recordhighsoilday%');
      | $baro90minuteago = '30.179';
  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 = '40.0';
  404 | $ws['soilTempMinYearTime'][1]	= wdYMD('%yrecordlowsoilyear%','%yrecordlowsoilmonth%','%yrecordlowsoilday%');
      | $wind105minuteago = '2.3';
  405 | $ws['soilTempMinAlltime'][1]	= wsConvertTemperature('%recordlowsoil%', $from);
      | $gust105minuteago = '3.5';
  406 | $ws['soilTempMinAlltimeTime'][1]= wdYMD('%recordlowsoilyear%','%recordlowsoilmonth%','%recordlowsoilday%');
      | $dir105minuteago = 'SW';
  407 | # Temp sensor 2 actual value & Values and time for  min and max  for today - month and year
      | $hum105minuteago = '60';$hum105minuteago = '60';
  408 | $ws['soilTempAct'][2]		= wsConvertTemperature('%VPsoiltemp2%', $from);  // convert and clean of units
      | $dew105minuteago = '27.2';$dew105minuteago = '27.2';
  409 | $ws['soilTempMaxToday'][2]	= wsConvertTemperature('%hiVPsoiltemp2%', $from);
      | $baro105minuteago = '30.189';
  410 | $ws['soilTempMaxMonth'][2]	= wsConvertTemperature('%mrecordhighsoil2%', $from);
      | $rain105minuteago = '0.00';
  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 = '39.5';
  415 | $ws['soilTempMaxAlltimeTime'][2]= wdYMD('%recordhighsoilyear2%','%recordhighsoilmonth2%','%recordhighsoilday2%');
      | $wind120minuteago = '1.2';
  416 | $ws['soilTempMinToday'][2]	= wsConvertTemperature('%loVPsoiltemp2%', $from);
      | $gust120minuteago = '3.5';
  417 | $ws['soilTempMinMonth'][2]	= wsConvertTemperature('%mrecordlowsoil2%', $from);
      | $dir120minuteago = 'SSW';
  418 | $ws['soilTempMinMonthTime'][2]	= wdYMD('%mrecordlowsoilyear2%','%mrecordlowsoilmonth2%','%mrecordlowsoilday2%');
      | $hum120minuteago = '60';
  419 | $ws['soilTempMinYear'][2]	= wsConvertTemperature('%yrecordlowsoil2%', $from);
      | $dew120minuteago = '26.7';
  420 | $ws['soilTempMinYearTime'][2]	= wdYMD('%yrecordlowsoilyear2%','%yrecordlowsoilmonth2%','%yrecordlowsoilday2%');
      | $baro120minuteago = '30.199';
  421 | $ws['soilTempMinAlltime'][2]	= wsConvertTemperature('%recordlowsoil2%', $from);
      | $rain120minuteago = '0.00';
  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 = '11/28/2024';
  428 | $ws['soilTempMaxYear'][3]	= wsConvertTemperature('%yrecordhighsoil3%', $from);
      | $highbaro = '30.277';
  429 | $ws['soilTempMaxYearTime'][3]	= wdYMD('%yrecordhighsoilyear3%','%yrecordhighsoilmonth3%','%yrecordhighsoilday3%');
      | $highbarot = '2:43 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 = '3.3';
  434 | $ws['soilTempMinMonthTime'][3]	= wdYMD('%mrecordlowsoilyear3%','%mrecordlowsoilmonth3%','%mrecordlowsoilday3%');
      | $maxaverageyestt = '7:17 PM';
  435 | $ws['soilTempMinYear'][3]	= wsConvertTemperature('%yrecordlowsoil3%', $from);
      | $maxavgdirectionletter = 'SSW';
  436 | $ws['soilTempMinYearTime'][3]	= wdYMD('%yrecordlowsoilyear3%','%yrecordlowsoilmonth3%','%yrecordlowsoilday3%');
      | $maxavgspd = '2.6';
  437 | $ws['soilTempMinAlltime'][3]	= wsConvertTemperature('%recordlowsoil3%', $from);
      | $maxavgspdt = '12:19 PM';
  438 | $ws['soilTempMinAlltimeTime'][3]= wdYMD('%recordlowsoilyear3%','%recordlowsoilmonth3%','%recordlowsoilday3%');
      | $maxbaroyest = '30.272';
  439 | # Temp sensor 4 actual value & Values and time for  min and max  for today - month and year
      | $maxbaroyestt = '11:42 PM';$maxbaroyestt = '11:42 PM';
  440 | $ws['soilTempAct'][4]		= wsConvertTemperature('%VPsoiltemp3%', $from);  // convert and clean of units
      | $maxgstdirectionletter = 'SSW';$maxgstdirectionletter = 'SSW';
  441 | $ws['soilTempMaxToday'][4]	= wsConvertTemperature('%hiVPsoiltemp3%', $from);
      | $maxgustyest = '8.1 mph WNW';
  442 | $ws['soilTempMaxMonth'][4]	= wsConvertTemperature('%mrecordhighsoil3%', $from);
      | $maxgustyestt = '10:43 PM';
  443 | $ws['soilTempMaxMonthTime'][4]	= wdYMD('%mrecordhighsoilyear3%','%mrecordhighsoilmonth3%','%mrecordhighsoilday3%');
      | $mcoldestdayonrecord = '33.2F  on: Dec 01 2024';
  444 | $ws['soilTempMaxYear'][4]	= wsConvertTemperature('%yrecordhighsoil3%', $from);
      | $mcoldestnightonrecord = '31.2F  on: Dec 01 2024';
  445 | $ws['soilTempMaxYearTime'][4]	= wdYMD('%yrecordhighsoilyear3%','%yrecordhighsoilmonth3%','%yrecordhighsoilday3%');
      | $minchillyest = '29.8';
  446 | $ws['soilTempMaxAlltime'][4]	= wsConvertTemperature('%recordhighsoil3%', $from);
      | $minchillyestt = '4:51 AM';
  447 | $ws['soilTempMaxAlltimeTime'][4]= wdYMD('%recordhighsoilyear3%','%recordhighsoilmonth3%','%recordhighsoilday3%');
      | $minwindch = '27.0';
  448 | $ws['soilTempMinToday'][4]	= wsConvertTemperature('%loVPsoiltemp3%', $from);
      | $minwindcht = '7:27 AM';
  449 | $ws['soilTempMinMonth'][4]	= wsConvertTemperature('%mrecordlowsoil3%', $from);
      | $mrecordhighavwindday = '1';
  450 | $ws['soilTempMinMonthTime'][4]	= wdYMD('%mrecordlowsoilyear3%','%mrecordlowsoilmonth3%','%mrecordlowsoilday3%');
      | $mrecordhighavwindmonth = '12';
  451 | $ws['soilTempMinYear'][4]	= wsConvertTemperature('%yrecordlowsoil3%', $from);
      | $mrecordhighavwindyear = '2024';
  452 | $ws['soilTempMinYearTime'][4]	= wdYMD('%yrecordlowsoilyear3%','%yrecordlowsoilmonth3%','%yrecordlowsoilday3%');
      | $mrecordhighbaro = '30.277';
  453 | $ws['soilTempMinAlltime'][4]	= wsConvertTemperature('%recordlowsoil3%', $from);
      | $mrecordhighbaroday = '4';
  454 | $ws['soilTempMinAlltimeTime'][4]= wdYMD('%recordlowsoilyear3%','%recordlowsoilmonth3%','%recordlowsoilday3%');
      | $mrecordhighbaromonth = '12';
  455 | #
      | $mrecordhighbaroyear = '2024';$mrecordhighbaroyear = '2024';
  456 | # Moisture sensor 1 actual value
      | $mrecordhighgustmonth = '12';$mrecordhighgustmonth = '12';
  457 | $ws['moistAct'][1]		= '%VPsoilmoisture%';
      | $mrecordhighgustyear = '2024';
  458 | # Moisture sensor 1 maximum value for today month and year
      | $mrecordhightemp = '41.7';$mrecordhightemp = '41.7';
  459 | $ws['moistMaxToday'][1]		= '%hiVPsoilmoisture%';
      | $mrecordhightempday = '3';
  460 | $ws['moistMaxMonth'][1]		= '%mrecordhighsoilmoist%';
      | $mrecordhightempmonth = '12';
  461 | $ws['moistMaxMonthTime'][1]	= wdYMD('%mrecordhighsoilmoistyear%','%mrecordhighsoilmoistmonth%','%mrecordhighsoilmoistday%');
      | $mrecordhightempyear = '2024';
  462 | $ws['moistMaxYear'][1]		= '%yrecordhighsoilmoist%';
      | $mrecordlowchill = '26.0';
  463 | $ws['moistMaxYearTime'][1]	= wdYMD('%yrecordhighsoilmoistyear%','%yrecordhighsoilmoistmonth%','%yrecordhighsoilmoistday%');
      | $mrecordlowchillday = '1';
  464 | $ws['moistMaxAlltime'][1]	= '%recordhighsoilmoist%';
      | $mrecordlowchillmonth = '12';
  465 | $ws['moistMaxAlltimeTime'][1]	= wdYMD('%recordhighsoilmoistyear%','%recordhighsoilmoistmonth%','%recordhighsoilmoistday%');
      | $mrecordlowchillyear = '2024';
  466 | 
      | $mrecordlowtemp = '26.5';
  467 | # Moisture sensor 1 mimimum value for today
      | $mrecordlowtempday = '1';$mrecordlowtempday = '1';
  468 | $ws['moistMinToday'][1]		= '%loVPsoilmoisture%';
      | $mrecordlowtempmonth = '12';
  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 = '4.1';$mrecordwindspeed = '4.1';
  471 | $ws['moistAct'][2]		= '%VPsoilmoisture2%';
      | $mwarmestdayonrecord = '37.8F  on: Dec 03 2024';
  472 | $ws['moistMaxToday'][2]		= '%hiVPsoilmoisture2%';
      | $mwarmestnightonrecord = '33.5F  on: Dec 03 2024';
  473 | $ws['moistMinToday'][2]		= '%loVPsoilmoisture2%';
      | $raincurrentweek = '0.55';
  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 = ' 1:20 PM';
  477 | $ws['moistMinToday'][3]		= '%loVPsoilmoisture3%';
      | $windruntodatethismonth = '41.51 miles';
  478 | # Moisture sensor 4 actual value & Values and time for  min and max  for today - month and year
      | $windruntodatethisyear = '9903.80 miles';$windruntodatethisyear = '9903.80 miles';
  479 | $ws['moistAct'][4]		= '%VPsoilmoisture4%';
      | $windruntoday = '4.73';
  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 = '12';
  489 | $ws['moistAvMonth'][7]	        = '%avtempjulsoil%';
      | $yrecordhighgustmonth = '4';
  490 | $ws['moistAvMonth'][8]	        = '%avtempaugsoil%';
      | $yrecordhighgustyear = '2024';
  491 | $ws['moistAvMonth'][9]	        = '%avtempsepsoil%';
      | $yrecordhightemp = '97.3';
  492 | $ws['moistAvMonth'][10]	        = '%avtempoctsoil%';
      | $yrecordhightempday = '16';
  493 | $ws['moistAvMonth'][11]	        = '%avtempnovsoil%';
      | $yrecordhightempmonth = '7';
  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 = '37.0';
  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 = '5';                // icon number$iconnumber = '5';                // icon number
  555 | src-line not found
      | 
  556 | src-line not found
      | $current_icon = $icon_array[5]; // name of our condition icon$current_icon = $icon_array[5]; // name of our condition icon
  557 | src-line not found
      | // ----------------------------------------------------------------------------------// ----------------------------------------------------------------------------------
  558 | src-line not found
      | //   $current_summary = 'Dry' . '<br />' . 'Day time ';//   $current_summary = 'Dry' . '<br />' . 'Day time ';
  559 | src-line not found
      | $weathercond = 'Dry';$weathercond = 'Dry';
  560 | src-line not found
      | $Currentsolardescription = 'Day time ';$Currentsolardescription = 'Day time ';
  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 =  '3521';	// Estimated cloud base height, feet, (based on dew point, and you height above sea  level...enter$cloudheightfeet =  '3521';	// Estimated cloud base height, feet, (based on dew point, and you height above sea  level...enter
  568 | src-line not found
      | $cloudheightmeters =  '1074';	// Estimated cloud base height, metres, (based on dew point, and you height above sea$cloudheightmeters =  '1074';	// 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 = '12:30';        // time that the max gust last prior 1 hour occured
  575 | src-line not found
      | $minbaroyest  = '30.160';$minbaroyest  = '30.160';
  576 | src-line not found
      | $minbaroyestt = '12:06 AM';$minbaroyestt = '12:06 AM';
  577 | src-line not found
      | $mrecordlowbaro = '30.017';$mrecordlowbaro = '30.017';
  578 | src-line not found
      | $mrecordlowbaroday = '1';$mrecordlowbaroday = '1';
  579 | src-line not found
      | $mrecordlowbaromonth = '12';$mrecordlowbaromonth = '12';
  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 = 'Afternoon';$timeofdaygreeting = 'Afternoon';
  596 | src-line not found
      | $avwindlastimediate60 = '1.1'; // average wind speed
  597 | src-line not found
      | $avwindlastimediate120 = '1.0'; // 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 = '1.1'; // average wind speed
  602 | src-line not found
      | $avwindlastimediate30 = '1.1'; // average wind speed
  603 | src-line not found
      | $todayhihumidex = '36.1'; //daily high humidex$todayhihumidex = '36.1'; //daily high humidex
  604 | src-line not found
      | $todaylohumidex = '20.6'; //Daily low Humidex$todaylohumidex = '20.6'; //Daily low Humidex
  605 | src-line not found
      | //Version 5.02//Version 5.02
  606 | src-line not found
      | $dayornight = 'Day'; // Day or night flag$dayornight = 'Day'; // 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.7'; //For snow prediction$tempchangelasthourfaren = '+0.7'; //For snow prediction
  610 | src-line not found
      | $abshum = '4.32'; //For snow prediction$abshum = '4.32'; //For snow prediction
  611 | src-line not found
      | $maxtemp4today = '53.5'; // max from station's records$maxtemp4today = '53.5'; // max from station's records
  612 | src-line not found
      | $mintemp4today = '42.2'; // min from station's records$mintemp4today = '42.2'; // 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.7';$avtempmarnow = '45.7';
  647 | src-line not found
      | $avtempaprnow = '51.9';$avtempaprnow = '51.9';
  648 | src-line not found
      | $avtempmaynow = '62.7';$avtempmaynow = '62.7';
  649 | src-line not found
      | $avtempjunnow = '73.3';$avtempjunnow = '73.3';
  650 | src-line not found
      | $avtempjulnow = '77.2';$avtempjulnow = '77.2';
  651 | src-line not found
      | $avtempaugnow = '73.3';$avtempaugnow = '73.3';
  652 | src-line not found
      | $avtempsepnow = '66.1';$avtempsepnow = '66.1';
  653 | src-line not found
      | $avtempoctnow = '58.8';$avtempoctnow = '58.8';
  654 | src-line not found
      | $avtempnovnow = '50.8';$avtempnovnow = '50.8';
  655 | src-line not found
      | $avtempdecnow = '33.8';$avtempdecnow = '33.8';
  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.4';//Average temperature for march from your data$avtempmar = '44.4';//Average temperature for march from your data
  659 | src-line not found
      | $avtempapr = '53.7';//Average temperature for april from your data$avtempapr = '53.7';//Average temperature for april from your data
  660 | src-line not found
      | $avtempmay = '61.7';//Average temperature for may from your data$avtempmay = '61.7';//Average temperature for may from your data
  661 | src-line not found
      | $avtempjun = '70.6';//Average temperature for june from your data$avtempjun = '70.6';//Average temperature for june from your data
  662 | src-line not found
      | $avtempjul = '77.3';//Average temperature for july from your data$avtempjul = '77.3';//Average temperature for july from your data
  663 | src-line not found
      | $avtempaug = '73.2';//Average temperature for august from your data$avtempaug = '73.2';//Average temperature for august from your data
  664 | src-line not found
      | $avtempsep = '67.2';//Average temperature for september from your data$avtempsep = '67.2';//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 = '48.3';//Average temperature for november from your data$avtempnov = '48.3';//Average temperature for november from your data
  667 | src-line not found
      | $avtempdec = '42.6';//Average temperature for december from your data$avtempdec = '42.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 = '8.02';$avrainmar = '8.02';
  675 | src-line not found
      | $avrainapr = '3.75';$avrainapr = '3.75';
  676 | src-line not found
      | $avrainmay = '2.50';$avrainmay = '2.50';
  677 | src-line not found
      | $avrainjun = '2.55';$avrainjun = '2.55';
  678 | src-line not found
      | $avrainjul = '3.23';$avrainjul = '3.23';
  679 | src-line not found
      | $avrainaug = '5.68';$avrainaug = '5.68';
  680 | src-line not found
      | $avrainsep = '4.77';$avrainsep = '4.77';
  681 | src-line not found
      | $avrainoct = '1.15';$avrainoct = '1.15';
  682 | src-line not found
      | $avrainnov = '2.80';$avrainnov = '2.80';
  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.29';$avrainmarnow = '11.29';
  688 | src-line not found
      | $avrainaprnow = '3.51';$avrainaprnow = '3.51';
  689 | src-line not found
      | $avrainmaynow = '2.98';$avrainmaynow = '2.98';
  690 | src-line not found
      | $avrainjunnow = '3.68';$avrainjunnow = '3.68';
  691 | src-line not found
      | $avrainjulnow = '4.55';$avrainjulnow = '4.55';
  692 | src-line not found
      | $avrainaugnow = '7.33';$avrainaugnow = '7.33';
  693 | src-line not found
      | $avrainsepnow = '0.61';$avrainsepnow = '0.61';
  694 | src-line not found
      | $avrainoctnow = '0.20';$avrainoctnow = '0.20';
  695 | src-line not found
      | $avrainnovnow = '3.58';$avrainnovnow = '3.58';
  696 | src-line not found
      | $avraindecnow = '0.00';$avraindecnow = '0.00';
  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 = '97.3';$recordhightemp = '97.3';
  702 | src-line not found
      | $recordlowtemp = '4.3';$recordlowtemp = '4.3';
  703 | src-line not found
      | $recordhighheatindex = '111.7';$recordhighheatindex = '111.7';
  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 = '81.9F  on: Jul 17 2024';$warmestnightonrecord = '81.9F  on: Jul 17 2024';
  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 = '37.0';$recordwindgust = '37.0';
  710 | src-line not found
      | $recordwindspeed = '19.1';$recordwindspeed = '19.1';
  711 | src-line not found
      | $recordhighwindrun = '233.3';$recordhighwindrun = '233.3';
  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 = '21';$recorddaysnorain = '21';
  717 | src-line not found
      | $recordhighdew = '81.0';$recordhighdew = '81.0';
  718 | src-line not found
      | $recordlowdew = '-18.2';$recordlowdew = '-18.2';
  719 | src-line not found
      | $recordhighhum = '100';$recordhighhum = '100';
  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 = '16';$recordhightempday = '16';
  726 | src-line not found
      | $recordhightempyear = '2024';$recordhightempyear = '2024';
  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 = '8';$recordhighheatindexmonth = '8';
  731 | src-line not found
      | $recordhighheatindexday = '3';$recordhighheatindexday = '3';
  732 | src-line not found
      | $recordhighheatindexyear = '2024';$recordhighheatindexyear = '2024';
  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 = '4';$recordhighgustmonth = '4';
  737 | src-line not found
      | $recordhighgustday = '12';$recordhighgustday = '12';
  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 = '4';$recordhighwindrunmth = '4';
  743 | src-line not found
      | $recordhighwindrunday = '24';$recordhighwindrunday = '24';
  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 = '10';$recorddaysnorainmonth = '10';
  757 | src-line not found
      | $recorddaysnorainday = '29';$recorddaysnorainday = '29';
  758 | src-line not found
      | $recorddaysnorainyear = '2024';$recorddaysnorainyear = '2024';
  759 | src-line not found
      | $recordhighdewmonth = '7';$recordhighdewmonth = '7';
  760 | src-line not found
      | $recordhighdewday = '6';$recordhighdewday = '6';
  761 | src-line not found
      | $recordhighdewyear = '2024';$recordhighdewyear = '2024';
  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 = '9';$recordhighhummonth = '9';
  766 | src-line not found
      | $recordhighhumday = '14';$recordhighhumday = '14';
  767 | src-line not found
      | $recordhighhumyear = '2024';$recordhighhumyear = '2024';
  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 = '111.7';$yrecordhighheatindex = '111.7';
  786 | src-line not found
      | $yrecordhighheatindexmonth = '8';$yrecordhighheatindexmonth = '8';
  787 | src-line not found
      | $yrecordhighheatindexday = '3';$yrecordhighheatindexday = '3';
  788 | src-line not found
      | $yrecordhighheatindexyear = '2024';$yrecordhighheatindexyear = '2024';
  789 | src-line not found
      | $ywarmestdayonrecord = '91.2F  on: Jul 15 2024';$ywarmestdayonrecord = '91.2F  on: Jul 15 2024';
  790 | src-line not found
      | $ywarmestnightonrecord = '81.9F  on: Jul 17 2024';$ywarmestnightonrecord = '81.9F  on: Jul 17 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 = '233.3';$yrecordhighwindrun = '233.3';
  794 | src-line not found
      | $yrecordhighwindrunmth = '4';$yrecordhighwindrunmth = '4';
  795 | src-line not found
      | $yrecordhighwindrunday = '24';$yrecordhighwindrunday = '24';
  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.161';$yrecordrainrate = '0.161';
  800 | src-line not found
      | $yrecorddayswithrain = '7';$yrecorddayswithrain = '7';
  801 | src-line not found
      | $yrecorddaysnorain = '21';$yrecorddaysnorain = '21';
  802 | src-line not found
      | $yrecordhighdew = '81.0';$yrecordhighdew = '81.0';
  803 | src-line not found
      | $yrecordlowdew = '-2.0';$yrecordlowdew = '-2.0';
  804 | src-line not found
      | $yrecordhighhum = '100';$yrecordhighhum = '100';
  805 | src-line not found
      | $yrecordlowhum = '10';$yrecordlowhum = '10';
  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 = '6';$yrecordrainratemonth = '6';
  812 | src-line not found
      | $yrecordrainrateday = '6';$yrecordrainrateday = '6';
  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 = '10';$yrecorddaysnorainmonth = '10';
  817 | src-line not found
      | $yrecorddaysnorainday = '29';$yrecorddaysnorainday = '29';
  818 | src-line not found
      | $yrecordhighdewmonth = '7';$yrecordhighdewmonth = '7';
  819 | src-line not found
      | $yrecordhighdewday = '6';$yrecordhighdewday = '6';
  820 | src-line not found
      | $yrecordhighdewyear = '2024';$yrecordhighdewyear = '2024';
  821 | src-line not found
      | $yrecordlowdewmonth = '4';$yrecordlowdewmonth = '4';
  822 | src-line not found
      | $yrecordlowdewday = '25';$yrecordlowdewday = '25';
  823 | src-line not found
      | $yrecordlowdewyear = '2024';$yrecordlowdewyear = '2024';
  824 | src-line not found
      | $yrecordhighhummonth = '9';$yrecordhighhummonth = '9';
  825 | src-line not found
      | $yrecordhighhumday = '14';$yrecordhighhumday = '14';
  826 | src-line not found
      | $yrecordhighhumyear = '2024';$yrecordhighhumyear = '2024';
  827 | src-line not found
      | $yrecordlowhummonth = '4';$yrecordlowhummonth = '4';
  828 | src-line not found
      | $yrecordlowhumday = '25';$yrecordlowhumday = '25';
  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 = '41.7';$mrecordhighheatindex = '41.7';
  840 | src-line not found
      | $mrecordhighheatindexmonth = '12';$mrecordhighheatindexmonth = '12';
  841 | src-line not found
      | $mrecordhighheatindexday = '3';$mrecordhighheatindexday = '3';
  842 | src-line not found
      | $mrecordhighheatindexyear = '2024';$mrecordhighheatindexyear = '2024';
  843 | src-line not found
      | $mrecordhighwindrun = '16.2';$mrecordhighwindrun = '16.2';
  844 | src-line not found
      | $mrecordhighwindrunmth = '12';$mrecordhighwindrunmth = '12';
  845 | src-line not found
      | $mrecordhighwindrunday = '1';$mrecordhighwindrunday = '1';
  846 | src-line not found
      | $mrecordhighwindrunyr = '2024';$mrecordhighwindrunyr = '2024';
  847 | src-line not found
      | $mrecorddailyrain = '0.00';$mrecorddailyrain = '0.00';
  848 | src-line not found
      | $mrecordhighrainmth = '0.0';$mrecordhighrainmth = '0.0';
  849 | src-line not found
      | $mrecordrainrate = '0.000';$mrecordrainrate = '0.000';
  850 | src-line not found
      | $mrecorddayswithrain = '0';$mrecorddayswithrain = '0';
  851 | src-line not found
      | $mrecorddaysnorain = '5';$mrecorddaysnorain = '5';
  852 | src-line not found
      | $mrecordhighdew = '29.0';$mrecordhighdew = '29.0';
  853 | src-line not found
      | $mrecordlowdew = '16.3';$mrecordlowdew = '16.3';
  854 | src-line not found
      | $mrecordhighhum = '78';$mrecordhighhum = '78';
  855 | src-line not found
      | $mrecordlowhum = '44';$mrecordlowhum = '44';
  856 | src-line not found
      | $mrecorddailyrainmonth = '12';$mrecorddailyrainmonth = '12';
  857 | src-line not found
      | $mrecorddailyrainday = '1';$mrecorddailyrainday = '1';
  858 | src-line not found
      | $mrecorddailyrainyear = '2024';$mrecorddailyrainyear = '2024';
  859 | src-line not found
      | $mrecordhighrainmthmth = '11';$mrecordhighrainmthmth = '11';
  860 | src-line not found
      | $mrecordhighrainmthyr = '2024';$mrecordhighrainmthyr = '2024';
  861 | src-line not found
      | $mrecordrainratemonth = '12';$mrecordrainratemonth = '12';
  862 | src-line not found
      | $mrecordrainrateday = '1';$mrecordrainrateday = '1';
  863 | src-line not found
      | $mrecordrainrateyear = '2024';$mrecordrainrateyear = '2024';
  864 | src-line not found
      | $mrecorddayswithrainmonth = '12';$mrecorddayswithrainmonth = '12';
  865 | src-line not found
      | $mrecorddayswithrainday = '1';$mrecorddayswithrainday = '1';
  866 | src-line not found
      | $mrecorddaysnorainmonth = '12';$mrecorddaysnorainmonth = '12';
  867 | src-line not found
      | $mrecorddaysnorainday = '4';$mrecorddaysnorainday = '4';
  868 | src-line not found
      | $mrecordhighdewmonth = '12';$mrecordhighdewmonth = '12';
  869 | src-line not found
      | $mrecordhighdewday = '3';$mrecordhighdewday = '3';
  870 | src-line not found
      | $mrecordhighdewyear = '2024';$mrecordhighdewyear = '2024';
  871 | src-line not found
      | $mrecordlowdewmonth = '12';$mrecordlowdewmonth = '12';
  872 | src-line not found
      | $mrecordlowdewday = '1';$mrecordlowdewday = '1';
  873 | src-line not found
      | $mrecordlowdewyear = '2024';$mrecordlowdewyear = '2024';
  874 | src-line not found
      | $mrecordhighhummonth = '12';$mrecordhighhummonth = '12';
  875 | src-line not found
      | $mrecordhighhumday = '3';$mrecordhighhumday = '3';
  876 | src-line not found
      | $mrecordhighhumyear = '2024';$mrecordhighhumyear = '2024';
  877 | src-line not found
      | $mrecordlowhummonth = '12';$mrecordlowhummonth = '12';
  878 | src-line not found
      | $mrecordlowhumday = '1';$mrecordlowhumday = '1';
  879 | src-line not found
      | $mrecordlowhumyear = '2024';$mrecordlowhumyear = '2024';
  880 | src-line not found
      | $myrecordhighbaromonth = '12';$myrecordhighbaromonth = '12';
  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.3'; // Fire Weather Index$firewi = '0.3'; // Fire Weather Index
  896 | src-line not found
      | $avtempweek = '37.7';    // Average Weekly Temp$avtempweek = '37.7';    // Average Weekly Temp
  897 | src-line not found
      | $hddday = '18.2';        // Heating Degree for day$hddday = '18.2';        // Heating Degree for day
  898 | src-line not found
      | $hddmonth = '111.2';    // Heating Degree for month to date$hddmonth = '111.2';    // Heating Degree for month to date
  899 | src-line not found
      | $hddyear = '3547.5';    // Heating Degree for year to date$hddyear = '3547.5';    // 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 = '1023.5';    // Cooling Degree for year to date$cddyear = '1023.5';    // Cooling Degree for year to date
  903 | src-line not found
      | $minchillweek = '26.4';  // Minimum Wind Chill over past 7 days$minchillweek = '26.4';  // Minimum Wind Chill over past 7 days
  904 | src-line not found
      | $maxheatweek = '55.7';  // Maximum Heat Index for the Week *** NEW IN V2.00$maxheatweek = '55.7';  // Maximum Heat Index for the Week *** NEW IN V2.00
  905 | src-line not found
      | $airdensity = '1.27';  //air density$airdensity = '1.27';  //air density
  906 | src-line not found
      | $solarnoon = '11:43'; // Solar noon$solarnoon = '11:43'; // Solar noon
  907 | src-line not found
      | $changeinday = '-00:01:06';  // change in day length since yesterday$changeinday = '-00:01:06';  // 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 = '35.9';$wetbulb = '35.9';
  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 = '10.0';$chandler = '10.0';
  922 | src-line not found
      | $maxdew = '28.2';$maxdew = '28.2';
  923 | src-line not found
      | $maxdewt = '11:46 AM';$maxdewt = '11:46 AM';
  924 | src-line not found
      | $mindew = '19.1';$mindew = '19.1';
  925 | src-line not found
      | $mindewt = '12:35 AM';$mindewt = '12:35 AM';
  926 | src-line not found
      | $maxdewyest = '29.0';$maxdewyest = '29.0';
  927 | src-line not found
      | $maxdewyestt = '1:17 PM';$maxdewyestt = '1:17 PM';
  928 | src-line not found
      | $mindewyest = '19.0';$mindewyest = '19.0';
  929 | src-line not found
      | $mindewyestt = '10:42 PM';$mindewyestt = '10:42 PM';
  930 | src-line not found
      | $stationname = 'mystation';$stationname = 'mystation';
  931 | src-line not found
      | $raindifffromav = '---';$raindifffromav = '---';
  932 | src-line not found
      | $raindifffromavyear = '44.530';$raindifffromavyear = '44.530';
  933 | src-line not found
      | $gddmonth = '32.0';$gddmonth = '32.0';
  934 | src-line not found
      | $gddyear = '4063.5';$gddyear = '4063.5';
  935 | src-line not found
      | $maxheat = '41.1';$maxheat = '41.1';
  936 | src-line not found
      | $maxheatt = '1:12 PM';$maxheatt = '1:12 PM';
  937 | src-line not found
      | $maxheatyest = '41.7';$maxheatyest = '41.7';
  938 | src-line not found
      | $yeartodateavtemp = '57.5';$yeartodateavtemp = '57.5';
  939 | src-line not found
      | $monthtodateavtemp = '33.8';$monthtodateavtemp = '33.8';
  940 | src-line not found
      | $maxchillyest = '41.7';$maxchillyest = '41.7';
  941 | src-line not found
      | $monthtodatemaxgust = '10.4';$monthtodatemaxgust = '10.4';
  942 | src-line not found
      | $monthtodateavspeed = '0.5'; // MTD average wind speed
  943 | src-line not found
      | $monthtodateavgust = '1.9'; //MTD average wind gust$monthtodateavgust = '1.9'; //MTD average wind gust
  944 | src-line not found
      | $yeartodateavwind = '1.2'; // YTD average wind speed
  945 | src-line not found
      | $yeartodategstwind = '2.6'; // YTD avg wind gust$yeartodategstwind = '2.6'; // YTD avg wind gust
  946 | src-line not found
      | $lowbaro = '30.114';$lowbaro = '30.114';
  947 | src-line not found
      | $lowbarot = '1:13 PM';$lowbarot = '1:13 PM';
  948 | src-line not found
      | $monthtodatemaxbaro = '30.277'; // MTD average wind speed
  949 | src-line not found
      | $monthtodateminbaro = '30.017'; //MTD average wind gust$monthtodateminbaro = '30.017'; //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 = '32.5';$avtempsincemidnight = '32.5';
  953 | src-line not found
      | $yesterdayavtemp = '35.6';$yesterdayavtemp = '35.6';
  954 | src-line not found
      | $avgspeedsincereset = '0.4';$avgspeedsincereset = '0.4';
  955 | src-line not found
      | $maxheatyestt = '2:52 PM';$maxheatyestt = '2:52 PM';
  956 | src-line not found
      | $windrunyesterday = '9.30';$windrunyesterday = '9.30';
  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 = '74';$highhum = '74';
  960 | src-line not found
      | $highhumt = '7:29 AM';$highhumt = '7:29 AM';
  961 | src-line not found
      | $lowhum = '54';$lowhum = '54';
  962 | src-line not found
      | $lowhumt = '1:03 PM';$lowhumt = '1:03 PM';
  963 | src-line not found
      | $maxhumyest = '78';$maxhumyest = '78';
  964 | src-line not found
      | $maxhumyestt = '5:05 AM';$maxhumyestt = '5:05 AM';
  965 | src-line not found
      | $minhumyest = '50';$minhumyest = '50';
  966 | src-line not found
      | $minhumyestt = '7:51 PM';$minhumyestt = '7:51 PM';
  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.0';$recordlowtempmar = '28.0';
  973 | src-line not found
      | $recordhightempapr = '90.1';$recordhightempapr = '90.1';
  974 | src-line not found
      | $recordlowtempapr = '34.5';$recordlowtempapr = '34.5';
  975 | src-line not found
      | $recordhightempmay = '88.3';$recordhightempmay = '88.3';
  976 | src-line not found
      | $recordlowtempmay = '46.0';$recordlowtempmay = '46.0';
  977 | src-line not found
      | $recordhightempjun = '95.2';$recordhightempjun = '95.2';
  978 | src-line not found
      | $recordlowtempjun = '57.2';$recordlowtempjun = '57.2';
  979 | src-line not found
      | $recordhightempjul = '97.3';$recordhightempjul = '97.3';
  980 | src-line not found
      | $recordlowtempjul = '62.2';$recordlowtempjul = '62.2';
  981 | src-line not found
      | $recordhightempaug = '92.8';$recordhightempaug = '92.8';
  982 | src-line not found
      | $recordlowtempaug = '55.9';$recordlowtempaug = '55.9';
  983 | src-line not found
      | $recordhightempsep = '81.5';$recordhightempsep = '81.5';
  984 | src-line not found
      | $recordlowtempsep = '53.1';$recordlowtempsep = '53.1';
  985 | src-line not found
      | $recordhightempoct = '79.9';$recordhightempoct = '79.9';
  986 | src-line not found
      | $recordlowtempoct = '42.8';$recordlowtempoct = '42.8';
  987 | src-line not found
      | $recordhightempnov = '78.1';$recordhightempnov = '78.1';
  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.7';$avtempmarnow = '45.7';
  997 | src-line not found
      | $avtempaprnow = '51.9';$avtempaprnow = '51.9';
  998 | src-line not found
      | $avtempmaynow = '62.7';$avtempmaynow = '62.7';
  999 | src-line not found
      | $avtempjunnow = '73.3';$avtempjunnow = '73.3';
 1000 | src-line not found
      | $avtempjulnow = '77.2';$avtempjulnow = '77.2';
 1001 | src-line not found
      | $avtempaugnow = '73.3';$avtempaugnow = '73.3';
 1002 | src-line not found
      | $avtempsepnow = '66.1';$avtempsepnow = '66.1';
 1003 | src-line not found
      | $avtempoctnow = '58.8';$avtempoctnow = '58.8';
 1004 | src-line not found
      | $avtempnovnow = '50.8';$avtempnovnow = '50.8';
 1005 | src-line not found
      | $avtempdecnow = '33.8';$avtempdecnow = '33.8';
 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.29';$avrainmarnow = '11.29';
 1010 | src-line not found
      | $avrainaprnow = '3.51';$avrainaprnow = '3.51';
 1011 | src-line not found
      | $avrainmaynow = '2.98';$avrainmaynow = '2.98';
 1012 | src-line not found
      | $avrainjunnow = '3.68';$avrainjunnow = '3.68';
 1013 | src-line not found
      | $avrainjulnow = '4.55';$avrainjulnow = '4.55';
 1014 | src-line not found
      | $avrainaugnow = '7.33';$avrainaugnow = '7.33';
 1015 | src-line not found
      | $avrainsepnow = '0.61';$avrainsepnow = '0.61';
 1016 | src-line not found
      | $avrainoctnow = '0.20';$avrainoctnow = '0.20';
 1017 | src-line not found
      | $avrainnovnow = '3.58';$avrainnovnow = '3.58';
 1018 | src-line not found
      | $avraindecnow = '0.00';$avraindecnow = '0.00';
 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