<?php
// converted tagslist.txt to .\tagslist.php for php tags
// by gen-PHP-tagslist.pl - Version 1.00 - 07-Apr-2006
// Author: Ken True - webmaster-weather.org
// Edited: 20-Apr-2006 to trim unused tags
// Version 1.01 - 25-Jan-2008 -- added Windy-rain to icon list
// Version 1.02 - 24-Jun-2008 -- added variables to replace old trends-inc.html with trends-inc.php
// Version 1.03 - 27-Oct-2008 -- added Snow and WU almanac variables
// Version 1.04 - 03-Jun-2009 -- added moonrisedate/moonsetdate for wxastronomy.php
// Version 1.05 - 11-Jul-2009 -- added tags for printable flyer, alternative dashboard, high/low/avg plugins
//                               Thanks to Mike and Scott for their permission to add the above tags!
// Version 1.06 - 12-Jul-2009 -- added tags for V4.0 of alternative dashboard
// Version 1.07 - 23-Jul-2011 -- added support for multiple plugin scripts for WD - see comments for supported scripts
/* 
  1.07 includes support for:
  
WebsterWeather:  http://www.websterweatherlive.com/wxScripts.php
  Alt-Dashboard 4.xx Script (Pre-Rainer's JavaScript) 	V4.30 	18-FEB-2011
  Alt-Dashboard 5.xx Script 	V5.20 	18-FEB-2011
  UpdatedAlt-Dashboard 6.xx Script 	V6.20 	27-JUN-2011
  UpdatedMOBILE Dashboard 1.xx Script 	V1.30 	15-JUL-2011
  High/Low/Averages Script Ver 3 Ajax-PHP Template Only 	V3.01 	25-MAR-2011

642weather (MChallis) http://www.642weather.com/weather/scripts-printable-flyer.php
  Printable Flyer Add-on for WD/PHP/AJAX Website Template V1.12  06-Nov-2009

Eastmasonville http://eastmasonvilleweather.com/downloads.php
  Station Records (wxrecords)  V1.13 - 24-May-2011

Relayweather http://www.relayweather.com/downloads.php
  Temperature and Rain Trending (wxglobalwarming) 	V1.0 	20-Jan-2010

end of 1.07 update description
*/
// --------------------------------------------------------------------------
// allow viewing of generated source

if ( isset($_REQUEST['sce']) && strtolower($_REQUEST['sce']) == 'view' ) {
//--self downloader --
   $filenameReal = __FILE__;
   $download_size = filesize($filenameReal);
   header('Pragma: public');
   header('Cache-Control: private');
   header('Cache-Control: no-cache, must-revalidate');
   header('Content-type: text/plain');
   header('Accept-Ranges: bytes');
   header("Content-Length: $download_size");
   header('Connection: close');
   
   readfile($filenameReal);
   exit;
}
// Units
// -----
$uomtemp = 'C'; //  = 'C', 'F',  (or  '°C', '°F', or '&deg;C', '&deg;F' )
$uombaro = 'mb'; //  = 'inHg', 'hPa', 'kPa', 'mb'
$uomwind = 'kts'; //  = 'kts','mph','kmh','km/h','m/s','Bft'
$uomrain = 'mm'; //  = 'mm', 'in'
$datefmt = 'd/m/y'; //  = 'd/m/y', 'm/d/y'
$uomdistance = 'km'; // = 'mi','km'  (for windrun variables)
//
// General OR Non Weather Specific/SUN/MOON
// ========================================
$time =  '14:15';	// current time
$date =  '18/01/13';	// current date
$sunrise =  '06:13';	// sun rise time (make sure you have the correct lat/lon
// 		            in view/sun moon)
$time_minute =  '15';	// Current minute
$time_hour =  '14';	// Current hour
$date_day =  '18';	// Current day
$date_month =  '01';	// Current month
$date_year =  '2013';	// Current year
$monthname =  'January';	// Current month name
$dayname =  'Friday';	// Current day name
$sunset =  '19:55';	// sunset time
$moonrisedate =  '18/01/13';	// moon rise date
$moonrise =  '12:43';	// moon rise time
$moonsetdate =  '19/01/13';	// moon set date
$moonset =  '00:08';	// moon set time
$moonage =  'Moon age: 6 days,22 hours,36 minutes,45%';	// current age of the moon (days since new moon)
$moonphase =  '45%';	// Moon phase %
$moonphasename = 'Waxing Crescent Moon'; // 10.36z addition
$marchequinox =  '11:03 UTC 20 March 2013';	// March equinox date
$junesolstice =  '05:05 UTC 21 June 2013';	// June solstice date
$sepequinox =  '20:45 UTC 22 September 2013';	// September equinox date
$decsolstice =  '17:12 UTC 21 December 2013';	// December solstice date
$moonperihel =  '15:24 UTC 3 January 2014';	// Next Moon perihel date
$moonaphel =  '00:17 UTC 5 July 2013';	// Next moon perihel date
$moonperigee =  '12:09 UTC 7 February 2013';	// Next moon perigee date
$moonapogee =  '10:53 UTC 22 January 2013';	// Next moon apogee date
$newmoon =  '19:44 UTC 11 January 2013';	// Date/time of the next/last new moon
$nextnewmoon =  '07:21 UTC 10 February 2013';	// Date/time of the next new moon for next month
$firstquarter =  '23:46 UTC 18 January 2013';	// Date/time of the next/last first quarter moon
$lastquarter =  '13:57 UTC 3 February 2013';	// Date/time of the next/last last quarter moon
$fullmoon =  '04:39 UTC 27 January 2013';	// Date/time of the next/last full moon
$fullmoondate =  ' 27 January 2013';	// Date of the next/last full moon (date only)
$suneclipse =  '00:27 UTC 10 May 2013 Eclipse Circular';	// Next sun eclipse
$mooneclipse =  '20:09 UTC 25 April 2013 Eclipse Total';	// Next moon eclipse date
$easterdate =  '31 March 2013';	// Next easter date
$chinesenewyear =  '10 February 2013 ()';	// Chinese new year
$hoursofpossibledaylight =  '13:42';	// Total hours/minutes of possible daylight for today
//
$weatherreport =  'Dry';	// current weather conditions from selected METAR
$stationaltitude =  '6';	// Station altitude, feet, as set in the units setup
// this under setup)
$stationlatitude =  '-28:35:14';	// Latitude (from the sun moon rise/set setup)
$stationlongitude =  '-016:27:00';	// Longtitude (from the sun moon rise/set setup)
$windowsuptime = '8 Days 22 Hours 6 Minutes 17 Seconds'; // uptime for windows on weather pc
$freememory = '490MB'; // amount of free memory on the pc
$Startimedate = '16:14 09/01/13'; // Time/date WD was started

$NOAAEvent = 'NO CURRENT ADVISORIES'; // NOAA Watch/Warning/Advisory
$noaawarningraw = ''; // NOAA RAW watch/warning/advisory

$wdversion = '10.37R' . '-(b' . '36' . ')';	// Weather Display version number you are running
$wdversiononly = '10.37R';
$wdbuild   = '36';       // Weather Display build number you are running
$noaacityname =  'Oranjemund';	// City name,from the noaa setup (in the av/ext setup)
// 
$timeofnextupdate =  '---';	// Time of next Update/Upload of the weather data to your web page (based on the web table update 
// 
$heatcolourword =  '---';	// How hot/cold it feels at the moment, based on the humidex, used with the conditionscolour.jpg 
// 
// 
// Temperature/Humidity
// ====================
// Current:
// --------
$temperature =  '19.1°C';	// temperature
$tempnodp = '19'; // temperature, no decimal place
$humidity =  '89';	// humidity
$dewpt =  '17.2°C';	// dew point
$maxtemp =  '19.4°C';	// today's maximum temperature
$maxtempt =  '13:57';	// time this occurred
$mintemp =  '16.9°C';	// today's minimum temperature
$mintempt =  '09:10';	// time this occurred
$feelslike =  '19';	// Shows heat index or humidex or windchill (if less than 16oC)

$heati =  '19.1°C';	// current heat index
$heatinodp =  '19';	// current heat index,no decimal place
$windch =  '18.6°C';	// current wind-chill
$windchnodp =  '19°C';	// current wind-chill, no decimal place
$humidexfaren =  '76.1°F';	// Humidex value in oF
$humidexcelsius =  '24.5°C';	// Humidex value in oC

$apparenttemp =  '16.8';	// Apparent temperature
$apparentsolartemp =  '23.8';	// Apparent temperature in the sun (you need a solar sensor)
$apparenttempc =  '16.8';	// Apparent temperature, °C
$apparentsolartempc =  '23.8';	// Apparent temperature in the sun, °C (you need a solar sensor)
$apparenttempf =  '62.2';	// Apparent temperature, °F
$apparentsolartempf =  '74.8';	// Apparent temperature in the sun, °F (you need a solar sensor)
// 
$WUmaxtemp = '0.0';	// Todays average max temperature from the selected Wunderground almanac station
$WUmintemp = '0.0';	// Todays average min temperature from the selected Wunderground almanac station
// 
$WUmaxtempr = '0.0';	// Todays record max temperature from the selected Wunderground almanac station
$WUmintempr = '0.0';	// Todays record min temperature from the selected Wunderground almanac station
$WUmaxtempryr = '0';	// Year that it occured
$WUmintempryr = '0';	// year that it occured
// 
// 
// Yesterday:
// ----------
$tempchangehour =  '-0.0 °C/last hr';	// Temperature change in the last hour
$maxtempyest =  '22.6 °C';	// Yesterday's max temperature
$maxtempyestt =  '11:45';	// Time of yesterday's max temperature
$mintempyest =  '17.8 °C';	// Yesterday's min temperature
$mintempyestt =  '23:30';	// Time of yesterday's min temperature
// 
// 
// Trends:
// -------
$temp24hoursago =  '21.5';	// The temperature 24 hours ago
$humchangelasthour =  '-1';	// Humidity change last hour
$dewchangelasthour =  '-0.2';	// Dew point change last hour
$barochangelasthour =  '-0.2';	// Baro change last hour
// 
// Wind
// ====
// Current:
// --------
// 
$avgspd =  '12.7 kts';	// average wind speed (current)
$gstspd =  '10.4 kts';	// current/gust wind speed
$maxgst =  '19.1 kts';	// today's maximum wind speed
$maxgstt =  '11:17';	// time this occurred
$maxgsthr =  '18.3 kts   S';	// maximum gust last hour
$dirdeg =  '186 °';	// wind direction (degrees)
$dirlabel =  'S';	// wind direction (NNE etc)
//$maxgustlastimediatehourtime =  '13:28';	// 13:28  time that the max gust last prior 1 hour occured
$avwindlastimediate10 =  '12.6 kts';	// Average wind for the last immediate 10 minute period
// $avdir10minute =  '194°';	// average ten minute wind direction (degrees)

$beaufortnum ='4'; //Beaufort wind force number
$currbftspeed = '3 bft'; //Current Beaufort wind speed

$bftspeedtext = 'Moderate Breeze'; //Beaufort scale in text (i.e Fresh Breeze)
// 
// 
// Baromometer
// ===========
// Current:
// --------
$baro = '1012.2 mb';  // current barometer
$baroinusa2dp =  '29.89 inches';	// Current barometer reading in inches, 2 decimal places only.
$trend =  '-0.2mb/hr';	// amount of change in the last hour
$pressuretrendname =  'Steady';	// pressure trend (i.e. 'falling'), last hour
$pressuretrendname3hour =  'Falling slowly';	// pressure trend (i.e. 'falling'), last 3 hours

$vpforecasttext = 'increasing clouds with little temp. change.';	// Forecast text from the Davis VP
// 
// 
// Rain
// ====
// Current:
// --------
$dayrn =  '  0.0 mm';	// today's rain
$monthrn =  '0.0 mm';	// rain so far this month
$yearrn =  '3.5 mm';	// rain so far this year
$dayswithnorain =  '114';	// Consecutative days with no rain
$dayswithrain =  '0';	// Days with rain for the month
$dayswithrainyear =  '0';	// Days with rain for the year
$currentrainratehr =  '0.0';	// Current rain rate, mm/hr (or in./hr)
$maxrainrate =  '0.0';	// Max rain rate,for the day, mm/min (or in./min)
$maxrainratehr =  '0.0';	// Max rain rate,for the day, mm/hr (or in.mm)
$maxrainratetime =  '00:00';	// Time that occurred
// Yesterday:
// ----------
$yesterdayrain =  '0.0 mm';	// Yesterday rain
//
$vpstormrainstart = '0/0/0';  //Davis VP Storm rain start date
$vpstormrain = '0.0 mm';           //Davis VP Storm rain value
//
// 
// Sunshine/Solar/ET
// =================
$VPsolar =  '670';	//  Solar energy number (W/M2)
$VPuv =  '0.0';	// UV number 
$highsolar =  '853';	// Daily high solar (for Davis VP and Grow stations)
$highuv =  '0.0';	// Daily high UV (for Davis VP stations)
$currentsolarpercent =  '53 %';	// Current solar percent for stations with a temperature solar sensor (like the dallas 1 wire)
$highsolartime =  '10:21';	// Time that the daily high solar occured
$lowsolartime =  '00:00';	// Time that the daily low solar occured
$highuvtime =  '00:00';	// Time that the daily high UV occured
$lowuvtime =  '00:00';	// Time that the daily low UV occured
$highuvyest =  '0.0';	// Yesterday's high UV
$highuvyesttime =  '00:00';	// Time of yesterday's high UV
$burntime =  '---';	// Time (minutes) to burn (normal skin) at the current UV rate, from the Davis VP with UV sensor
// 
// the solar setup.
// 
// 
// Number of resynchronizations, The largest number of packets in a row that were received., and the number of CRC errors 
// 
// detected. 
// 
// 
// Record Readings
// ===============
// 
// for current month to date:
// 
$mrecordwindgust =  '31.3';	// All time record high wind gust
$mrecordhighgustday =  '14';	// Day of record high wind gust
// 
// 
// Snow
// =====
// 
$snowseasonin = '0';	// Snow for season you have entered under input daily weather, inches
$snowmonthin = '0';	// Snow for month you have entered under input daily weather, inches
$snowtodayin = '0.00';	// Snow for today you have entered under input daily weather, inches
$snowseasoncm = '0';	// Snow for season you have entered under input daily weather, cm
$snowmonthcm = '0';	// Snow for month you have entered under input daily weather, cm
$snowtodaycm = '0.0';	// Snow for today you have entered under input daily weather, cm
$snowyesterday = '0';	// Yesterdays' snow
$snowheight = '423';	// Estimated height snow will fall at
$snowheightnew = '8006';	// Estimated height snow will fall at, new formula
// 
$snownowin = '0.00';	// Current snow depth, inches.
$snownowcm = '0.0';	// Current snow depth, cm.
// 
$snowrain = '0.0';	// Rain measure by a heated rain gauge when temp below freezing times 10 to give estimated snow fall
$snowdaysthismonth = '0';	// Days with snow this month
$snowdaysthisyear = '0';	// Days with snow this year
//
// tags needed for trends-inc.php
//
$temp0minuteago = '19.1';  // ****this one is needed for all the others to work
$wind0minuteago = '14';
$gust0minuteago = '16';
$dir0minuteago = ' S ';
$hum0minuteago = '89';
$dew0minuteago = '17.2';
$baro0minuteago = '1012.2';
$rain0minuteago = '0.0';
$VPsolar0minuteago = '670';
$VPuv0minuteago = '0.0';

$temp5minuteago = '19.2';  
$wind5minuteago = '12';
$gust5minuteago = '17';
$dir5minuteago = 'SSW';
$hum5minuteago = '89';
$dew5minuteago = '17.3';
$baro5minuteago = '1012.4';
$rain5minuteago = '0.0';
$VPsolar5minuteago = '601';
$VPuv5minuteago = '0.0';

$temp10minuteago = '19.2';  
$wind10minuteago = '12';
$gust10minuteago = '15';
$dir10minuteago = 'SSW';
$hum10minuteago = '89';
$dew10minuteago = '17.4';
$baro10minuteago = '1012.4';
$rain10minuteago = '0.0';
$VPsolar10minuteago = '517';
$VPuv10minuteago = '0.0';

$temp15minuteago = '19.4';  
$wind15minuteago = '12';
$gust15minuteago = '14';
$dir15minuteago = 'SSW';
$hum15minuteago = '89';
$dew15minuteago = '17.5';
$baro15minuteago = '1012.4';
$rain15minuteago = '0.0';
$VPsolar15minuteago = '613';
$VPuv15minuteago = '0.0';

$temp20minuteago = '19.3';  
$wind20minuteago = '10';
$gust20minuteago = '14';
$dir20minuteago = 'SSW';
$hum20minuteago = '89';
$dew20minuteago = '17.5';
$baro20minuteago = '1012.5';
$rain20minuteago = '0.0';
$VPsolar20minuteago = '564';
$VPuv20minuteago = '0.0';

$temp30minuteago = '19.2';  
$wind30minuteago = '10';
$gust30minuteago = '15';
$dir30minuteago = 'SSW';
$hum30minuteago = '89';
$dew30minuteago = '17.3';
$baro30minuteago = '1012.5';
$rain30minuteago = '0.0';
$VPsolar30minuteago = '568';
$VPuv30minuteago = '0.0';

$temp45minuteago = '19.2';  
$wind45minuteago = '11';
$gust45minuteago = '11';
$dir45minuteago = 'SSW';
$hum45minuteago = '90';
$dew45minuteago = '17.5';
$baro45minuteago = '1012.5';
$rain45minuteago = '0.0';
$VPsolar45minuteago = '733';
$VPuv45minuteago = '0.0';

$temp60minuteago = '19.1';  
$wind60minuteago = '11';
$gust60minuteago = '14';
$dir60minuteago = ' S ';
$hum60minuteago = '90';
$dew60minuteago = '17.4';
$baro60minuteago = '1012.5';
$rain60minuteago = '0.0';
$VPsolar60minuteago = '601';
$VPuv60minuteago = '0.0';

$temp75minuteago = '19.0';  
$wind75minuteago = '11';
$gust75minuteago = '14';
$dir75minuteago = ' S ';
$hum75minuteago = '91';
$dew75minuteago = '17.5';
$baro75minuteago = '1012.6';
$rain75minuteago = '0.0';
$VPsolar75minuteago = '541';
$VPuv75minuteago = '0.0';

$temp90minuteago = '18.9';  
$wind90minuteago = '10';
$gust90minuteago = '13';
$dir90minuteago = ' S ';
$hum90minuteago = '92';
$dew90minuteago = '17.6';
$baro90minuteago = '1012.8';
$rain90minuteago = '0.0';
$VPsolar90minuteago = '737';
$VPuv90minuteago = '0.0';

$temp105minuteago = '18.8';  
$wind105minuteago = '9';
$gust105minuteago = '12';
$dir105minuteago = ' S ';
$hum105minuteago = '92';
$dew105minuteago = '17.5';
$baro105minuteago = '1012.8';
$rain105minuteago = '0.0';
$VPsolar105minuteago = '468';
$VPuv105minuteago = '0.0';

$temp120minuteago = '18.8';  
$wind120minuteago = '12';
$gust120minuteago = '16';
$dir120minuteago = ' S ';
$hum120minuteago = '93';
$dew120minuteago = '17.6';
$baro120minuteago = '1012.8';
$rain120minuteago = '0.0';
$VPsolar120minuteago = '670';
$VPuv120minuteago = '0.0';

$VPet = '1.5';
$VPetmonth = '34.1';
$dateoflastrainalways = '13/4/2012';
$highbaro = '1013.0 mb';
$highbarot = '11:30';
$highsolaryest = '1338.0';
$highsolaryesttime = '12:52';
$hourrn = '0.0';
$maxaverageyest = '13.8 kts WSW';
$maxaverageyestt = '12:15';
$maxavgdirectionletter = '  S';
$maxavgspd = '16.5 kts';
$maxavgspdt = '10:31';
$maxbaroyest = '1011.9 mb';
$maxbaroyestt = '23:59';
$maxgstdirectionletter = '  S';
$maxgustyest = '15.7 kts  SW';
$maxgustyestt = '12:14';
$mcoldestdayonrecord = '16.6°C  on: 12 Jan 2013';
$mcoldestnightonrecord = '14.3°C  on: 12 Jan 2013';
$minchillyest = '17.8 °C';
$minchillyestt = '23:30';
$minwindch = '16.9 °C';
$minwindcht = '09:10';
$mrecordhighavwindday = '14';
$mrecordhighavwindmonth = '1';
$mrecordhighavwindyear = '2013';
$mrecordhighbaro = '1017.0';
$mrecordhighbaroday = '10';
$mrecordhighbaromonth = '1';
$mrecordhighbaroyear = '2013';
$mrecordhighgustmonth = '1';
$mrecordhighgustyear = '2013';
$mrecordhightemp = '23.4';
$mrecordhightempday = '16';
$mrecordhightempmonth = '1';
$mrecordhightempyear = '2013';
$mrecordlowchill = '11.9';
$mrecordlowchillday = '11';
$mrecordlowchillmonth = '1';
$mrecordlowchillyear = '2013';
$mrecordlowtemp = '11.9';
$mrecordlowtempday = '11';
$mrecordlowtempmonth = '1';
$mrecordlowtempyear = '2013';
$mrecordwindspeed = '26.6';
$mwarmestdayonrecord = '20.4°C  on: 17 Jan 2013';
$mwarmestnightonrecord = '19.9°C  on: 01 Jan 2013';
$raincurrentweek = '0.0';
$raintodatemonthago = '0.0';
$raintodateyearago = '0.0';
$timeoflastrainalways = ' 15:08';
$windruntodatethismonth = '8106.47 km';
$windruntodatethisyear = '8106.47 km';
$windruntoday = '156.35';
$yesterdaydaviset = '0.0';
$yrecordhighavwindday = '14';
$yrecordhighavwindmonth = '1';
$yrecordhighavwindyear = '2013';
$yrecordhighbaro = '1017.0';
$yrecordhighbaroday = '10';
$yrecordhighbaromonth = '1';
$yrecordhighbaroyear = '2013';
$yrecordhighgustday = '14';
$yrecordhighgustmonth = '1';
$yrecordhighgustyear = '2013';
$yrecordhightemp = '23.4';
$yrecordhightempday = '16';
$yrecordhightempmonth = '1';
$yrecordhightempyear = '2013';
$yrecordlowchill = '11.9';
$yrecordlowchillday = '11';
$yrecordlowchillmonth = '1';
$yrecordlowchillyear = '2013';
$yrecordlowtemp = '11.9';
$yrecordlowtempday = '11';
$yrecordlowtempmonth = '1';
$yrecordlowtempyear = '2013';
$yrecordwindgust = '31.3';
$yrecordwindspeed = '26.6';
$daysTmaxGT30C = '%daysTmax>30C%';
$daysTmaxGT25C = '%daysTmax>25C%';
$daysTminLT0C = '%daysTmin<0C%';
$daysTminLTm15C = '%daysTmin<-15C%';

// end of trends-inc.php variables

//  
   // CURRENT CONDITIONS ICONS FOR clientraw.txt
   // create array for icons. There are 35 possible values in clientraw.txt
   // It would be simpler to do this with array() but to make it easier to 
   // modify each element is defined individually. Each index [#] corresponds
   // to the value provided in clientraw.txt
   $icon_array[0] =  'day_clear.gif';            // imagesunny.visible
   $icon_array[1] =  'night_clear.gif';          // imageclearnight.visible
   $icon_array[2] =  'day_partly_cloudy.gif';    // imagecloudy.visible
   $icon_array[3] =  'day_partly_cloudy.gif';    // imagecloudy2.visible
   $icon_array[4] =  'night_partly_cloudy.gif';  // imagecloudynight.visible
   $icon_array[5] =  'day_partly_cloudy.gif';            // imagedry.visible
   $icon_array[6] =  'fog.gif';                  // imagefog.visible
   $icon_array[7] =  'haze.gif';                 // imagehaze.visible
   $icon_array[8] =  'day_heavy_rain.gif';       // imageheavyrain.visible
   $icon_array[9] =  'day_mostly_sunny.gif';     // imagemainlyfine.visible
   $icon_array[10] =  'mist.gif';                // imagemist.visible
   $icon_array[11] =  'fog.gif';                 // imagenightfog.visible
   $icon_array[12] =  'night_heavy_rain.gif';    // imagenightheavyrain.visible
   $icon_array[13] =  'night_cloudy.gif';        // imagenightovercast.visible
   $icon_array[14] =  'night_rain.gif';          // imagenightrain.visible
   $icon_array[15] =  'night_light_rain.gif';    // imagenightshowers.visible
   $icon_array[16] =  'night_snow.gif';          // imagenightsnow.visible
   $icon_array[17] =  'night_tstorm.gif';        // imagenightthunder.visible
   $icon_array[18] =  'day_cloudy.gif';          // imageovercast.visible
   $icon_array[19] =  'day_partly_cloudy.gif';   // imagepartlycloudy.visible
   $icon_array[20] =  'day_rain.gif';            // imagerain.visible
   $icon_array[21] =  'day_rain.gif';            // imagerain2.visible
   $icon_array[22] =  'day_light_rain.gif';      // imageshowers2.visible
   $icon_array[23] =  'sleet.gif';               // imagesleet.visible
   $icon_array[24] =  'sleet.gif';               // imagesleetshowers.visible
   $icon_array[25] =  'snow.gif';                // imagesnow.visible
   $icon_array[26] =  'snow.gif';                // imagesnowmelt.visible
   $icon_array[27] =  'snow.gif';                // imagesnowshowers2.visible
   $icon_array[28] =  'day_clear.gif.gif';       // imagesunny.visible
   $icon_array[29] =  'day_tstorm.gif';          // imagethundershowers.visible
   $icon_array[30] =  'day_tstorm.gif';          // imagethundershowers2.visible
   $icon_array[31] =  'day_tstorm.gif';          // imagethunderstorms.visible
   $icon_array[32] =  'tornado.gif';             // imagetornado.visible
   $icon_array[33] =  'windy.gif';               // imagewindy.visible
   $icon_array[34] =  'day_partly_cloudy.gif';   // stopped raining
   $icon_array[35] =  'windyrain.gif';           // Wind+rain
   $iconnumber = '3';                // icon number

   $current_icon = $icon_array[3]; // name of our condition icon
// ----------------------------------------------------------------------------------
//   $current_summary = 'Dry' . '<br />' . 'Mainly Fog/Cloud/Dry ';
   $weathercond = 'Dry';
   $Currentsolardescription = 'Mainly Fog/Cloud/Dry ';
   $current_summary = $Currentsolardescription;
   $current_summary = preg_replace('|^/[^/]+/|','',$current_summary);
   $current_summary = preg_replace('|\\\\|',', ',$current_summary);
   $current_summary = preg_replace('|/|',', ',$current_summary);
//  
//  
$cloudheightfeet =  '785';	// Estimated cloud base height, feet, (based on dew point, and you height above sea  level...enter
$cloudheightmeters =  '239';	// Estimated cloud base height, metres, (based on dew point, and you height above sea

// end of stock testtags.txt

// ----------------------------------------------------------------------------------------------------
// begin mchallis tags added to testtags.txt for printable flyer
$maxgsthrtime = '13:28';        // time that the max gust last prior 1 hour occured
$minbaroyest  = '1009.1 mb';
$minbaroyestt = '17:12';
$mrecordlowbaro = '1006.8';
$mrecordlowbaroday = '15';
$mrecordlowbaromonth = '1';
$mrecordlowbaroyear = '2013';
$yrecordlowbaro = '1006.8';
$yrecordlowbaroday = '15';
$yrecordlowbaromonth = '1';
$yrecordlowbaroyear = '2013';
// end mchallis tags added to testtags.txt for printable flyer
// ----------------------------------------------------------------------------------------------------
// New WebsterWeatherLive VER 4.10 tags
//----------------------------------------------
$lighteningbearing = '0';
$lighteningdistance = '0';
$lighteningcountlasthournextstorm = '0';
$lighteningcountlastminutenextstorm = '0';
$lighteningcountlast12hournextstorm = '0';
$lighteningcountlast30minutesnextstorm = '0';
$timeofdaygreeting = 'Afternoon';
$avwindlastimediate60 = '10.7 kts'; // average wind speed
$avwindlastimediate120 = '10.6 kts'; // average wind speed
$currentmonthaveragerain = '---'; // average rain for current month
//
// version 5.00+ 
$avwindlastimediate15 = '11.8 kts'; // average wind speed
$avwindlastimediate30 = '10.9 kts'; // average wind speed
$todayhihumidex = '25.2'; //daily high humidex
$todaylohumidex = '21.9'; //Daily low Humidex
//Version 5.02
$dayornight = 'Day'; // Day or night flag

//Version 6.20
$tempchangelasthourfaren = '+0.0'; //For snow prediction
$abshum = '7.5195'; //For snow prediction
$maxtemp4today = '22.4'; // max from station's records
$mintemp4today = '16.2'; // min from station's records
$maxtemp4todayyr = '2011'; // max year from station's records
$mintemp4todayyr = '2010'; // min year from station's records
$avsnowjan = '0.0'; //Average snow for jan from your inputted snow data (cm)
$avsnowfeb = '0.0'; //Average snow for feb from your inputted snow data (cm)
$avsnowmar = '0.0'; //Average snow for mar from your inputted snow data (cm)
$avsnowapr = '0.0'; //Average snow for apr from your inputted snow data (cm)
$avsnowmay = '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)
$avsnowjul = '0.0'; //Average snow for jul from your inputted snow data (cm)
$avsnowaug = '0.0'; //Average snow for aug from your inputted snow data (cm)
$avsnowsep = '0.0'; //Average snow for sep from your inputted snow data (cm)
$avsnowoct = '0.0'; //Average snow for oct from your inputted snow data (cm)
$avsnownov = '0.0'; //Average snow for nov from your inputted snow data (cm)
$avsnowdec = '0.0'; //Average snow for dec from your inputted snow data (cm)
$avsnowjannow = '0.0';
$avsnowfebnow = '0.0';
$avsnowmarnow = '0.0';
$avsnowaprnow = '0.0';
$avsnowmaynow = '---';
$avsnowjunnow = '0.0';
$avsnowjulnow = '---';
$avsnowaugnow = '---';
$avsnowsepnow = '0.0';
$avsnowoctnow = '0.0';
$avsnownovnow = '0.0';
$avsnowdecnow = '0.0';
// end of websterweather additions
// ----------------------------------------------------------------------------------------------------
// relayweather wxglobalwarming
// For Temperature Trend Chart, you Need to add the following to your testtags file if they don't yet exist:

$avtempjannow = '18.7';
$avtempfebnow = '17.3';
$avtempmarnow = '17.4';
$avtempaprnow = '16.7';
$avtempmaynow = '0.0';
$avtempjunnow = '9.1';
$avtempjulnow = '0.0';
$avtempaugnow = '0.0';
$avtempsepnow = '13.0';
$avtempoctnow = '15.2';
$avtempnovnow = '16.1';
$avtempdecnow = '19.3';
$avtempjan = '19.2';//Average temperature for january from your data
$avtempfeb = '18.5';//Average temperature for february from your data
$avtempmar = '17.7';//Average temperature for march from your data
$avtempapr = '16.1';//Average temperature for april from your data
$avtempmay = '15.9';//Average temperature for may from your data
$avtempjun = '14.1';//Average temperature for june from your data
$avtempjul = '14.4';//Average temperature for july from your data
$avtempaug = '14.3';//Average temperature for august from your data
$avtempsep = '14.4';//Average temperature for september from your data
$avtempoct = '15.5';//Average temperature for october from your data
$avtempnov = '16.7';//Average temperature for november from your data
$avtempdec = '19.1';//Average temperature for december from your data

//For the Rain Trending Chart, you Need to add the following to your testtags file if they don't yet exist:

//Start Rain Trending
$avrainjan = '14.5';
$avrainfeb = '14.7';
$avrainmar = '16.1';
$avrainapr = '16.3';
$avrainmay = '19.1';
$avrainjun = '20.9';
$avrainjul = '2.0';
$avrainaug = '2.9';
$avrainsep = '4.2';
$avrainoct = '11.2';
$avrainnov = '14.1';
$avraindec = '16.8';

$avrainjannow = '0.0';
$avrainfebnow = '0.5';
$avrainmarnow = '2.5';
$avrainaprnow = '0.0';
$avrainmaynow = '---';
$avrainjunnow = '0.0';
$avrainjulnow = '---';
$avrainaugnow = '---';
$avrainsepnow = '0.5';
$avrainoctnow = '0.5';
$avrainnovnow = '0.0';
$avraindecnow = '0.0';
//End Rain Trending
// end of relayweather tags
// ----------------------------------------------------------------------------------------------------
// eastmasonville wxrecord.php tags
$recordhightemp = '40.8';
$recordlowtemp = '4.1';
$recordhighheatindex = '42.1';
$recordlowchill = '-6.2';
$warmestdayonrecord = '34.2°C  on: 12 Apr 2012';
$warmestnightonrecord = '23.1°C  on: 06 Mar 2009';
$coldestdayonrecord = '10.1°C  on: 20 Jul 2011';
$coldestnightonrecord = '8.3°C  on: 05 Jul 2011';
$recordwindgust = '45.2';
$recordwindspeed = '149.9';
$recordhighwindrun = '41828.3';
$recorddailyrain = '32.1';
$recordhighrainmth = '86.4';
$recordrainrate = '10.0';
$recorddayswithrain = '47';
$recorddaysnorain = '114';
$recordhighdew = '23.2';
$recordlowdew = '-25.5';
$recordhighhum = '100';
$recordlowhum = '3';
$recordhighbaro = '1032.5';
$recordlowbaro = '801.6';
$recordhighsolar = '1626.0';
$recordhightempmonth = '10';
$recordhightempday = '19';
$recordhightempyear = '2009';
$recordlowtempmonth = '7';
$recordlowtempday = '12';
$recordlowtempyear = '2010';
$recordhighheatindexmonth = '3';
$recordhighheatindexday = '6';
$recordhighheatindexyear = '2009';
$recordlowchillmonth = '7';
$recordlowchillday = '4';
$recordlowchillyear = '2011';
$recordhighgustmonth = '8';
$recordhighgustday = '10';
$recordhighgustyear = '2010';
$recordhighavwindmonth = '5';
$recordhighavwindday = '31';
$recordhighavwindyear = '2011';
$recordhighwindrunmth = '6';
$recordhighwindrunday = '30';
$recordhighwindrunyr = '2010';
$recorddailyrainmonth = '11';
$recorddailyrainday = '24';
$recorddailyrainyear = '2009';
$recordhighrainmthmth = '2';
$recordhighrainmthyr = '2009';
$recordrainratemonth = '2';
$recordrainrateday = '7';
$recordrainrateyear = '2009';
$recorddayswithrainmonth = '9';
$recorddayswithrainday = '22';
$recorddayswithrainyear = '2010';
$recorddaysnorainmonth = '1';
$recorddaysnorainday = '18';
$recorddaysnorainyear = '2013';
$recordhighdewmonth = '3';
$recordhighdewday = '8';
$recordhighdewyear = '2010';
$recordlowdewmonth = '1';
$recordlowdewday = '13';
$recordlowdewyear = '2010';
$recordhighhummonth = '12';
$recordhighhumday = '19';
$recordhighhumyear = '2008';
$recordlowhummonth = '1';
$recordlowhumday = '13';
$recordlowhumyear = '2010';
$recordhighbaromonth = '6';
$recordhighbaroday = '15';
$recordhighbaroyear = '2010';
$recordlowbaromonth = '9';
$recordlowbaroday = '10';
$recordlowbaroyear = '2008';
$recordhighsolarmonth = '12';
$recordhighsolarday = '20';
$recordhighsolaryear = '2010';
$recordhighuv = '0.0';
$recordhighuvmonth = '8';
$recordhighuvday = '27';
$recordhighuvyear = '2008';

