check-fetch-times.php Version 1.56 - 16-Mar-2024

Website PHP information

Running on webhost 'novawx.dscloud.me' @ IP='173.79.203.96' (reverse IP Name='pool-173-79-203-96.washdc.fios.verizon.net')
Webserver OS: Linux lightning 4.4.302+ #69057 SMP Sat Sep 23 21:48:04 CST 2023 x86_64
PHP Version: 7.4.33 built for Linux
PHP cmd location: /usr/local/bin/php
Document root: /var/services/web
Template root: /volume1/web
allow_url_fopen = ON
allow_url_include = off
request_order = GP
Stream support for http is available
Stream support for https is available
Streams supported: compress.bzip2, compress.zlib, data, file, ftp, ftps, glob, http, https, phar, php, ssh2.exec, ssh2.scp, ssh2.sftp, ssh2.shell, ssh2.tunnel, zip
Socket transports: ssl, tcp, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3, udg, udp, unix

Contents of Weather Data files

Settings-weather.php permissions=-rwxrwxrwx [0777]

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-World-ML template set)
############################################################################
#
#    Project:    Sample Included Website Design
#    Module:        Settings-weather.php
#    Purpose:    Provides the Site Settings Used Throughout the Site
#     Authors:    Kevin W. Reed <kreed@tnet.com>
#                TNET Services, Inc.
#               Ken True <webmaster@saratoga-weather.org>
#               Saratoga-Weather.org
#
#     Copyright:    (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
############################################################################
#    This document uses Tab 4 Settings
############################################################################
//Version 1.00 - 15-Feb-2011 - initial release
//Version 1.01 - 17-Feb-2023 - add NOAA climate reports capability
global $SITE;
#---------------------------------------------------------------------------
#  required settings for Weather-Display software
#---------------------------------------------------------------------------
$SITE['WXtags']            = 'testtags.php';  // for weather variables .. we're using the old name instead of WDtags.php
$SITE['ajaxScript']     = 'ajaxWDwx.js'// for AJAX enabled display
$SITE['clientrawfile']  = 'clientraw.txt';  // directory and name of Weather-Display realtime.txt file
$SITE['graphImageDir']  = './';  // directory location for graph images with trailing /
# wxhistory.php settings
$SITE['HistoryStartYear'] = '2018';  // start year for station operation
$SITE['HistoryFilesDir']  = './';    // directory location for the [month][year].htm history files
$SITE['HistoryGraphsDir'] = './';    // directory location for the YYYYMMDD.gif graphic daily report files
# For NOAA reports
$SITE['NOAAdir']        = './';   // relative location of the NOAA report files directory
# Weather Station sensors and options for dashboard
$SITE['DavisVP']        = true;  // set to false if not a Davis VP weather station
$SITE['UV']                = false;  // set to false if no UV sensor
$SITE['SOLAR']            = true;  // set to false if no Solar sensor
$SITE['showSnow']        = false;   // set to false if snow not recorded on WD
$SITE['showSnowTemp']     = 4;      // show snow instead of rain if temp (C) is <= this amount
##########################################################################
# end of configurable settings
#
// do NOT change these
$SITE['WXsoftware']     = 'WD';
$SITE['WXsoftwareURL'] = 'https://www.weather-display.com/';
$SITE['WXsoftwareLongName'] = 'Weather-Display';
$SITE['ajaxDashboard'] = './ajax-dashboard.php';
$SITE['trendsPage']     = 'WD-trends-inc.php'// WD-specific trends page
?>

testtags.php permissions=-rwxrwxrwx [0777]

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
<?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
// --------------------------------------------------------------------------
// 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;
}
// General OR Non Weather Specific/SUN/MOON
// ========================================
$time =  '09:21';    // current time
$date =  '4/19/2024';    // current date
$sunrise =  '06:28';    // sun rise time (make sure you have the correct lat/lon
//                     in view/sun moon)
$time_minute =  '21';    // Current minute
$time_hour =  '09';    // Current hour
$date_day =  '19';    // Current day
$date_month =  '04';    // Current month
$date_year =  '2024';    // Current year
$monthname =  'April';    // Current month name
$dayname =  'Friday';    // Current day name
$sunset =  '19:53';    // sunset time
$moonrisedate =  '04/19/24';    // moon rise date
$moonrise =  '16:01';    // moon rise time
$moonsetdate =  '04/19/24';    // moon set date
$moonset =  '04:43';    // moon set time
$moonage =  'Moon age: 10 days,18 hours,45 minutes,83%';    // current age of the moon (days since new moon)
$moonphase =  '83%';    // Moon phase %
$moonphasename 'Waxing Gibbous Moon'// 10.36z addition
$marchequinox =  '03:07 UTC March 20 2024';    // March equinox date
$junesolstice =  '20:52 UTC June 20 2024';    // June solstice date
$sepequinox =  '12:44 UTC September 22 2024';    // September equinox date
$decsolstice =  '09:21 UTC December 21 2024';    // December solstice date
$moonperihel =  '11:56 UTC January 3 2025';    // Next Moon perihel date
$moonaphel =  '20:50 UTC July 4 2024';    // Next moon perihel date
$moonperigee =  '07:22 UTC June 2 2024';    // Next moon perigee date
$moonapogee =  '02:10 UTC April 20 2024';    // Next moon apogee date
$newmoon =  '18:21 UTC April 8 2024';    // Date/time of the next/last new moon
$nextnewmoon =  '03:23 UTC May 8 2024';    // Date/time of the next new moon for next month
$firstquarter =  '19:14 UTC April 15 2024';    // Date/time of the next/last first quarter moon
$lastquarter =  '11:28 UTC May 1 2024';    // Date/time of the next/last last quarter moon
$fullmoon =  '23:50 UTC April 23 2024';    // Date/time of the next/last full moon
$fullmoondate =  'April 23 2024';    // Date of the next/last full moon (date only)
$suneclipse =  'March 29 2025 05:12:56 77%';    // Next sun eclipse
$mooneclipse =  'March 14 2025 01:59:27 118%';    // Next moon eclipse date
$easterdate =  '31 March 2024';    // Next easter date
$chinesenewyear =  '9 February 2024 ()';    // Chinese new year
$hoursofpossibledaylight =  '13:25';    // Total hours/minutes of possible daylight for today
//
$weatherreport =  'Dry';    // current weather conditions from selected METAR
$stationaltitude =  '335';    // Station altitude, feet, as set in the units setup
// this under setup)
$stationlatitude =  '038:60:17';    // Latitude (from the sun moon rise/set setup)
$stationlongitude =  '0077:56:60';    // Longtitude (from the sun moon rise/set setup)
$windowsuptime '4 Days 23 Hours 58 Minutes 39 Seconds'// uptime for windows on weather pc
$freememory '8.39GB'// amount of free memory on the pc
$Startimedate '9:26:23 AM 4/14/2024'// Time/date WD was started

$NOAAEvent 'NO CURRENT ADVISORIES'// NOAA Watch/Warning/Advisory
$noaawarningraw '
#FLZ047.'
// NOAA RAW watch/warning/advisory

// ADVISORIES)
// ADVISORIES)

$wdversion '10.37S' '-(b' '151' ')';    // Weather Display version number you are running
$wdversiononly '10.37S';
$wdbuild   '151';       // Weather Display build number you are running
// ---....What it says - for the weather warning....
// 
// this under setup)
$noaacityname =  'Arcola';    // City name,from the noaa setup (in the av/ext setup)
// 
// level...enter this under setup)
// 
$timeofnextupdate =  '09:22';    // Time of next Update/Upload of the weather data to your web page (based on the web table update 
// 
// time)
// 
// must be first selected),,,,repeat up to day 8
$heatcolourword =  '---';    // How hot/cold it feels at the moment, based on the humidex, used with the conditionscolour.jpg 
// 
// 
// Temperature/Humidity
// ====================
// Current:
// --------
$temperature =  '51.8&deg;F';    // temperature
$tempnodp '52'// temperature, no decimal place
$humidity =  '93';    // humidity
$dewpt =  '49.8&deg;F';    // dew point
$maxtemp =  '57.2&deg;F';    // today's maximum temperature
$maxtempt =  '00:00';    // time this occurred
$mintemp =  '51.7&deg;F';    // today's minimum temperature
$mintempt =  '09:06';    // time this occurred
// VP soil temperature)
$feelslike =  '51';    // Shows heat index or humidex or windchill (if less than 16oC)

$heati =  '51.7&deg;F';    // current heat index
$heatinodp =  '52';    // current heat index,no decimal place
$windch =  '50.8&deg;F';    // current wind-chill
$windchnodp =  '51&deg;F';    // current wind-chill, no decimal place
$humidexfaren =  '54.0&deg;F';    // Humidex value in oF
$humidexcelsius =  '12.2°C';    // Humidex value in oC

$apparenttemp =  '49.9';    // Apparent temperature
$apparentsolartemp =  '53.9';    // Apparent temperature in the sun (you need a solar sensor)
$apparenttempc =  '9.9';    // Apparent temperature, °C
$apparentsolartempc =  '12.2';    // Apparent temperature in the sun, °C (you need a solar sensor)
$apparenttempf =  '49.9';    // Apparent temperature, °F
$apparentsolartempf =  '53.9';    // Apparent temperature in the sun, °F (you need a solar sensor)
// 
$WUmaxtemp '32.0';    // Todays average max temperature from the selected Wunderground almanac station
$WUmintemp '32.0';    // Todays average min temperature from the selected Wunderground almanac station
// 
$WUmaxtempr '32.0';    // Todays record max temperature from the selected Wunderground almanac station
$WUmintempr '32.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.2 &deg;F/last hr';    // Temperature change in the last hour
$maxtempyest =  '78.7 &deg;F';    // Yesterday's max temperature
$maxtempyestt =  '15:33';    // Time of yesterday's max temperature
$mintempyest =  '53.3 &deg;F';    // Yesterday's min temperature
$mintempyestt =  '06:45';    // Time of yesterday's min temperature
// 
// 
// Trends:
// -------
$temp24hoursago =  '69.9';    // The temperature 24 hours ago
$humchangelasthour =  '0';    // Humidity change last hour
$dewchangelasthour =  '-0.2';    // Dew point change last hour
$barochangelasthour =  '-0.003';    // Baro change last hour
// 
// Wind
// ====
// Current:
// --------
// 
$avgspd =  '4.2 mph';    // average wind speed (current)
$gstspd =  '4.8 mph';    // current/gust wind speed
$maxgst =  '10.8 mph';    // today's maximum wind speed
$maxgstt =  '00:57';    // time this occurred
$maxgsthr =  '10.8 mph  SE';    // maximum gust last hour
$dirdeg =  '126 &deg;';    // wind direction (degrees)
$dirlabel =  'SE';    // wind direction (NNE etc)
//$maxgustlastimediatehourtime =  '09:04';    // 09:04  time that the max gust last prior 1 hour occured
$avwindlastimediate10 =  '3.1 mph';    // Average wind for the last immediate 10 minute period
// $avdir10minute =  '135&deg;';    // average ten minute wind direction (degrees)

$beaufortnum ='1'//Beaufort wind force number
$currbftspeed '2 bft'//Current Beaufort wind speed

$bftspeedtext 'Light Breeze'//Beaufort scale in text (i.e Fresh Breeze)
// 
// 
// Baromometer
// ===========
// Current:
// --------
$baro '30.103 in.';  // current barometer
$baroinusa2dp =  '30.10 inches';    // Current barometer reading in inches, 2 decimal places only.
$trend =  '+0.001in./hr';    // amount of change in the last hour
$pressuretrendname =  'Steady';    // pressure trend (i.e. "falling"), last hour
$pressuretrendname3hour =  'Rising slowly';    // pressure trend (i.e. "falling"), last 3 hours

$vpforecasttext 'increasing clouds with little temp change, precipitation possible within 24 to 48 hrs.';    // Forecast text from the Davis VP
// 
// 
// Rain
// ====
// Current:
// --------
$dayrn =  '0.00 in.';    // today's rain
$monthrn =  '1.32 in.';    // rain so far this month
$yearrn =  '12.29 in.';    // rain so far this year
$dayswithnorain =  '6';    // Consecutative days with no rain
$dayswithrain =  '6';    // Days with rain for the month
$dayswithrainyear =  '43';    // Days with rain for the year
$currentrainratehr =  '0.000';    // Current rain rate, mm/hr (or in./hr)
$maxrainrate =  '0.000';    // Max rain rate,for the day, mm/min (or in./min)
$maxrainratehr =  '0.000';    // Max rain rate,for the day, mm/hr (or in.mm)
$maxrainratetime =  '00:00';    // 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
//
// 
// Sunshine/Solar/ET
// =================
$VPsolar =  '70';    //  Solar energy number (W/M2)
$VPuv =  '0.0';    // UV number 
$highsolar =  '70';    // Daily high solar (for Davis VP and Grow stations)
$highuv =  '0.0';    // Daily high UV (for Davis VP stations)
$currentsolarpercent =  '12 %';    // Current solar percent for stations with a temperature solar sensor (like the dallas 1 wire)
$highsolartime =  '09:20';    // 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 =  '720';    // 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 =  '40.8';    // All time record high wind gust
$mrecordhighgustday =  '13';    // 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 '432';    // Estimated height snow will fall at
$snowheightnew '3845';    // Estimated height snow will fall at, new formula
// 
$snownowin '0.00';    // Current snow depth, inches.
$snownowcm '0.0';    // Current snow depth, cm.
// 
$snowrain '0.00';    // 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 '51.7';  // ****this one is needed for all the others to work
$wind0minuteago '3.5';
$gust0minuteago '6.9';
$dir0minuteago ' SE';
$hum0minuteago '93';
$dew0minuteago '49.7';
$baro0minuteago '30.103';
$rain0minuteago '0.00';
$VPsolar0minuteago '70';
$VPuv0minuteago '0.0';

