//
//
// Averages/Extreme
// ================
//
//
// month and then the year numbers
// e.g for the average temperature for 8am (use a 24 hour clock) (hour preceding that, for the
//
// month of March 2003)
//
// month and then the year numbers
//
//
//
//
// (total for the current month)
//
// current month as total) (from your entered averages)
//
//
//
//
//
//
//
//
//
// Temperature/Humidity
// ====================
// Current:
// --------
$temperature = "11.8°C"; // temperature
$tempnodp = '12'; // temperature, no decimal place
$humidity = "86"; // humidity
$dewpt = "9.5°C"; // dew point
$maxtemp = "13.3°C"; // today's maximum temperature
$maxtempt = "3:06 PM"; // time this occurred
$mintemp = "7.1°C"; // today's minimum temperature
$mintempt = "7:07 AM"; // time this occurred
// VP soil temperature)
$feelslike = "11"; // Shows heat index or humidex or windchill (if less than 16oC)
$heati = "11.8°C"; // current heat index
$heatinodp = "12"; // current heat index,no decimal place
$windch = "11.4°C"; // current wind-chill
$windchnodp = "11°C"; // current wind-chill, no decimal place
$humidexfaren = "55.2°F"; // Humidex value in oF
$humidexcelsius = "12.9°C"; // Humidex value in oC
$apparenttemp = "10.8"; // Apparent temperature
$apparentsolartemp = "10.8"; // Apparent temperature in the sun (you need a solar sensor)
$apparenttempc = "10.8"; // Apparent temperature, °C
$apparentsolartempc = "10.8"; // Apparent temperature in the sun, °C (you need a solar sensor)
$apparenttempf = "51.4"; // Apparent temperature, °F
$apparentsolartempf = "51.4"; // Apparent temperature in the sun, °F (you need a solar sensor)
//
// Yesterday:
// ----------
$tempchangehour = "+0.2 °C/last hr"; // Temperature change in the last hour
$maxtempyest = "14.7 °C"; // Yesterday's max temperature
$maxtempyestt = "2:00 PM"; // Time of yesterday's max temperature
$mintempyest = "8.5 °C"; // Yesterday's min temperature
$mintempyestt = "2:23 AM"; // Time of yesterday's min temperature
//
//
// Trends:
// -------
$temp24hoursago = "9.3"; // The temperature 24 hours ago
$humchangelasthour = "-6"; // Humidity change last hour
$dewchangelasthour = "-0.8"; // Dew point change last hour
$barochangelasthour = "0.0"; // Baro change last hour
//
// Wind
// ====
// Current:
// --------
//
$avgspd = "4.0 mph"; // average wind speed (current)
$gstspd = "6.2 mph"; // current/gust wind speed
$maxgst = "13.2 mph"; // today's maximum wind speed
$maxgstt = "5:26 PM"; // time this occurred
$maxgsthr = "10.0 mph SSE"; // maximum gust last hour
$dirdeg = "225 °"; // wind direction (degrees)
$dirlabel = "SW"; // wind direction (NNE etc)
//$maxgustlastimediatehourtime = "10:01AM"; // 10:01AM time that the max gust last prior 1 hour occured
$avwindlastimediate10 = "5.2 mph"; // Average wind for the last immediate 10 minute period
// $avdir10minute = "159°"; // average ten minute wind direction (degrees)
$beaufortnum ='2'; //Beaufort wind force number
$currbftspeed = '2 bft'; //Current Beaufort wind speed
$bftspeedtext = 'Light Breeze'; //Beaufort scale in text (i.e Fresh Breeze)
//
// Yesterday:
// ----------
//
//
// Baromometer
// ===========
// Current:
// --------
$baro = '1009.0 mb'; // current barometer
$baroinusa2dp = "29.80 inches"; // Current barometer reading in inches, 2 decimal places only.
$trend = "+0.0 mb/hr"; // amount of change in the last hour
$pressuretrendname = "Steady"; // pressure trend (i.e. "falling"), last hour
$pressuretrendname3hour = "Rising rapidly"; // pressure trend (i.e. "falling"), last 3 hours
$vpforecasttext = ''; // Forecast text from the Davis VP
//
//
// Yesterday:
// ----------
//
// Rain
// ====
// Current:
// --------
$dayrn = " 15.4 mm"; // today's rain
$monthrn = "41.0 mm"; // rain so far this month
$yearrn = "41.0 mm"; // rain so far this year
$dayswithnorain = "0"; // Consecutative days with no rain
$dayswithrain = "8"; // Days with rain for the month
$dayswithrainyear = "57"; // Days with rain for the year
$currentrainratehr = "0.0"; // Current rain rate, mm/hr (or in./hr)
$maxrainrate = "0.6"; // Max rain rate,for the day, mm/min (or in./min)
$maxrainratehr = "36.0"; // Max rain rate,for the day, mm/hr (or in.mm)
$maxrainratetime = "6:54 AM"; // Time that occurred
// Yesterday:
// ----------
$yesterdayrain = " 3 mm"; // Yesterday rain
//
$vpstormrainstart = '0/0/0'; //Davis VP Storm rain start date
$vpstormrain = '0.0 mm'; //Davis VP Storm rain value
//
//
// Over the last Week
// ------------------
//
//
// Sunshine/Solar/ET
// =================
$VPsolar = "0"; // Solar energy number (W/M2)
$VPuv = "0.0"; // UV number
$highsolar = "-1"; // Daily high solar (for Davis VP and Grow stations)
$highuv = "2.0"; // Daily high UV (for Davis VP stations)
$currentsolarpercent = " 0 %"; // Current solar percent for stations with a temperature solar sensor (like the dallas 1 wire)
$highsolartime = ""; // Time that the daily high solar occured
$lowsolartime = ""; // Time that the daily low solar occured
$highuvtime = "2:26 PM"; // Time that the daily high UV occured
$lowuvtime = "0:00"; // Time that the daily low UV occured
$highuvyest = "3.0"; // Yesterday's high UV
$highuvyesttime = "12:33 PM"; // 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 = "15.0"; // All time record high wind gust
$mrecordhighgustday = "16"; // Day of record high wind gust
//
//
// Current weather warning/forecast from input daily weather
// ---------------------------------------------------------
//
// GPS
// ---
//
//
//
// History data
// ------------
//
//
//
//
//
//
//
//
//
//
//
//
// repeat up to
//
//
//
//
// 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"; // 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 = '5'; // icon number
$current_icon = $icon_array[5]; // name of our condition icon
// ----------------------------------------------------------------------------------
// $current_summary = 'Dry' . "
" . 'Day time ';
$weathercond = 'Dry';
$Currentsolardescription = 'Day time ';
$current_summary = $Currentsolardescription;
$current_summary = preg_replace('|^/[^/]+/|','',$current_summary);
$current_summary = preg_replace('|\\\\|',", ",$current_summary);
$current_summary = preg_replace('|/|',", ",$current_summary);
//
//
//
$cloudheightfeet = "1229"; // Estimated cloud base height, feet, (based on dew point, and you height above sea level...enter
$cloudheightmeters = "375"; // Estimated cloud base height, metres, (based on dew point, and you height above sea
// end of generation script
// baroinmetric '1009.0'
// baro '1009.0 mb'
?>