Ver Fonte

Added new fields for updated historygenerator.py

New historygenerator.py total column fields need to be added to the skin.conf.
Josh Smith há 5 anos atrás
pai
commit
4467ddbcb1
1 ficheiros alterados com 25 adições e 12 exclusões
  1. 25 12
      skin.conf

+ 25 - 12
skin.conf

@@ -9,7 +9,7 @@
     # Template Extras
  
     # Website URL
-    web_url = ""
+    web_url = http://cw9009.x10host.com
 
     # radar
     radar = '<iframe class="iframe" src="https://embed.windy.com/embed2.html?lat=43.555&lon=-116.348&zoom=9&level=surface&overlay=radar&menu=&message=&marker=&calendar=&pressure=&type=map&location=coordinates&detail=&detailLat=43.555&detailLon=-116.348&metricWind=default&metricTemp=default&radarRange=-1"></iframe>'
@@ -19,21 +19,21 @@
     #lightning_url = http://www.lightningmaps.org/realtime 
 
     # You. Only shows up in footer
-    you = ""
-    emailname = ""
-    email = ""
+    you = "JDS"
+    emailname = "Josh@cw9009.x10host.com"
+    email = "Josh@cw9009.x10host.com"
     
     # Camera link
     # camera and cameratitle are arrays of the camera links and camera names. 
-    cameratitle = "Hwy 69 - Amity", "Victory - Five Mile", "Reflection Ridge", "Bridgeview South"
-    camera = http://www.achdidaho.org/ATIS/CCTV/CCTV_588.jpg, http://www.achdidaho.org/ATIS/CCTV/CCTV_649.jpg, https://icons.wunderground.com/webcamramdisk/l/a/lakearrowheadnw/3/current.jpg?1535944393, https://icons.wunderground.com/webcamramdisk/m/i/miralem77/4/current.jpg?1536106630  
+    cameratitle = "Eagle - Victory (Siqura)", "Victory - Five Mile", "Bridgeview South", "Hwy 69 - Amity"
+    camera = http://www.achdidaho.org/ATIS/CCTV/CCTV_669.jpg, http://www.achdidaho.org/ATIS/CCTV/CCTV_649.jpg, https://icons.wunderground.com/webcamramdisk/m/i/miralem77/4/current.jpg?1536106630, http://www.achdidaho.org/ATIS/CCTV/CCTV_588.jpg  
     
     # Google Analytics ID
-    googleAnalyticsId = ""
+    googleAnalyticsId = UA-88526004-1
 
     #CWOP
-    cwop = ""
-    cwop_url = ""
+    cwop = CW9009
+    cwop_url = http://www.findu.com/cgi-bin/wxpage.cgi?call=CW9009&last=24
     
 ###############################################################################################
 
@@ -323,16 +323,22 @@
     [[max_temp]]
         obs_type = outTemp
         aggregate_type = max
+	summary_column = true
+        summary_heading = Max
 
     [[avg_temp]]
         obs_type = outTemp
         aggregate_type = avg
+	summary_column = true
+        summary_heading = YR Avg
 	minvalues = 15, 25, 35, 45, 50, 55, 60, 65, 70, 75, 80
     	maxvalues =  25, 35, 45, 50, 55, 60, 65, 70, 75, 80, 85
 
     [[avg_htemp]]
         obs_type = inTemp
         aggregate_type = avg
+	summary_column = true
+        summary_heading = YR Avg
 	minvalues =  50, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80
     	maxvalues =  62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 85
 
@@ -342,13 +348,16 @@
 	aggregate_threshold = -150.0, degree_F
 	minvalues =  0, 2, 4, 6, 8, 12, 15, 18, 21, 24, 27
 	maxvalues =  2, 4, 6, 8, 12, 15, 18, 21, 24, 27, 32
-	colours =   "#0029E5", "#0186E7", "#02E3EA", "#04EC97", "#05EF3D2", "#2BF207", "#8AF408", "#E9F70A", "#F9A90B", "#FC4D0D", "#FFFFFF"
+	#colours =   "#0029E5", "#0186E7", "#02E3EA", "#04EC97", "#05EF3D2", "#2BF207", "#8AF408", "#E9F70A", "#F9A90B", "#FC4D0D", "#FFFFFF"
+        colours =   "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF"
 
     #number of days of rainfall
     [[rain_count]]
         obs_type = rain
         aggregate_type = sum_ge
-        aggregate_threshold = 0.01, inch
+        aggregate_threshold = 0.005, inch
+        summary_column = true
+        summary_heading = Total
 	minvalues = 0, 2, 4, 8, 12, 20   # Override default temperature colour scheme with rain specific scale
         maxvalues = 2, 4, 8, 12, 20, 32
 	colours = "#E0F8E0", "#A9F5A9", "#58FA58", "#2EFE2E", "#41E741", "#01DF01"
@@ -356,7 +365,9 @@
     #total monthly rainfall
     [[rain]]
 	obs_type = rain
-        aggregate_type = sum     
+        aggregate_type = sum
+	summary_column = true
+        summary_heading = Total     
         minvalues = 0, 1, 2, 3, 4, 5   # Override default temperature colour scheme with rain specific scale
         maxvalues = 1, 2, 3, 4, 5, 10
 	colours = "#E0F8E0", "#A9F5A9", "#58FA58", "#2EFE2E", "#41E741", "#01DF01"
@@ -365,6 +376,8 @@
     [[lightning_sum]]
         obs_type = lightningStrikes
         aggregate_type = sum
+	summary_column = true
+        summary_heading = Total
 	colours =   "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF"