//
//
// 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 = "78.9°F"; // temperature
$tempnodp = '79'; // temperature, no decimal place
$humidity = "58"; // humidity
$dewpt = "62.9 °F"; // dew point
$maxtemp = "89.6°F"; // today's maximum temperature
$maxtempt = "12:00 AM"; // time this occurred
$mintemp = "74.1°F"; // today's minimum temperature
$mintempt = "7:30 AM"; // time this occurred
// VP soil temperature)
$feelslike = "80"; // Shows heat index or humidex or windchill (if less than 16oC)
$heati = "80.4°F"; // current heat index
$heatinodp = "80"; // current heat index,no decimal place
$windch = "76.6°F"; // current wind-chill
$windchnodp = "77°F"; // current wind-chill, no decimal place
$humidexfaren = "88.6°F"; // Humidex value in oF
$humidexcelsius = "31.5°C"; // Humidex value in oC
$apparenttemp = "78.6"; // Apparent temperature
$apparentsolartemp = "78.6"; // Apparent temperature in the sun (you need a solar sensor)
$apparenttempc = "25.9"; // Apparent temperature, °C
$apparentsolartempc = "25.9"; // Apparent temperature in the sun, °C (you need a solar sensor)
$apparenttempf = "78.6"; // Apparent temperature, °F
$apparentsolartempf = "78.6"; // Apparent temperature in the sun, °F (you need a solar sensor)
//
// Yesterday:
// ----------
$tempchangehour = "-1.1 °F/last hr"; // Temperature change in the last hour
$maxtempyest = "89.6 °F"; // Yesterday's max temperature
$maxtempyestt = "12:00 AM"; // Time of yesterday's max temperature
$mintempyest = "75.7 °F"; // Yesterday's min temperature
$mintempyestt = "3:16 AM"; // Time of yesterday's min temperature
//
//
// Trends:
// -------
$temp24hoursago = "81.9"; // The temperature 24 hours ago
$humchangelasthour = "+ 2"; // Humidity change last hour
$dewchangelasthour = "-0.5"; // Dew point change last hour
$barochangelasthour = "0.0"; // Baro change last hour
//
// Wind
// ====
// Current:
// --------
//
$avgspd = "8.3 mph"; // average wind speed (current)
$gstspd = "8.3 mph"; // current/gust wind speed
$maxgst = "18.3 mph"; // today's maximum wind speed
$maxgstt = "10:36 AM"; // time this occurred
$maxgsthr = "13.8 mph SE"; // maximum gust last hour
$dirdeg = "73 °"; // wind direction (degrees)
$dirlabel = "ENE"; // wind direction (NNE etc)
//$maxgustlastimediatehourtime = "3:42PM"; // 3:42PM time that the max gust last prior 1 hour occured
$avwindlastimediate10 = "9.2 mph"; // Average wind for the last immediate 10 minute period
// $avdir10minute = "107°"; // average ten minute wind direction (degrees)
$beaufortnum ='3'; //Beaufort wind force number
$currbftspeed = '3 bft'; //Current Beaufort wind speed
$bftspeedtext = 'Gentle Breeze'; //Beaufort scale in text (i.e Fresh Breeze)
//
// Yesterday:
// ----------
//
//
// Baromometer
// ===========
// Current:
// --------
$baro = '1016.0 mb'; // current barometer
$baroinusa2dp = "30.00 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 = "Falling"; // pressure trend (i.e. "falling"), last 3 hours
$vpforecasttext = ''; // Forecast text from the Davis VP
//
//
// Yesterday:
// ----------
//
// Rain
// ====
// Current:
// --------
$dayrn = "0.02 in."; // today's rain
$monthrn = "156.85 in."; // rain so far this month
$yearrn = "156.85 in."; // rain so far this year
$dayswithnorain = "0"; // Consecutative days with no rain
$dayswithrain = "1"; // Days with rain for the month
$dayswithrainyear = "1"; // Days with rain for the year
$currentrainratehr = "0.00"; // Current rain rate, mm/hr (or in./hr)
$maxrainrate = "0.008"; // Max rain rate,for the day, mm/min (or in./min)
$maxrainratehr = "0.472"; // Max rain rate,for the day, mm/hr (or in.mm)
$maxrainratetime = "4:11 AM"; // Time that occurred
// Yesterday:
// ----------
$yesterdayrain = "0.00 in."; // Yesterday rain
//
$vpstormrainstart = '0/0/0'; //Davis VP Storm rain start date
$vpstormrain = '0.00 .in'; //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 = "0"; // Daily high solar (for Davis VP and Grow stations)
$highuv = "-1.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 = "12:00 AM"; // Time that the daily high solar occured
$lowsolartime = "12:00 AM"; // Time that the daily low solar occured
$highuvtime = ""; // Time that the daily high UV occured
$lowuvtime = ""; // Time that the daily low UV occured
$highuvyest = "-1.0"; // Yesterday's high UV
$highuvyesttime = ""; // 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 = "18.3"; // All time record high wind gust
$mrecordhighgustday = "28"; // 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.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 rainning
$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 = "3670"; // Estimated cloud base height, feet, (based on dew point, and you height above sea level...enter
$cloudheightmeters = "1119"; // Estimated cloud base height, metres, (based on dew point, and you height above sea
// end of generation script
// baroinmetric '1016.0'
// baro '1016.0 mb'
?>