$yrecordhighheatindex = '23.4';
$yrecordhighheatindexmonth = '1';
$yrecordhighheatindexday = '16';
$yrecordhighheatindexyear = '2013';
$ywarmestdayonrecord = '20.4°C  on: 17 Jan 2013';
$ywarmestnightonrecord = '19.9°C  on: 01 Jan 2013';
$ycoldestdayonrecord = '16.6°C  on: 12 Jan 2013';
$ycoldestnightonrecord = '14.3°C  on: 12 Jan 2013';
$yrecordhighwindrun = '521.3';
$yrecordhighwindrunmth = '1';
$yrecordhighwindrunday = '14';
$yrecordhighwindrunyr = '2013';
$yrecorddailyrain = '0.0';
$yrecordhighrainmth = '0.0';
$yrecordrainrate = '0.0';
$yrecorddayswithrain = '0';
$yrecorddaysnorain = '114';
$yrecordhighdew = '20.1';
$yrecordlowdew = '10.0';
$yrecordhighhum = '100';
$yrecordlowhum = '63';
$yrecorddailyrainmonth = '1';
$yrecorddailyrainday = '9';
$yrecorddailyrainyear = '2013';
$yrecordhighrainmthmth = '3';
$yrecordhighrainmthyr = '2012';
$yrecordrainratemonth = '1';
$yrecordrainrateday = '9';
$yrecordrainrateyear = '2013';
$yrecorddayswithrainmonth = '1';
$yrecorddayswithrainday = '1';
$yrecorddaysnorainmonth = '1';
$yrecorddaysnorainday = '18';
$yrecordhighdewmonth = '1';
$yrecordhighdewday = '17';
$yrecordhighdewyear = '2013';
$yrecordlowdewmonth = '1';
$yrecordlowdewday = '11';
$yrecordlowdewyear = '2013';
$yrecordhighhummonth = '1';
$yrecordhighhumday = '18';
$yrecordhighhumyear = '2013';
$yrecordlowhummonth = '1';
$yrecordlowhumday = '10';
$yrecordlowhumyear = '2013';
$yrecordhighsolar = '1461.0';
$yrecordhighsolarmonth = '1';
$yrecordhighsolarday = '13';
$yrecordhighsolaryear = '2013';
$yrecordhighuv = '0.0';
$yrecordhighuvmonth = '8';
$yrecordhighuvday = '27';
$yrecordhighuvyear = '2008';