$temp5minuteago '51.7';  
$wind5minuteago '1.2';
$gust5minuteago '3.5';
$dir5minuteago ' SSE';
$hum5minuteago '93';
$dew5minuteago '49.7';
$baro5minuteago '30.103';
$rain5minuteago '0.00';
$VPsolar5minuteago '46';
$VPuv5minuteago '0.0';

$temp10minuteago '51.7';  
$wind10minuteago '2.3';
$gust10minuteago '4.6';
$dir10minuteago ' SSE';
$hum10minuteago '93';
$dew10minuteago '49.7';
$baro10minuteago '30.102';
$rain10minuteago '0.00';
$VPsolar10minuteago '56';
$VPuv10minuteago '0.0';

$temp15minuteago '51.8';  
$wind15minuteago '4.6';
$gust15minuteago '5.8';
$dir15minuteago ' SE';
$hum15minuteago '93';
$dew15minuteago '49.8';
$baro15minuteago '30.102';
$rain15minuteago '0.00';
$VPsolar15minuteago '42';
$VPuv15minuteago '0.0';

$temp20minuteago '51.8';  
$wind20minuteago '4.6';
$gust20minuteago '5.8';
$dir20minuteago 'ESE';
$hum20minuteago '93';
$dew20minuteago '49.8';
$baro20minuteago '30.102';
$rain20minuteago '0.00';
$VPsolar20minuteago '53';
$VPuv20minuteago '0.0';

$temp30minuteago '52.0';  
$wind30minuteago '4.6';
$gust30minuteago '9.2';
$dir30minuteago ' SE';
$hum30minuteago '93';
$dew30minuteago '50.1';
$baro30minuteago '30.108';
$rain30minuteago '0.00';
$VPsolar30minuteago '47';
$VPuv30minuteago '0.0';

$temp45minuteago '52.0';  
$wind45minuteago '2.3';
$gust45minuteago '5.8';
$dir45minuteago ' SE';
$hum45minuteago '93';
$dew45minuteago '50.0';
$baro45minuteago '30.107';
$rain45minuteago '0.00';
$VPsolar45minuteago '35';
$VPuv45minuteago '0.0';

$temp60minuteago '51.9';  
$wind60minuteago '2.3';
$gust60minuteago '3.5';
$dir60minuteago 'ESE';
$hum60minuteago '93';
$dew60minuteago '49.9';
$baro60minuteago '30.102';
$rain60minuteago '0.00';
$VPsolar60minuteago '14';
$VPuv60minuteago '0.0';

$temp75minuteago '52.0';  
$wind75minuteago '1.2';
$gust75minuteago '2.3';
$dir75minuteago 'ESE';
$hum75minuteago '93';
$dew75minuteago '50.1';
$baro75minuteago '30.100';
$rain75minuteago '0.00';
$VPsolar75minuteago '14';
$VPuv75minuteago '0.0';

$temp90minuteago '52.3';  
$wind90minuteago '2.3';
$gust90minuteago '4.6';
$dir90minuteago 'ESE';
$hum90minuteago '93';
$dew90minuteago '50.3';
$baro90minuteago '30.094';
$rain90minuteago '0.00';
$VPsolar90minuteago '9';
$VPuv90minuteago '0.0';

$temp105minuteago '52.4';  
$wind105minuteago '2.3';
$gust105minuteago '2.3';
$dir105minuteago 'ESE';
$hum105minuteago '92';
$dew105minuteago '50.1';
$baro105minuteago '30.099';
$rain105minuteago '0.00';
$VPsolar105minuteago '11';
$VPuv105minuteago '0.0';

$temp120minuteago '52.4';  
$wind120minuteago '3.5';
$gust120minuteago '5.8';
$dir120minuteago ' SE';
$hum120minuteago '92';
$dew120minuteago '50.1';
$baro120minuteago '30.102';
$rain120minuteago '0.00';
$VPsolar120minuteago '14';
$VPuv120minuteago '0.0';

