浏览代码

Created variables for network links

Added variables for weather network links
Josh Smith 8 年之前
父节点
当前提交
ff725de34b
共有 1 个文件被更改,包括 6 次插入10 次删除
  1. 6 10
      skin.conf

+ 6 - 10
skin.conf

@@ -45,15 +45,19 @@
     #CWOP
     #used in all the templates pages
     cwop = CW9009
+    cwop_url = http://www.findu.com/cgi-bin/wxpage.cgi?call=CW9009&last=24
 
     #mesowest
     mwest = C9009
+    mwest_url = http://mesowest.utah.edu/cgi-bin/droman/meso_base_dyn.cgi?stn=C9009&unit=0&timetype=LOCAL
 
     #weather underground
     wunderground = KIDMERID44
+    wu_url = https://www.wunderground.com/personal-weather-station/dashboard?ID=KIDMERID44#history
 
     #CoCoRaHS
-    #crahs =
+    crahs = ID-AD-36
+    crahs_url = http://www.cocorahs.org/ViewData/ViewDailyPrecipReport.aspx?DailyPrecipReportID=1dbd316d-4350-42d2-934b-11b8fc01927d
     
 ###############################################################################
 
@@ -352,7 +356,7 @@
         obs_type = rain
         aggregate_type = sum_ge
         aggregate_threshold = 0.02, inch
-	#units = Days
+	units = Days
         minvalues = 0, 3, 6, 9, 12, 18   # Override default temperature colour scheme with rain specific scale
         maxvalues = 6, 12, 18, 24, 30, 50
 	colours = "#E0F8E0", "#A9F5A9", "#58FA58", "#2EFE2E", "#01DF01", "#01DF01"
@@ -365,14 +369,6 @@
         #maxvalues = 0.06, 0.10, 0.25, 0.50, 1.00, 1.50
 	colours = "#E0F8E0", "#A9F5A9", "#58FA58", "#2EFE2E", "#01DF01", "#01DF01"
 
-    [[rain_max]]
-	obs_type = rain
-        aggregate_type = maxsum
-        #aggregate_threshold = 0.02, inch
-        #minvalues = 0.00, 0.02, 0.05, 0.10, 0.20, 0.30   # Override default temperature colour scheme with rain specific scale
-        #maxvalues = 0.06, 0.10, 0.25, 0.50, 1.00, 1.50
-	colours = "#E0F8E0", "#A9F5A9", "#58FA58", "#2EFE2E", "#01DF01", "#01DF01"
-
     [[NOAA]]
         #
         # Creates a table of links to NOAA reports with the tag $NOAA_table