is today's high temperature, // and is today's low temperature; is the time at which today's high // temperature occurred, and so on. The full list of this set of tags follows; you should be able to // work out what they represent from their names: // ==================================================================================================================== $tempTH = "10.9"; // today's high temperature $TtempTH = "15:04"; // time at which today's high temperature occured $tempTL = "2.8"; // today's low temperature $TtempTL = "00:00"; // time at which today's low temperature occured $tempYH = "7.8"; // yesterday's highs $TtempYH = "02:00"; // time at which yesterday's high temperature occured $tempYL = "2.6"; // yesterday's lows $TtempYL = "22:43"; // time at which yesterday's low temperature occured $apptempTH = "9.6"; // today's highest apparent temperature $TapptempTH = "15:47"; // time at which today's highest apparent temperature occured $apptempTL = "-0.3"; // today's lowest apparent temperature $TapptempTL = "00:30"; // time at which today's lowest apparent temperature occured $apptempYH = "6.0"; // today's highest apparent temperature $TapptempYH = "00:34"; // time at which today's highest apparent temperature occured $apptempYL = "-0.1"; // today's lowest apparent temperature $TapptempYL = "23:59"; // time at which today's lowest apparent temperature occured $heatindexTH = "10.9"; // today's highest index temperature $TheatindexTH = "15:04"; // time at which today's highest heat index temperature occured $heatindexYH = "7.8"; // yesterday's highest index temperature $TheatindexYH = "02:00"; // time at which yesterday's highest heat index temperature occured $humTH = "97"; // today's high humidity $ThumTH = "02:45"; // time at which today's high humidity occured $humTL = "90"; // today's low humidity $ThumTL = "08:22"; // time at which today's low humidity occured $humYH = "95"; // yesterday's high humidity $ThumYH = "23:21"; // time at which yesterday's high humidity occured $humYL = "67"; // yesterday's low humidity $ThumYL = "14:49"; // time at which yesterday's low humidity occured $pressTH = "1014.23"; // today's high pressure $TpressTH = "00:00"; // time at which today's high pressure occured $pressTL = "1008.03"; // today's low pressure $TpressTL = "14:02"; // time at which today's low pressure occured $pressYH = "1018.76"; // yesterday's high pressure $TpressYH = "18:18"; // time at which yesterday's high pressure occured $pressYL = "1001.05"; // yesterday's low pressure $TpressYL = "00:00"; // time at which yesterday's low pressure occured $windTM = "13.5"; // today's high wind $TwindTM = "14:27"; // time at which today's low wind occured $windYM = "9.7"; // yesterday's high wind $TwindYM = "08:55"; // time at which yesterday's low wind occured $wgustTM = "36.8"; // today's high wind gust $TwgustTM = "09:45"; // time at which today's high wind gust occured $wgustYM = "29.6"; // yesterday's high wind gust $TwgustYM = "03:35"; // time at which yesterday's high wind gust occured $wchillTL = "0.6"; // today's lowest windchill $wchillYL = "1.1"; // yesterday's lowest windchill $TwchillTL = "01:01"; // Time of today's lowest windchill $TwchillYL = "23:59"; // Time of yesterday's lowest windchill $dewpointTL = "2.1"; // today's lowest dewpoint $dewpointYL = "0.4"; // yesterday's lowest dewpoint $dewpointTH = "9.8"; // today's highest dewpoint $dewpointYH = "5.9"; // yesterday's highest dewpoint $TdewpointTL = "00:01"; // Time of today's lowest dewpoint $TdewpointYL = "12:19"; // Time of yesterday's lowest dewpoint $TdewpointTH = "15:09"; // Time of today's highest dewpoint $TdewpointYH = "00:30"; // Time of yesterday's highest dewpoint $rrateTM = "4.6"; // today's high rainfall rate $TrrateTM = "13:13"; // time at which today's high rainfall rate occured $rrateYM = "0.2"; // yesterday's high rainfall rate $TrrateYM = "00:15"; // time at which yesterday's high rainfall rate occured $hourlyrainTH = "1.4"; // today's highest rain rain per hour $hourlyrainYH = "0.4"; // yesterday's highest rain rain per hour $ThourlyrainTH = "15:19"; // time of today's highest rain rain per hour $ThourlyrainYH = "21:44"; // time of yesterday's highest rain rain per hour $bearingTM = "244"; // time at which the current wind bearing occured $bearingYM = "289"; // yesterday's wind bearing $Tbeaufort = "F3"; // today's high beaufort (wind speed) $Ybeaufort = "F2"; // yesterday's high beaufort (wind speed) $chillhours = "1573.9"; // The number of 'chill hours' so far this season. $ConsecutiveRainDays = "7"; // The number of days up to (but not including) today where it has rained every day. The threshold amount of rain required to determine a rain day is configurable via the RainDayThreshold setting in cumulus.ini, the units for the threshold are the same as your rain units $ConsecutiveDryDays = "0"; // The number of days up to (but not including) today since it last rained. The threshold amount of rain required to determine a rain day is configurable via the RainDayThreshold setting in cumulus.ini the units for the threshold are the same as your rain units $WindRoseData = "0.0,0.0,0.0,0.0,0.0,0.0,0.0,518.1,5475.9,8839.9,8244.5,3643.5,566.8,356.7,0.0,0.0"; // A comma-separated list of the wind 'totals' used to draw the wind rose (8 or 16 values) $WindRosePoints = "16"; // The number of items in 0.0,0.0,0.0,0.0,0.0,0.0,0.0,518.1,5475.9,8839.9,8244.5,3643.5,566.8,356.7,0.0,0.0 (i.e. 8 or 16) $WindSampleCount = "3600"; // The number of wind samples making up the wind rose (etc) data (up to 3600) $LatestNOAAMonthlyReport = "NOAAMO0118.txt"; // Gives file name of latest auto-saved NOAA monthly report $LatestNOAAYearlyReport = "NOAAYR2018.txt"; // Gives file name of latest auto-saved NOAA yearly report // This Month Highs & Lows: // ==================================================================================================================== // This months High temperature $MonthTempH = '12.4 °C le 05 à 12:43'; $MonthTempHD = "05 janvier"; // Day when this months High temperature occured $MonthTempHT = "12:43"; // Time when this months High temperature occured // This months Low temperature $MonthTempL = '-3.6 °C le 14 à 07:55'; $MonthTempLD = "14 janvier"; // Day when this months Low temperature occured $MonthTempLT = "07:55"; // Time when this months Low temperature occured // This Months Highest Heat Index temperature $MonthHeatIndexH = '12.4 °C le 05 à 12:43'; $MonthHeatIndexHD = "05 janvier"; // Day when this months Highest Heat Index temperature occured $MonthHeatIndexHT = "12:43"; // Time when this months Highest Heat Index temperature occured // This months Lowest Wind Chill temperature $MonthWChillL = '-3.6 °C le 14 à 07:55'; $MonthWChillLD = "14 janvier"; // Day when this months Lowest Wind Chill temperature occured $MonthWChillLT = "07:55"; // Time when this months Lowest Wind Chill temperature occured // This Months Highest Apparent temperature $MonthAppTempH = '11.0 °C le 05 à 12:39'; $MonthAppTempHD = "05 janvier"; // Day when this months Highest Apparent temperature occured $MonthAppTempHT = "12:39"; // Time when this months Highest Apparent temperature occured // This Months Lowest Apparent temperature $MonthAppTempL = '-6.1 °C le 14 à 07:55'; $MonthAppTempLD = "14 janvier"; // Day when this months Lowest Apparent temperature occured $MonthAppTempLT = "07:55"; // Time when this months Lowest Apparent temperature occured // This Months Highest Dew Point temperature $MonthDewPointH = '10.9 °C le 04 à 13:47'; $MonthDewPointHD = "04 janvier"; // Day when this months Highest Dew Point temperature occured $MonthDewPointHT = "13:47"; // Time when this months Highest Dew Point temperature occured // This Months Lowest Dew Point temperature $MonthDewPointL ='-6.3 °C le 06 à 12:12'; $MonthDewPointLD = "06 janvier"; // Day when this months Lowest Dew Point temperature occured $MonthDewPointLT = "12:12"; // Time when this months Lowest Dew Point temperature occured // This months Highest Daily Minimum temperature occured $MonthMinTempH = '8.0 °C le 05'; $MonthMinTempHD = "05 janvier"; // Day when this months Highest Daily Minimum temperature occured // This months Lowest Daily Maximum temperature occured $MonthMaxTempL = '4.4 °C le 14'; $MonthMaxTempLD = "14 janvier"; // Time & Day when this months Lowest Daily Maximum temperature occured $MonthPressH = '1025.16 mb le 12 à 21:47'; $MonthPressHD = "12 janvier"; // Day when this months Highest Pressure occured $MonthPressHT = "21:47"; // Time when this months Highest Pressure occured $MonthPressL = '997.50 mb le 03 à 09:02'; $MonthPressLD = "03 janvier"; // Day when this months Lowest Pressure occured $MonthPressLT = "09:02"; // Time when this months Lowest Pressure occured $MonthHumH = '99% le 14 à 11:55'; $MonthHumHD = "14 janvier"; // Day when this months Highest Humidity occured $MonthHumHT = "11:55"; // Time when this months Highest Humidity occured $MonthHumL = '34% le 06 à 12:11'; $MonthHumLD = "06 janvier"; // Day when this months Lowest Humidity occured $MonthHumLT = "12:11"; // Time when this months Lowest Humidity occured $MonthGustH = '65.6 km/h le 03 à 06:58'; $MonthGustHD = "03 janvier"; // Day when this months Highest Gust occured $MonthGustHT = "06:58"; // Time when this months Highest Gust occured $MonthWindH = '26.4 km/h le 03 à 10:45'; $MonthWindHD = "03 janvier"; // Day when this months Highest Gust occured $MonthWindHT = "10:45"; // Time when this months Highest Gust occured $MonthRainRateH = '11.6 mm/h le 03 à 09:33'; $MonthRainRateHD = "03 janvier"; // Day when this months Highest Rain Rate occured $MonthRainRateHT = "09:33"; // Time when this months Highest Rain Rate occured $MonthHourlyRainH = '3.2 mm le 03 à 10:11'; $MonthHourlyRainHD = "03 janvier"; // Day when this months Highest Hourly Rain occured $MonthHourlyRainHT = "10:11"; // Time when this months Highest Hourly Rain occured $MonthDailyRainH = '11388.0 mm le 03'; $MonthDailyRainHD = "03 janvier"; // Time & Day when this months Highest Daily Rain occured $MonthHighDailyTempRange = "8.5 °C"; // High Daily Temp Range this month $MonthHighDailyTempRangeD = ' le 13'; // Date of High Daily Temp Range $MonthLowDailyTempRange = "3.5 °C"; // Low Daily Temp Range this Month $MonthLowDailyTempRangeD = ' le 12'; // Date of Low Daily Remp Range //$MonthWindRunH = "320.9"; // High Daily Wind Run in Month $MonthWindRunH = '320.9 km le 03'; $MonthWindRunHD = "03 janvier"; // Date of Highest Daily Wind Run in Month $MonthLongestDryPeriod = "3"; // Longest dry period ending this month (days) $MonthLongestDryPeriodD = "14 janvier"; // Date of longest dry period this month $MonthLongestWetPeriod = "9"; // Longest period of rain every day, ending this month (days) $MonthLongestWetPeriodD = "06 janvier"; // Date of longest rain period this month // This Year's Highs & Lows: // ==================================================================================================================== $YearTempH = '12.4 °C le 05 janvier à 12:43'; $YearTempHD = "05 janvier"; // Day & Month when this Year's High temperature occured $YearTempHT = "12:43"; // Time when this Year's High temperature occured $YearTempL = '-3.6 °C le 14 janvier à 07:55'; $YearTempLD = "14 janvier"; // Day & Month when this Year's Low temperature occured $YearTempLT = "07:55"; // Time when this Year's Low temperature occured //$YearHeatIndexH = "12.4"; // This Year's Highest Heat Index temperature $YearHeatIndexH = '12.4 °C le 05 janvier à 12:43'; $YearHeatIndexHD = "05 janvier"; // Day & Month when this Year's Highest Heat Index temperature occured $YearHeatIndexHT = "12:43"; // Time when this Year's Highest Heat Index temperature occured $YearWChillL = '-3.6 °C le 14 janvier à 07:55'; $YearWChillLD = "14 janvier"; // Day & Month when this Year's Lowest Wind Chill temperature occured $YearWChillLT = "07:55"; // Time when this Year's Lowest Wind Chill temperature occured $YearAppTempH = '11.0 °C le 05 janvier à 12:39'; //$YearAppTempH = "11.0"; // This Year's Highest Apparent temperature $YearAppTempHD = "05 janvier"; // Day & Month when this Year's Highest Apparent temperature occured $YearAppTempHT = "12:39"; // Time when this Year's Highest Apparent temperature occured $YearAppTempL = '-6.1 °C le 14 janvier à 07:55'; //$YearAppTempL = "-6.1"; // This Year's Lowest Apparent temperature $YearAppTempLD = "14 janvier"; // Day & Month when this Year's Lowest Apparent temperature occured $YearAppTempLT = "07:55"; // Time when this Year's Lowest Apparent temperature occured //$YearDewPointH = "10.9"; // This Year's Highest Dew Point temperature $YearDewPointH = '10.9 °C le 04 janvier à 13:47'; $YearDewPointHD = "04 janvier"; // Day & Month when this Year's Highest Dew Point temperature occured $YearDewPointHT = "13:47"; // Time when this Year's Highest Dew Point temperature occured $YearDewPointL = '-6.3 °C le 06 janvier à 12:12'; //$YearDewPointL = "-6.3"; // This Year's Lowest Dew Point temperature $YearDewPointLD = "06 janvier"; // Day & Month when this Year's Lowest Dew Point temperature occured $YearDewPointLT = "12:12"; // Time when this Year's Lowest Dew Point temperature occured $YearMinTempH = '8.0 °C le 05 janvier'; $YearMinTempHD = "05 janvier"; // Day & Month when this Year's Highest Daily Minimum temperature occured $YearMaxTempL = '4.4 °C le 14 janvier'; $YearMaxTempLD = ""; // Day & Month when this Year's Lowest Daily Maximum temperature occured $YearPressH = '1025.16 mb le 12 janvier à 21:47'; $YearPressHD = "12 janvier"; // Day & Month when this Year's Highest Pressure occured $YearPressHT = "21:47"; // Time when this Year's Highest Pressure occured $YearPressL = '997.50 mb le 03 janvier à 09:02'; $YearPressLD = "03 janvier"; // Day & Month when this Year's Lowest Pressure occured $YearPressLT = "09:02"; // Time when this Year's Lowest Pressure occured //$YearHumH = "99"; // This Year's Highest Humidity $YearHumH = '99% le 14 janvier à 11:55'; $YearHumHD = "14 janvier"; // Day & Month when this Year's Highest Humidity occured $YearHumHT = "11:55"; // Time when this Year's Highest Humidity occured //$YearHumL = "34"; // This Year's Lowest Humidity $YearHumL = '34% le 06 janvier à 12:11'; $YearHumLD = "06 janvier"; // Day & Month when this Year's Lowest Humidity occured $YearHumLT = "12:11"; // Time when this Year's Lowest Humidity occured $YearGustH = '65.6 km/h le 03 janvier à 06:58'; $YearGustHD = "03 janvier"; // Day & Month when this Year's Highest Gust occured $YearGustHT = "06:58"; // Time when this Year's Highest Gust occured $YearWindH = '26.4 km/h le 03 janvier à 10:45'; $YearWindHD = "03 janvier"; // Day & Month when this Year's Highest Wind $YearWindHT = "10:45"; // Time when this Year's Highest Wind $YearRainRateH = '11.6 mm/h le 03 janvier à 09:33'; $YearRainRateHD = "03 janvier"; // Day & Month when this Year's Highest Rain Rate occured $YearRainRateHT = "09:33"; // Time when this Year's Highest Rain Rate occured $YearHourlyRainH = '3.2 mm le 03 janvier à 10:11'; $YearHourlyRainHD = "03 janvier"; // Day & Month when this Year's Highest Hourly Rain occured $YearHourlyRainHT = "10:11"; // Time when this Year's Highest Hourly Rain occured $YearDailyRainH = '11388.0 mm le 03 janvier'; $YearDailyRainHD = "03 janvier"; // Day & Month when this Year's Highest Daily Rain occured $YearMonthlyRainH = "11395.0"; // this Year's Highest Monthly Rain occured $YearMonthlyRainHD = "janvier"; // Day & Month when this Year's Highest Monthly Rain occured $YearHighDailyTempRange = "8.5 mm"; // High Daily Temp Range this Year $YearHighDailyTempRangeD = ' le 13 janvier'; // Date of High Daily Temp Range $YearLowDailyTempRange = "3.5 mm"; // Low Daily Temp Range this Year $YearLowDailyTempRangeD = ' le 12 janvier'; // Date of Low Daily Remp Range //$YearWindRunH = "320.9"; // High Daily Wind Run in Year $YearWindRunH = '320.9 km le 03 janvier'; $YearWindRunHD = "03 janvier"; // Date of Highest Daily Wind Run in Year $YearLongestDryPeriod = "3"; // Longest dry period ending this Year (days) $YearLongestDryPeriodD = "14 janvier"; // Date of longest dry period this Year $YearLongestWetPeriod = "9"; // Longest period of rain every day, ending this Year (days) $YearLongestWetPeriodD = "06 janvier"; // Date of longest rain period this Year // all time highs and lows: // ==================================================================================================================== $tempH = "40.7"; // all time high temperature $TtempH = 'le 13 août 2003 à 14:30'; // time at which all time high temperature occured $mintempH = "26.0"; // all time high minimum temperature $TmintempH = 'le 27 juillet 2006'; // time at which all time high minimum temperature occured $tempL = "-15.8"; // all time low temperature $TtempL = 'le 20 décembre 2009 à 05:43'; // time at which all time low temperature occured $maxtempL = "-8.8"; // all time low maximum temperature $TmaxtempL = 'le 07 février 2012'; // time at which all time low maximum temperature occured $dewpointH = "22.1"; // all time highest apparent temperature $TapptempH = "at 13:30 on 13 août 2003"; // time at which all time highest apparent temperature occured $apptempL = "-19.7"; // all time lowest apparent temperature $TapptempL = "at 08:26 on 07 février 2012"; // time at which all time lowest apparent temperature occured $heatindexH = "40.3"; // all time highest index temperature $TheathindexH = ""; // time at which all time highest heat index temperature occured $humH = "100"; // all time high humidity $ThumH = "at 07:32 on 31 juillet 2016"; // time at which all time high humidity occured $humL = "0"; // all time low humidity $ThumL = "at 21:08 on 30 avril 2017"; // time at which all time low humidity occured $gustM = "85.3"; // all time high wind gust $TgustM = "le 28 février 2010 à 13:00"; // time at which all time high wind gust occured $wspeedH = "46.3"; // all time high average wind speed $TwspeedH = "le 31 mars 2015 à 17:38"; // time at which all time high average wind speed occured $wchillH = "-20.6"; // all time greatest wind chill (i.e. lowest temperature) $TwchillH = "le 07 février 2012 à 08:25"; // time at which all time greatest wind chill occured (i.e. lowest temperature) $rrateM = "269.0"; // all time high rain rate $TrrateM = "le 03 mai 2002 à 12:07"; // time at which all time high rain rate occured $rfallH = "11388.0"; // all time high daily rain $TrfallH = "le 03 janvier 2018"; // time at which all time high daily rain occured $rfallhH = "29.0"; // all time high hourly rain $TrfallhH = "le 09 juin 2010 à 22:22"; // time at which all time high hourly rain occured $rfallmH = "11395.0"; // all time high monthly rain $TrfallmH = "en janvier 2018"; // time at which all time high monthly rain occured $pressH = "1044.54"; // all time high pressure $TpressH = "le 27 décembre 2016 à 21:01"; // time at which all time high pressure occured $pressL = "975.00"; // all time low pressure $TpressL = "le 23 janvier 2009 à 12:23"; // time at which all time low pressure occured $LowDailyTempRange = "0.3"; // All time low daily temperature range $TLowDailyTempRange = 'le 21 octobre 2002'; // Date /Time of All time low daily temperature range $HighDailyTempRange = "24.0"; // All time high daily temperature range $THighDailyTempRange = 'le 20 mars 2014'; // Date / Time All time high daily temperature range $windrunH = "642.0"; // All time high daily wind run $TwindrunH = 'le 31 mars 2015'; // Time of All time high daily wind run $LongestDryPeriod = "42"; // All time longest dry period (days) $TLongestDryPeriod = "08 novembre 2007"; // Time of all time longest dry period $LongestWetPeriod = "12"; // All time longest wet period (days) $TLongestWetPeriod = "17 juin 2016"; // time of All time longest wet period (days) // All Time Record Light's Tags: // ==================================================================================================================== $TempRecordSet = "0"; // 1 if the indicator on the temperature tab on the all-time records screen is currently lit, 0 if not $WindRecordSet = "0"; // 1 if the indicator on the wind tab on the all-time records screen is currently lit, 0 if not $HighWindrunRecordSet = "0"; // 1 if the all time high wind run is currently flashing, 0 if not $RainRecordSet = "0"; // 1 if the indicator on the rain tab on the all-time records screen is currently lit, 0 if not $HumidityRecordSet = "0"; // 1 if the indicator on the humidity tab on the all-time records screen is currently lit, 0 if not $PressureRecordSet = "0"; // 1 if the indicator on the humidity tab on the all-time records screen is currently lit, 0 if not $HighTempRecordSet = "0"; // 1 if the all-time high temperature light is currently flashing, 0 if not $LowTempRecordSet = "0"; // 1 if the all-time low temperature light is currently flashing, 0 if not $HighTempRangeRecordSet = "0"; // 1 if all-time Highest Temperature range is flashing $LowTempRangeRecordSet = "0"; // 1 if all-time Lowest Temperature range is flashing $HighAppTempRecordSet = "0"; // 1 if the all-time high apparent temperature light is currently flashing, 0 if not $LowAppTempRecordSet = "0"; // 1 if the all-time low apparent temperature light is currently flashing, 0 if not $HighHeatIndexRecordSet = "0"; // 1 if the all-time high heat index light is currently flashing, 0 if not $LowWindChillRecordSet = "0"; // 1 if the all-time low wind chill light is currently flashing, 0 if not $HighDewPointRecordSet = "0"; // 1 if the all-time high dew point light is currently flashing, 0 if not $LowDewPointRecordSet = "0"; // 1 if the all-time low dew point light is currently flashing, 0 if not $HighMinTempRecordSet = "0"; // 1 if the all-time high minimum temperature light is currently flashing, 0 if not $LowMaxTempRecordSet = "0"; // 1 if the all-time low maximum temperature light is currently flashing, 0 if not $HighWindGustRecordSet = "0"; // 1 if the all-time high wind gust light is currently flashing, 0 if not $HighWindSpeedRecordSet = "0"; // 1 if the all-time high wind speed light is currently flashing, 0 if not $HighRainRateRecordSet = "0"; // 1 if the all-time high rain rate light is currently flashing, 0 if not $HighHourlyRainRecordSet = "0"; // 1 if the all-time high hourly rain light is currently flashing, 0 if not $HighDailyRainRecordSet = "0"; // 1 if the all-time high daily rain light is currently flashing, 0 if not $HighMonthlyRainRecordSet = "0"; // 1 if the all-time high monthly rain light is currently flashing, 0 if not $HighHumidityRecordSet = "0"; // 1 if the all-time high humidity light is currently flashing, 0 if not $LowHumidityRecordSet = "0"; // 1 if the all-time low humidity light is currently flashing, 0 if not $HighPressureRecordSet = "0"; // 1 if the all-time high pressure light is currently flashing, 0 if not $LowPressureRecordSet = "0"; // 1 if the all-time low pressure light is currently flashing, 0 if not $LongestDryPeriodRecordSet= "0"; // 1 if the all-time Longest Dry Period light is currently flashing, 0 if not $LongestWetPeriodRecordSet= "0"; // 1 if the all-time Longestt Wet Period light is currently flashing, 0 if not // ==================================================================================================================== // There are a set of tags giving the data units in use: $tempunit = "°C"; // temperature units $pressunit = "mb"; // pressure units $windunit = "km/h"; // wind speed units $windrununit = "km"; // wind run units $rainunit = "mm"; // rainfall units $tempunitnodeg = "C"; // the temperature units being used, without a degree symbol, i.e. "F" or "C" // There are a set of tags for the WMR928 extra sensors: // ==================================================================================================================== $ExtraTemp1 = "12.8"; // extra temperature channel 1 $ExtraTemp2 = "10.0"; // extra temperature channel 2 $ExtraTemp3 = "13.9"; // extra temperature channel 3 $ExtraDP1 = "0.0"; // extra dew point channel 1 $ExtraDP2 = "0.0"; // extra dew point channel 2 $ExtraDP3 = "0.0"; // extra dew point channel 3 $ExtraHum1 = "85"; // extra humidity channel 1 $ExtraHum2 = "75"; // extra humidity channel 2 $ExtraHum3 = "66"; // extra humidity channel 3 // There are a set of tags for the Davis PWS // ==================================================================================================================== $DavisTotalPacketsReceived = "9"; // Total number of data packets received $DavisTotalPacketsMissed = "0"; // Number of missed data packets $DavisNumberOfResynchs = "0"; // Number of times the console resynchronised with the transmitter $DavisMaxInARow = "9"; // Longest streak of consecutive packets received $DavisNumCRCerrors = "0"; // Number of packets received with CRC errors $THWindex = "8.7"; // A derived temperature using Temperature/Humidity/Wind values $THSWindex = "0.0"; // A derived temperature using Temperature/Humidity/Solar/Wind values // There are a set of tags for the Fine Offset series of PWS // ==================================================================================================================== $Light = "0.0"; // Current Lux value // There are a set of tags for the Cumulus alarm states. They give a value of '1' if the alarm has been set // and the alarm condition is currently met; otherwise '0'. // ==================================================================================================================== $LowTempAlarm = "0"; // low temperature alarm $HighTempAlarm = "0"; // high temperature alarm $LowPressAlarm = "0"; // low pressure alarm $HighPressAlarm = "0"; // high pressure alarm $HighRainTodayAlarm = "0"; // high rain today alarm $HighRainRateAlarm = "0"; // high rainfall rate alarm $HighWindGustAlarm = "0"; // high wind gust alarm $HighWindSpeedAlarm = "0"; // high wind speed alarm $PressChangeDownAlarm = "0"; // Pressure decrease alarm $PressChangeUpAlarm = "0"; // Pressure increase alarm $TempChangeDownAlarm = "0"; // Temperature decrease alarm $TempChangeUpAlarm = "0"; // Temperature increase alarm // There are a set of tags where the decimal comma has been replaced with a full stop, where necessary, // for use with gauges which do not like the commas. They all correspond to the same tag with 'RC' removed. // ==================================================================================================================== $RCtemp = "10.3"; // outside temperature $RCintemp = "18.3"; // inside temperature $RCtempTH = "10.9"; // today's high outside temperature $RCtempTL = "2.8"; // today's high outside temperature $RCheatindex = "10.3"; // heat index $RCdew = "9.4"; // dew point $RChum = "94"; // outside humidity $RCinhum = "36"; // inside humidity $RCpress = "1010.37"; // pressure $RCpressTH = "1014.23"; // time at which today's high pressure $RCpressTL = "1008.03"; // low pressure $RCrfall = "4.8"; // rainfall $RCrrate = "0.0"; // rainfall rate $RCrrateTM = "4.6"; // time at which today's rainfall rate $RCwspeed = "5.9"; // wind speed reading $RCwgust = "16.6"; // wind gust reading $RCwgustTM = "36.8"; // today's wind gust reading $RCwchill = "9.9"; // wind chill temperature //Operating System, Resources & Cumulus Info tags: // ==================================================================================================================== $OsVersion = "Windows 8 x64 build 9200"; // Operating System & Version $OsLanguage = "French"; // Operating System Language $SystemUpTime = "1 day 9 hours"; // How long the System has been up, in hours and mins $ProgramUpTime = "1 day 5 hours"; // How long Cumulus has been running, in hours and mins $CpuName = "Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz"; // Cpu Name & Type $CpuCount = "4"; // Number of Processors $MemoryStatus = "1541/8099 MB (free/total)"; // Free & Total System RAM $DisplayMode = "1920x1080, 32 bit"; // Screen Display Mode / Size $AllocatedMemory = "101.25 MB"; // Amount of Memory allocated to Cumulus $DiskSize = "1863.02 GB"; // Size of Disk on which Cumulus is installed/running $DiskFree = "1825.74 GB"; // Free Disk Space on which Cumulus is installed/running // Finally, there are some miscellaneous tags: // ==================================================================================================================== $version = "1.9.4"; // the version of cumulus in use $build = "1099"; // the build of cumulus in use $interval = "5"; // the web site update interval $update = "22/01/2018 17:05:01"; // the date and time of the last web site update $stationtype = "Davis Vantage Pro2"; // the type of station in use $latitude = "N 47° 54' 42""; // the station latitude $longitude = "E 07° 21' 22""; // the station longitude $latitudedp = "47.912"; // the station latitude $longitudedp = "7.356"; // the station longitude $altitude = "210 m"; // the station altitude $location = "Meyenheim"; // the station location $longlocation = "MEYENHEIM, FRANCE"; // longer description of the station location $sunrise = "08:10"; // current sunrise time at the station $sunset = "17:15"; // current sunset time at the station $daylength = "09h05min"; // length of day in hours and minutes (sunrise to sunset) $tomorrowdaylength = "There will be 2min 24s more daylight tomorrow"; // string giving the difference between the length of day today and tomorrow $tomorrowDL =CVRTDAYL($tomorrowdaylength); $dawn = "07:35"; // start of civil twilight at the station $dusk = "17:49"; // end of civil twilight at the station $isdaylight = "1"; // flag to indicate if the location for the station is in daylight or not, // // based on the dawn and dusk times. Possible values are 0 or 1, // // where 1 notes that it is currently within the hours of daylight. $daylightlength = "10h14min"; // length of daylight in hours and minutes (dawn to dusk) $IsSunUp = "1"; // A flag to indicate if the Sun is above the horizon or not. Possible values are 0 or 1, where 1 is when the Sun is above the horizon for the station location. $moonphase = "Waxing Crescent"; // current phase of the moon $moonrise = "10:51"; // current moonrise time at the station $moonset = "22:49"; // current moonset time at the station $moonpercent = "27"; // current percentage of moon visible -- negative value = 'waning' $moonpercentabs = "27"; // current percent of moon visible -- always positive $MoonAge = "5"; // Current approximate age of the Moon in days (0-29) $forum = ':forum:'; // URL of the forum $webcam = ':webcam:'; // URL of the webcam $recordsbegandate = "01 janvier 2002"; // the date that the all time records began $graphperiod = "24"; // the number of hours displayed by the graphs $realtimeinterval = "30"; // the realtime update interval in seconds $rollovertime = "midnight"; // the time that the logs rollover to the next day: 'Midnight', '9 am' or '10 am' $SensorContactLost = "0"; // 1 if the station has lost contact with its remote sensors (Fine Offset only) $snowdepth = "0"; // today's snow depth as entered manually in the Weather Diary $newrecord = "0"; // 1 if the 'new record' light is flashing, 0 if not $ErrorLight = "0"; // 1 if the 'error' light is flashing, 0 if not $LatestError = ""; // The latest error logged to the error log window. Cleared to an empty string when the error light is clicked, and when Cumulus is restarted $LatestErrorDate = "------"; // The date of the latest error logged to the error log window, using the system short date format. Gives dashes when latest error is reset $LatestErrorTime = "----"; // The time of the latest error logged to the error log window, using the system short time format. Gives dashes when latest error is reset $metdate = '22/01/2018'; $metdateyesterday = '21/01/2018'; $previousDay = '2018'.'-'; $previousDay .= '01'; $previousDay .= '-'.'21'; // ==================================================================================================================== // /* FUNCTIONS */ function CVRTLRT($LRTI) { $vars = explode(" ",$LRTI); $temp1 = $vars[0]; $temp2 = $vars[1]; $vars1 = explode("-",$temp1); return "le ".$vars1[2]."/".$vars1[1]."/".$vars1[0]." à ".$temp2; } function CVRTMSR($minutes) { //$ minutes =25; $d = floor ($minutes / 1440); $h = floor (($minutes - $d * 1440) / 60); $m = $minutes - ($d * 1440) - ($h * 60); $dy = ($d === 1)? $d . " jour," : $d . " jours,"; $hr = ($h === 1)? $h . " hr," : $h . " hrs,"; $mi = ($m === 1)? $d . " min" : $m . " mins"; //return $minutes; return $dy." ".$hr." ".$mi; } function CVRTDAYL($DL) { $marqueurDL = "be "; $debutDL = strpos( $DL, $marqueurDL ) + strlen( $marqueurDL ); $sign = "- "; $finDL = strpos( $DL, " less" ); if ($finDL == 0) { $sign = "+ "; $finDL = strpos( $DL, " more" ); } $textDL = substr( $DL, $debutDL, $finDL - $debutDL ); return $sign.$textDL; } /* END OF MODULE */ ?>