6.12
"skin.conf.cydia.diff" As-Distributed Configuration
--- /etc/weewx/skins/Seasons/skin.conf.dist 2019-02-06 07:27:06.000000000 -0600
+++ cydia/skins/Seasons/skin.conf.cydia 2019-02-13 20:50:15.529379399 -0600
@@ -4,6 +4,13 @@
# See the file LICENSE.txt for your rights. #
###############################################################################
+# ccr . 2019 Feb 12 . Upgrade to weeWX 3.9.1.
+# ccr . 2019 Jan 09 . Provide other GDD calculation methods.
+# ccr . 2018 Mar 20 . Add copy_once Cydia/cydia.css.
+# ccr . 2018 Mar 06 . CydiaGenerator parms.
+# ccr . 2018 Feb 14 . Cydia *.csv report.
+# ccr . 2017 Sep 26 . Customization.
+
skin_semantics = 2
###############################################################################
@@ -27,6 +34,15 @@
# the analytics code will be included in your generated HTML files:
#googleAnalyticsId = UA-12345678-1
+ radar_img = http://images.intellicast.com/WxImages/_200w/Radar/usa.gif # 2017 Sep 26
+ radar_url = http://www.intellicast.com/National/Radar/Current.aspx?location=USMN0657&animate=true
+
+ cydia_1_img = "Cydia/C_pomonella_First_Flight.png" # 2019 Jan 26
+ cydia_1_url = "Cydia/C_pomonella_First_Flight.html"
+
+ cydia_2_img = "Cydia/C_pomonella_Second_Flight.png" # 2019 Jan 26
+ cydia_2_url = "Cydia/C_pomonella_Second_Flight.html"
+
###############################################################################
[Labels]
@@ -71,6 +87,11 @@
encoding = strict_ascii
template = NOAA/NOAA-YYYY.txt.tmpl
+ [[[CydiaDDData]]] # 2018 Feb 14
+ # This creates a *.csv file used by the CydiaGenerator.
+ encoding = strict_ascii
+ template = Cydia/NOAA-YYYY.csv.tmpl
+
[[ToDate]]
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
@@ -193,7 +214,7 @@
# This defines what fraction of the difference between maximum and minimum
# horizontal chart bounds is considered a gap in the samples and should not
# be plotted.
- line_gap_fraction = 0.01
+ line_gap_fraction = 0.03 # 2018 Feb 12
# This controls whether day/night bands will be shown. They only look good
# on plots wide enough to show individual days such as day and week plots.
@@ -538,9 +559,117 @@
# plot_type = vector
# aggregate_type = max
+###############################################################################
+
+[CydiaGenerator] # 2018 Mar 06
+
+ # This section provides options to CydiaGenerator, which predicts
+ # development stages of various insects. The generator produces a
+ # *.png graph and an *.html page for each species, below. The
+ # graph inherits defaults from [[year_images]] of
+ # [ImageGenerator], above. These may be overridden.
+
+ # CydiaGenerator reads the *.csv file, which is output by
+ # CheetahGenerator according to Cydia/YTD.csv.tmpl, above. This
+ # *.csv file contains daily max/min temps, which are needed for
+ # the special growing degree-day (GDD) models implemented by
+ # CydiaGenerator. These models are quite different from and ought
+ # not to be confused with degree-day (DD) models used by
+ # architects and building-construction engineers. CydiaGenerator
+ # performs similar calculations for each species and creates a
+ # graph and a report for each one. Species may differ by
+ # temperature thresholds and cutoffs between which development can
+ # occur and for which GDDs are accumulated. CydiaGenerator
+ # projects a treatment schedule for each species, based on the
+ # year-to-date accumulation of GDDs.
+
+ image_width = 600
+ image_height = 360
+ plot_type = line
+ x_label_format = "%m '%y"
+ top_label_font_size = 18
+ unit_label_font_size = 12
+ bottom_label_font_size = 12
+ axis_label_font_size = 12
+ horizon__font_color = 0x0000ff
+ horizon_top_color = 0xbbbbff
+ horizon_bottom_color = 0xdfdfdf
+ horizon_edge_color = 0x0000ff
+ horizon_gradient = 20
+ horizon_label_font_path = /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
+ horizon_label_font_size = 12
+ horizon_label_font_color = 0x0000f0
+ horizon_label_offset = 5, -15
+
+ [[Cydia/C_pomonella_First_Flight]]
+
+ # Biofix is the cumulative growing degree-days at which the
+ # first sustained capture occurs of male codling moths in
+ # pheromone traps.
+
+ # Insect development has been shown to be linearly dependent
+ # on various models of cumulative growing degree-days,
+ # depending on species. The benefit of the growing
+ # degree-days models of insect development is that they are
+ # more or less consistently predictive in various locations
+ # and in succeeding years. The growing degree-days
+ # calculations use the max and min temps for each day. They
+ # are thus mostly immune to missing readings. In fact,
+ # precise calculation of growing degree-days is probably less
+ # important than proper interpretation of results and prompt
+ # application of suggested insect controls.
+
+ # In terms of codling moth, the estimated Biofix, the
+ # threshold, the cutoff, and the offsets, below, are generally
+ # applicable to most apple-growing regions of the country.
+ # You are encouraged to check with your County Agent of the
+ # United States Department of Agriculture Cooperative
+ # Extension for exact model parameters for your location.
+
+ # The usual method of calculation for codling moth is
+ # gdd_single_sine_horizontal_cutoff. Other methods are:
+ # dd_conventional, gdd_single_sine_vertical_cutoff,
+ # gdd_single_sine_no_cutoff, and
+ # gdd_single_sine_intermediate_cutoff.
+
+ start_date = None # Default New Year's Day.
+ end_date = None # Default today.
+ label = Cumulative GDD -- C. pomonella (1st Flight)
+ threshold = 50, degree_F
+ cutoff = 88, degree_F
+ method = gdd_single_sine_horizontal_cutoff # 2019 Jan 08
+ biofix_estimated = 175, degree_F_day
+ biofix_actual = None
+
+ [[[Offsets_from_Biofix]]]
+
+ [[[[Egg Laying]]]]
+ offset = 100, degree_F_day
+
+ [[[[Egg Hatching]]]]
+ offset = 250, degree_F_day
+
+ [[Cydia/C_pomonella_Second_Flight]]
+
+ start_date = None # Default New Year's Day.
+ end_date = None # Default today.
+ label = Cumulative GDD -- C. pomonella (2nd Flight)
+ threshold = 50, degree_F
+ cutoff = 88, degree_F
+ method = gdd_single_sine_horizontal_cutoff
+ biofix_estimated = 1175, degree_F_day
+ biofix_actual = None
+
+ [[[Offsets_from_Biofix]]]
+
+ [[[[Egg Laying]]]]
+ offset = 100, degree_F_day
+
+ [[[[Egg Hatching]]]]
+ offset = 250, degree_F_day
###############################################################################
[Generators]
# The list of generators that are to be run:
- generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.imagegenerator.ImageGenerator, weewx.reportengine.CopyGenerator
+ generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.imagegenerator.ImageGenerator, weewx.cydiagenerator.CydiaGenerator, weewx.reportengine.CopyGenerator
|