$VPet '0.01';
$VPetmonth '1.97';
$dateoflastrainalways '4/12/2024';
$highbaro '30.120 in.';
$highbarot '00:44';
$highsolaryest '962.0';
$highsolaryesttime '12:08';
$hourrn '0.00';
$maxaverageyest '13.3 mph NNE';
$maxaverageyestt '12:34';
$maxavgdirectionletter 'SE';
$maxavgspd '5.6 mph';
$maxavgspdt '07:06';
$maxbaroyest '30.109 in.';
$maxbaroyestt '23:59';
$maxgstdirectionletter 'ESE';
$maxgustyest '21.9 mph   N';
$maxgustyestt '11:56';
$mcoldestdayonrecord '46.9&deg;F  on: Apr 04 2024';
$mcoldestnightonrecord '41.0&deg;F  on: Apr 06 2024';
$minchillyest '53.3 &deg;F';
$minchillyestt '06:45';
$minwindch '51.7 &deg;F';
$minwindcht '09:06';
$mrecordhighavwindday '3';
$mrecordhighavwindmonth '4';
$mrecordhighavwindyear '2024';
$mrecordhighbaro '30.203';
$mrecordhighbaroday '8';
$mrecordhighbaromonth '4';
$mrecordhighbaroyear '2024';
$mrecordhighgustmonth '4';
$mrecordhighgustyear '2024';
$mrecordhightemp '85.0';
$mrecordhightempday '15';
$mrecordhightempmonth '4';
$mrecordhightempyear '2024';
$mrecordlowchill '30.4';
$mrecordlowchillday '4';
$mrecordlowchillmonth '4';
$mrecordlowchillyear '2024';
$mrecordlowtemp '33.4';
$mrecordlowtempday '4';
$mrecordlowtempmonth '4';
$mrecordlowtempyear '2024';
$mrecordwindspeed '20.0';
$mwarmestdayonrecord '75.1&deg;F  on: Apr 15 2024';
$mwarmestnightonrecord '68.7&deg;F  on: Apr 15 2024';
$raincurrentweek '0.13';
$raintodatemonthago '0.00';
$raintodateyearago '0.00';
$timeoflastrainalways ' 06:32';
$windruntodatethismonth '1417.13 miles';
$windruntodatethisyear '7122.97 miles';
$windruntoday '22.66';
$yesterdaydaviset '0.162';
$yrecordhighavwindday '28';
$yrecordhighavwindmonth '2';
$yrecordhighavwindyear '2024';
$yrecordhighbaro '30.661';
$yrecordhighbaroday '22';
$yrecordhighbaromonth '1';
$yrecordhighbaroyear '2024';
$yrecordhighgustday '13';
$yrecordhighgustmonth '4';
$yrecordhighgustyear '2024';
$yrecordhightemp '85.0';
$yrecordhightempday '15';
$yrecordhightempmonth '4';
$yrecordhightempyear '2024';
$yrecordlowchill '3.0';
$yrecordlowchillday '17';
$yrecordlowchillmonth '1';
$yrecordlowchillyear '2024';
$yrecordlowtemp '7.2';
$yrecordlowtempday '22';
$yrecordlowtempmonth '1';
$yrecordlowtempyear '2024';
$yrecordwindgust '40.8';
$yrecordwindspeed '22.7';
$daysTmaxGT30C '0';
$daysTmaxGT25C '6';
$daysTminLT0C '0';
$daysTminLTm15C '0';

// 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 '19';                // icon number

   
$current_icon $icon_array[19]; // name of our condition icon
// ----------------------------------------------------------------------------------
//   $current_summary = 'Dry' . "<br />" . 'Cloudy/Dry ';
   
$weathercond 'Dry';
   
$Currentsolardescription 'Cloudy/Dry ';
   
$current_summary $Currentsolardescription;
   
$current_summary preg_replace('|^/[^/]+/|','',$current_summary);
   
$current_summary preg_replace('|\\\\|',", ",$current_summary);
   
$current_summary preg_replace('|/|',", ",$current_summary);
//  
//  
$cloudheightfeet =  '479';    // Estimated cloud base height, feet, (based on dew point, and you height above sea  level...enter
$cloudheightmeters =  '146';    // 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 '09:04';        // time that the max gust last prior 1 hour occured


$minbaroyest  '29.883 in.';
$minbaroyestt '03:14';




$mrecordlowbaro '29.288';
$mrecordlowbaroday '12';
$mrecordlowbaromonth '4';
$mrecordlowbaroyear '2024';




$yrecordlowbaro '29.096';
$yrecordlowbaroday '9';
$yrecordlowbaromonth '1';
$yrecordlowbaroyear '2024';

// end mchallis tags added to testtags.txt for printable flyer

// ----------------------------------------------------------------------------------------------------

