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