Warning: A non-numeric value encountered in /home/portan24/public_html/weather28/metar/wsMetarTxt.php on line 608

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