// begin Webster Weather Live alternative dashboard plugin tags
// Note: duplicated named tags commented out
// Modifications for Webster Weather LIVE's Dashboard Modifications
// NOTE: See instruction and comments for directions
// Add this code in right before the section called
// General OR Non Weather Specific/SUN/MOON in the file
// in your c:\wDisplay\webfiles directory
// ========================================================
$vpissstatus 'Ok';      // VP ISS Status
$vpreception2 '97%'// VP Current reception %  *** NEW IN V1.01
$vpconsolebattery '4.7'// VP Console Battery Volts *** NEW IN V1.01
$firewi '0.0'// Fire Weather Index
$avtempweek '--redacted--'// key not displayed     // Average Weekly Temp
$warmestdayonrecord '98.8&deg;F  on: Jul 21 2019';  //Warmest Day on Record
$coldestdayonrecord '13.5&deg;F  on: Jan 31 2019';  //coldest Day on Record
$warmestnightonrecord '84.7&deg;F  on: Jun 22 2009';  //Warmest Night on Record
$coldestnightonrecord '3.7&deg;F  on: Jan 31 2019';  //coldest Day on Record
$recordhightemp '100.4';   // Record high temp
$recordhightempmonth '7';   // Record high temp month
$recordhightempday '20';   // Record high temp day
$recordhightempyear '2020';   // Record high temp year
$recordlowtemp '-5.8';   // Record low temp
$recordlowtempmonth '1';   // Record low temp month
$recordlowtempday '31';   // Record low temp day
$recordlowtempyear '2019';   // Record low temp year
$recordlowchillmonth '1';   // Record low temp month
$recordlowchillday '31';   // Record low temp day
$recordlowchillyear '2019';   // Record low temp year
$hddday '3.5';        // Heating Degree for day
$hddmonth '142.7';    // Heating Degree for month to date
$hddyear '2230.0';    // Heating Degree for year to date
$cddday '0.0';        // Cooling Degree for day
$cddmonth '12.5';    // Cooling Degree for month to date
$cddyear '14.1';    // Cooling Degree for year to date
$minchillweek '38.6';  // Minimum Wind Chill over past 7 days 
$maxheatweek '84.1';  // Maximum Heat Index for the Week *** NEW IN V2.00
$recordlowchill '-10.8';  //record low windchill
$airdensity '1.24';  //air density
$solarnoon '13:10'// Solar noon
$changeinday '00:02:22';  // change in day length since yesterday
// You can comment out the next 6 WU tags if you don't use the Weather Underground Records option
// Snow tags for USA - Comment out if using CM
// Snow tags for Metric - unComment out if using CM
// End of snow tages to change
$etcurrentweek '1.106'// ET total for the last 7 days
// 
// NEW TAGS in Version 2.75
//
$sunshinehourstodateday '00:00';
$sunshinehourstodatemonth '36:46';
$maxsolarfortime '564';
$wetbulb '50.8  &deg;F';
//
// NEW TAGS in Version 2.80
// Not needed if not using Lightning display!
//
$lighteningcountlasthour '0';
$lighteningcountlastminute '0';
$lighteningcountlast5minutes '0';
$lighteningcountlast12hour '0';
$lighteningcountlast30minutes '0';
$lighteningcountlasttime '';
$lighteningcountmonth '0';
$lighteningcountyear '0';
//  End of Lightning tags
//
//  NEW TAGS IN VERSION 3.00
//
$chandler '-1.7';

//  New tags in Version 4.00
$maxdew '50.7 °F';
$maxdewt '00:53';
$mindew '49.6 °F';
$mindewt '03:20';
$maxdewyest '58.4 °F';
$maxdewyestt '08:41';
$mindewyest '49.0 °F';
$mindewyestt '14:52';
$mrecordhighdew '64.7';
$mrecordhighdewmonth '4';
$mrecordhighdewday '15';
$mrecordlowdew '25.9';
$mrecordlowdewmonth '4';
$mrecordlowdewday '5';
$yrecordhighdew '66.9';
$yrecordhighdewmonth '1';
$yrecordhighdewday '26';
$yrecordlowdew '0.3';
$yrecordlowdewmonth '1';
$yrecordlowdewday '14';
$recordhighdew '96.1';
$recordhighdewyear '2015';
$recordhighdewmonth '7';
$recordhighdewday '23';
$recordlowdew '-25.6';
$recordlowdewyear '2020';
$recordlowdewmonth '2';
$recordlowdewday '22';
$stationname 'Willowsford Farm';
$raindifffromav '---';
$raindifffromavyear '12.290';
$gddmonth '223.1';
$gddyear '477.4';

// end of WebsterWeatherLive Alternative Dashboard plugin tags

// ----------------------------------------------------------------------------------------------------