$mrecordhighheatindex = '23.4';
$mrecordhighheatindexmonth = '1';
$mrecordhighheatindexday = '16';
$mrecordhighheatindexyear = '2013';
$mrecordhighwindrun = '521.3';
$mrecordhighwindrunmth = '1';
$mrecordhighwindrunday = '14';
$mrecordhighwindrunyr = '2013';
$mrecorddailyrain = '0.0';
$mrecordhighrainmth = '0.0';
$mrecordrainrate = '0.0';
$mrecorddayswithrain = '0';
$mrecorddaysnorain = '114';
$mrecordhighdew = '20.1';
$mrecordlowdew = '10.0';
$mrecordhighhum = '100';
$mrecordlowhum = '63';
$mrecorddailyrainmonth = '1';
$mrecorddailyrainday = '9';
$mrecorddailyrainyear = '2013';
$mrecordhighrainmthmth = '10';
$mrecordhighrainmthyr = '2012';
$mrecordrainratemonth = '1';
$mrecordrainrateday = '9';
$mrecordrainrateyear = '2013';
$mrecorddayswithrainmonth = '1';
$mrecorddayswithrainday = '1';
$mrecorddaysnorainmonth = '1';
$mrecorddaysnorainday = '18';
$mrecordhighdewmonth = '1';
$mrecordhighdewday = '17';
$mrecordhighdewyear = '2013';
$mrecordlowdewmonth = '1';
$mrecordlowdewday = '11';
$mrecordlowdewyear = '2013';
$mrecordhighhummonth = '1';
$mrecordhighhumday = '18';
$mrecordhighhumyear = '2013';
$mrecordlowhummonth = '1';
$mrecordlowhumday = '10';
$mrecordlowhumyear = '2013';
$myrecordhighbaromonth = '1';
$mrecordhighsolar = '1461.0';
$mrecordhighsolarmonth = '1';
$mrecordhighsolarday = '13';
$mrecordhighsolaryear = '2013';
$mrecordhighuv = '0.0';
$mrecordhighuvmonth = '8';
$mrecordhighuvday = '27';
$mrecordhighuvyear = '2008';
// end of eastmasonville wxrecord.php tags
// ----------------------------------------------------------------------------------------------------
// other addons
$vpissstatus = 'Ok';      // VP ISS Status
$vpreception2 = '98%'; // VP Current reception %  *** NEW IN V1.01
$vpconsolebattery = '4.2'; // VP Console Battery Volts *** NEW IN V1.01
$firewi = '15.7'; // Fire Weather Index
$avtempweek = '17.7';    // Average Weekly Temp
$hddday = '0.3';        // Heating Degree for day
$hddmonth = '9.4';    // Heating Degree for month to date
$hddyear = '9.4';    // Heating Degree for year to date
$cddday = '0.0';        // Cooling Degree for day
$cddmonth = '16.2';    // Cooling Degree for month to date
$cddyear = '16.2';    // Cooling Degree for year to date
$minchillweek = '10.8';  // Minimum Wind Chill over past 7 days 
$maxheatweek = '24.0';  // Maximum Heat Index for the Week *** NEW IN V2.00
$airdensity = '1.198';  //air density
$solarnoon = '13:04'; // Solar noon
$changeinday = '-00:03';  // change in day length since yesterday
$etcurrentweek = '22.7'; // ET total for the last 7 days
$sunshinehourstodateday = '00:08';
$sunshinehourstodatemonth = '26:32';
$maxsolarfortime = '1273';
$wetbulb = '17.9°C';
$lighteningcountlasthour = '0';
$lighteningcountlastminute = '0';
$lighteningcountlast5minutes = '0';
$lighteningcountlast12hour = '0';
$lighteningcountlast30minutes = '0';
$lighteningcountlasttime = '';
$lighteningcountmonth = '0';
$lighteningcountyear = '0';
$chandler = '-0.8';
$maxdew = '17.9 °C';
$maxdewt = '11:56';
$mindew = '16.5 °C';
$mindewt = '09:03';
$maxdewyest = '20.1 °C';
$maxdewyestt = '10:43';
$mindewyest = '17.1 °C';
$mindewyestt = '23:24';
$stationname = 'DW0744';
$raindifffromav = '---';
$raindifffromavyear = '3.5';
$gddmonth = '158.7';
$gddyear = '158.7';
$maxheat = '19.4 °C';
$maxheatt = '13:57'; 
$maxheatyest = '22.6 °C';  
$yeartodateavtemp = '18.7'; 
$monthtodateavtemp = '18.7'; 
$maxchillyest = '22.6 °C'; 
$monthtodatemaxgust = '31.0'; 
$monthtodateavspeed = '10.1'; // MTD average wind speed
$monthtodateavgust = '11.9'; //MTD average wind gust
$yeartodateavwind = '10.1'; // YTD average wind speed
$yeartodategstwind = '11.9'; // YTD avg wind gust
$lowbaro = '1010.6 mb';
$lowbarot = '03:33';
$monthtodatemaxbaro = '1017.0'; // MTD average wind speed
$monthtodateminbaro = '1006.8'; //MTD average wind gust
$sunshinehourstodateyear = '26:32'; 
$sunshineyesterday = '00:59';
$avtempsincemidnight = '17.8';
$yesterdayavtemp = '19.5';
$avgspeedsincereset = '5.9';
$maxheatyestt = '11:45';
$windrunyesterday = '205.23';
$currentwdet = '2.3';
$yesterdaywdet = '2.7';
$highhum = '100';
$highhumt = '07:55';
$lowhum = '88';
$lowhumt = '14:06';
$maxhumyest = '97';
$maxhumyestt = '08:43';
$minhumyest = '82';
$minhumyestt = '11:47';
$recordhightempjan = '25.9';
$recordlowtempjan = '11.9';
$recordhightempfeb = '26.3';
$recordlowtempfeb = '12.8';
$recordhightempmar = '40.1';
$recordlowtempmar = '10.9';
$recordhightempapr = '40.2';
$recordlowtempapr = '7.1';
$recordhightempmay = '36.1';
$recordlowtempmay = '4.8';
$recordhightempjun = '33.8';
$recordlowtempjun = '4.2';
$recordhightempjul = '32.9';
$recordlowtempjul = '4.1';
$recordhightempaug = '32.2';
$recordlowtempaug = '5.6';
$recordhightempsep = '34.1';
$recordlowtempsep = '5.3';
$recordhightempoct = '40.8';
$recordlowtempoct = '5.7';
$recordhightempnov = '23.6';
$recordlowtempnov = '9.8';
$recordhightempdec = '27.2';
$recordlowtempdec = '11.9';
// end of other addons
// end of testtags.txt/testtags.php
?>
Oranjemund Weather - All-Time Weather Records

All-Time Weather Records

All Data Collected Since 17th Of October 2007
 

All-Time Temperature Records

Highest Temperature °C ..
Lowest Temperature °C ..
Temperature Difference 0°C
Highest Heat Index °C ..
Lowest Wind Chill °C ..
Warmest Day (06 - 18)
Warmest Night (18 - 06)
Coldest Day (06 - 18)
Coldest Night (18 - 06)
 
 

All-Time Wind Records

Highest Wind Gust Kts ..
Highest Average Speed Kts ..
Highest Daily Wind Run km ..
 

All-Time Precipitation Records

Highest Daily Precipitation mm ..
Highest Monthly Precipitation mm .
Highest Precipitation Rate mm/min ..
Consecutive Days With > 0.5mm Precipitation                                               Ending: ..
Consecutive Days Without Precipitation                                             Ending: ..
 

All-Time Humidity Records

Highest Dewpoint °C ..
Lowest Dewpoint °C ..
Highest Humidity % ..
Lowest Humidity % ..
 

All-Time Barometer Records

Highest Pressure hPa ..
Lowest Pressure hPa ..
 

All-Time Sun Records

Highest Solar Radiation W/m² ..
Highest UV Index ..