// begin WebsterWeatherLive High/Low/Average plugin page tags
// Note: duplicated tags have been removed
//
// Modifications for Webster Weather Live's Modifications
// NOTE: These are all using US measurements!!
// Add this code in right before the section called
// General OR Non Weather Specific/SUN/MOON in the file
// in your c:\wDisplay\webfiles directory
// Version 1.1 - 17-FEB-2009 Initial Release
// Version 1.2 - 10-MAR-2009 Fixed snow tags for CM measurements
// ========================================================
$recordhighheatindex '120.4';
$recordhighheatindexmonth '7';   // Record high heatindex month
$recordhighheatindexday '28';   // Record high heatindex day
$recordhighheatindexyear '2023';   // Record high heatindex year 
$recordhighbaromonth '2';   // Record high baro month
$recordhighbaroday '13';   // Record high baro day
$recordhighbaroyear '2018';   // Record high baro year 
$recordlowbaromonth '2';   // Record low baro month
$recordlowbaroday '7';   // Record low baro day
$recordlowbaroyear '2020';   // Record low baro year 
$recorddailymonth '7';   // Record daily rain month
$recorddailyrainday '21';   // Record daily rain day
$recorddailyrainyear '2018';   // Record daily rain year
$recorddailyrain '5.76'// Record Daily Rain 
$maxheat '57.2 &deg;F';
$maxheatt '00:00'
$maxheatyest '78.7 &deg;F';  
$mrecordhighheatindex '84.3';
$yrecordhighheatindex '84.3';
// You can comment out the next 6 lines if you do not use Weather Underground history
// Next 4 Lines are US snow measurements (Comment out if using CM)
// Next 4 lines are METRIC snow measurements (Uncomment to use these)
// End of snow tags to change
$yeartodateavtemp '44.7'
$monthtodateavtemp '57.9'
$maxchillyest '78.7 °F'
$monthtodatemaxgust '40.3'
$recordwindspeed '27.4'// All Time Record Avg Wind Speed
$recordwindgust '46.0'// All Time Record wind gust
$monthtodateavspeed '3.2'// MTD average wind speed
$monthtodateavgust '5.7'//MTD average wind gust
$yeartodateavwind '2.7'// YTD average wind speed
$yeartodategstwind '4.9'// YTD avg wind gust
$lowbaro '30.074 in.';
$lowbarot '02:59';
$monthtodatemaxbaro '30.204'// MTD average wind speed
$monthtodateminbaro '29.288'//MTD average wind gust
$recordhighbaro '30.829'// All Time Record Avg Wind Speed
$recordlowbaro '28.960'// All Time Record wind gust
$recordhighavwindmonth '4'
$recordhighavwindday '1';
$recordhighavwindyear '2023';
$recordhighgustmonth '4';
$recordhighgustday '1';
$recordhighgustyear '2023';
$sunshinehourstodateyear '248:12'
$sunshineyesterday '05:36';
$mrecordhighsolar '1013.0';  
$yrecordhighsolar '1013.0';
$recordhighsolar '1782.0'
$recordhighsolarmonth '12'
$recordhighsolarday '20';
$recordhighsolaryear '2008';
$mrecordhighuv '0.0';  
$yrecordhighuv '0.0';
$recordhighuv '0.0'
$recordhighuvmonth '0'
$recordhighuvday '0';
$recordhighuvyear '0';
$avtempsincemidnight '54.4';
$yesterdayavtemp '66.6';
$avgspeedsincereset '2.4';
$maxheatyestt '15:33';
$recorddayswithrain '15';
$recorddayswithrainmonth '7';
$recorddayswithrainday '28';
$recorddayswithrainyear '2015';
$mrecorddailyrain '0.54';
$yrecorddailyrain '2.32';
$mrecordhighheatindexday '15';
$mrecordhighheatindexmonth '4';
$yrecordhighheatindexday '15';
$yrecordhighheatindexmonth '4';
$mrecordhighsolarday '5';
$mrecordhighsolarmonth '4';
$yrecordhighsolarday '5';
$yrecordhighsolarmonth '4';
$mrecordhighuvday '4';
$mrecordhighuvmonth '7';
$yrecordhighuvday '0';
$yrecordhighuvmonth '0';
$windrunyesterday '63.88';
$recordhighwindrun '359.7';
$recordhighwindrunday '30';
$recordhighwindrunmth '10';
$recordhighwindrunyr '2007';
$currentwdet '0.017';
$yesterdaywdet '0.174';
$highhum '93';
$highhumt '07:38';
$lowhum '78';
$lowhumt '00:00';
$maxhumyest '94';
$maxhumyestt '07:34';
$minhumyest '37';
$minhumyestt '14:52';
$mrecordhighhum '97';
$mrecordhighhummonth '4';
$mrecordhighhumday '3';
$mrecordlowhum '26';
$mrecordlowhummonth '4';
$mrecordlowhumday '13';
$yrecordhighhum '98';
$yrecordhighhummonth '1';
$yrecordhighhumday '26';
$yrecordlowhum '16';
$yrecordlowhummonth '3';
$yrecordlowhumday '17';
$recordhighhum '100';
$recordhighhumyear '2006';
$recordhighhummonth '5';
$recordhighhumday '21';
$recordlowhum '0';
$recordlowhumyear '2020';
$recordlowhummonth '5';
$recordlowhumday '6';

// 
// Monthly High/low/avg Hometownzone Mod
// You can ship this section if you do not plan
// to use the Monthly.php script 
//
$recordhightempjan '88.0';
$recordlowtempjan '7.2';
$avtempjan '51.3';
$avrainjan '2.17';
$recordhightempfeb '88.5';
$recordlowtempfeb '18.9';
$avtempfeb '53.7';
$avrainfeb '1.95';
$recordhightempmar '90.7';
$recordlowtempmar '22.5';
$avtempmar '58.0';
$avrainmar '2.00';
$recordhightempapr '93.7';
$recordlowtempapr '28.9';
$avtempapr '65.7';
$avrainapr '2.69';
$recordhightempmay '95.2';
$recordlowtempmay '40.1';
$avtempmay '72.0';
$avrainmay '3.24';
$recordhightempjun '98.8';
$recordlowtempjun '48.0';
$avtempjun '76.9';
$avrainjun '4.47';
$recordhightempjul '99.0';
$recordlowtempjul '52.2';
$avtempjul '79.8';
$avrainjul '5.85';
$recordhightempaug '97.9';
$recordlowtempaug '53.4';
$avtempaug '79.5';
$avrainaug '5.70';
$recordhightempsep '98.8';
$recordlowtempsep '38.1';
$avtempsep '76.1';
$avrainsep '5.00';
$recordhightempoct '94.8';
$recordlowtempoct '28.6';
$avtempoct '68.8';
$avrainoct '4.17';
$recordhightempnov '88.9';
$recordlowtempnov '16.5';
$avtempnov '59.1';
$avrainnov '1.79';
$recordhightempdec '87.4';
$recordlowtempdec '5.4';
$avtempdec '55.0';
$avraindec '2.74';

// end of Webster Weather Live tags for High/Low/Average plugin
// ----------------------------------------------------------------------------------------------------


// Record values added by Bill Bauman for records-inc-climo.php
// 5 March 2018
// ========================================================

// High Heat Index for the Month
$mrecordhighheatindexyear '2024';
$mrecordhighheatindexmonth '4';
$mrecordhighheatindexday '15';

// High Heat Index for the Year
$yrecordhighheatindexyear '2024';
$yrecordhighheatindexmonth '4';
$yrecordhighheatindexday '15';

// Record Daily Rain for the Month
$mrecorddailyrainyear '2024';
$mrecorddailyrainmonth '4';
$mrecorddailyrainday '3';

// Current year record values for rain added by Bill Bauman for records-inc-climo.php
// 6 October 2018
// ========================================================

// Record Daily Rain for the Current Year
$yrecorddailyrainyear '2024';
$yrecorddailyrainmonth '1';
$yrecorddailyrainday '9';

// Indoor temperature and humidity added by Bill Bauman
// 23 September 2022
//=========================================================

$indoortemp '67.9';
$indoorhum '45';

// Raw Davis VP barometer with no offset applied added by Bill Bauman
// 6 October 2022
//=========================================================
$rawvpbaro '30.103 in.';

// Air Quality (PurpleAir) added by Bill Bauman (see in WD under setup, advanced/misc)
// 23 June 2023
// First Sensor
$purpleair2_5 '21.1'//Value of 2.5 micron particle measure from purple air sensor 
$purpleair1_0 '13.4'//Value of 1.0 micron particle measure from purple air sensor
$purpleair10_0 '22.4'//Value of 10.0 micron particle measure from purple air sensor
$purpleairaqi '69.9'//AQI (air quality index) value from purple air sensor
$purpleairvoc '171.3'//VOC (volatile ogranic compounds) value from purple air sensor
$purpleairaqidescription 'Moderate'//AQI description (e.g Good, moderate)

// Second Sensor
$purpleair2_52 '0.0'//2nd sensor 2.5 reading
$purpleair1_02 '0.0'//2nd sensor 1.0 reading
$purpleair10_02 '0.0'//2nd sensor 10 reading 
$purpleairaqi2 '0.0'//2nd sensor aqi reading
$purpleairaqidescription2 'Good'//2nd sensor aqi description

// end of testtags.txt/testtags.php
?>