test skin
--
You received this message because you are subscribed to the Google Groups
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-development/9769dabb-9666-4b5a-9d2b-e3709cc7048an%40googlegroups.com.
###############################################################################
# SEASONS SKIN CONFIGURATION FILE #
# Copyright (c) 2018 Tom Keffer <[email protected]> and Matthew Wall #
# See the file LICENSE.txt for your rights. #
###############################################################################
###############################################################################
# The following section is for any extra tags that you want to be available in
# the templates
[Extras]
###############################################################################
[Labels]
# Override some labels. No need to identify these as a "Battery"
# or "Voltage", because that is included in the template.
[[Generic]]
###############################################################################
# The CheetahGenerator creates files from templates. This section
# specifies which files will be generated from which template.
[CheetahGenerator]
# Possible encodings are 'html_entities', 'utf8', 'strict_ascii', or
'normalized_ascii'
encoding = html_entities
[[ToDate]]
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
[[[index]]]
template = index.html.tmpl
###############################################################################
# The CopyGenerator copies files from one location to another.
[CopyGenerator]
# List of files to be copied only the first time the generator runs
copy_once = seasons.css, seasons.js, favicon.ico, font/*.woff, font/*.woff2
# List of files to be copied each time the generator runs
# copy_always =
###############################################################################
# The ImageGenerator creates image plots of data.
[ImageGenerator]
# This section lists all the images to be generated, what SQL types are to
# be included in them, along with many plotting options. There is a default
# for almost everything. Nevertheless, values for most options are included
# to make it easy to see and understand the options.
#
# Fonts can be anything accepted by the Python Imaging Library (PIL), which
# includes truetype (.ttf), or PIL's own font format (.pil). See
# http://www.pythonware.com/library/pil/handbook/imagefont.htm for more
# details. Note that "font size" is only used with truetype (.ttf)
# fonts. For others, font size is determined by the bit-mapped size,
# usually encoded in the file name (e.g., courB010.pil). A relative path
# for a font is relative to the SKIN_ROOT. If a font cannot be found,
# then a default font will be used.
#
# Colors can be specified any of three ways:
# 1. Notation 0xBBGGRR;
# 2. Notation #RRGGBB; or
# 3. Using an English name, such as 'yellow', or 'blue'.
# So, 0xff0000, #0000ff, or 'blue' would all specify a pure blue color.
image_width = 500
image_height = 180
image_background_color = "#ffffff"
chart_background_color = "#ffffff"
chart_gridline_color = "#d0d0d0"
# Setting to 2 or more might give a sharper image with fewer jagged edges
anti_alias = 1
top_label_font_path = font/OpenSans-Bold.ttf
top_label_font_size = 14
unit_label_font_path = font/OpenSans-Bold.ttf
unit_label_font_size = 12
unit_label_font_color = "#787878"
bottom_label_font_path = font/OpenSans-Regular.ttf
bottom_label_font_size = 12
bottom_label_font_color = "#787878"
bottom_label_offset = 3
axis_label_font_path = font/OpenSans-Regular.ttf
axis_label_font_size = 10
axis_label_font_color = "#787878"
# Options for the compass rose, used for progressive vector plots
rose_label = N
rose_label_font_path = font/OpenSans-Regular.ttf
rose_label_font_size = 9
rose_label_font_color = "#222222"
# Default colors for the plot lines. These can be overridden for
# individual lines using option 'color'.
chart_line_colors = "#4282b4", "#b44242", "#42b442", "#42b4b4", "#b442b4"
# Default fill colors for bar charts. These can be overridden for
# individual bar plots using option 'fill_color'.
chart_fill_colors = "#72b2c4", "#c47272", "#72c472", "#72c4c4", "#c472c4"
# Type of line. Options are 'solid' or 'none'.
line_type = 'solid'
# Size of marker in pixels
marker_size = 8
# Type of marker. Options are 'cross', 'x', 'circle', 'box', or 'none'.
marker_type ='none'
# The following option merits an explanation. The y-axis scale used for
# plotting can be controlled using option 'yscale'. It is a 3-way tuple,
# with values (ylow, yhigh, min_interval). If set to "None", a parameter is
# set automatically, otherwise the value is used. However, in the case of
# min_interval, what is set is the *minimum* y-axis tick interval.
yscale = None, None, None
# For progressive vector plots, you can choose to rotate the vectors.
# Positive is clockwise.
# For my area, westerlies overwhelmingly predominate, so by rotating
# positive 90 degrees, the average vector will point straight up.
vector_rotate = 90
# 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.05
# 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.
show_daynight = true
# These control the appearance of the bands if they are shown.
# Here's a monochrome scheme:
daynight_day_color = "#fdfaff"
daynight_night_color = "#dfdfe2"
daynight_edge_color = "#e0d8d8"
# Here's an alternative, using a blue/yellow tint:
#daynight_day_color = "#fffff8"
#daynight_night_color = "#f8f8ff"
#daynight_edge_color = "#fff8f8"
# What follows is a list of subsections, each specifying a time span, such
# as a day, week, month, or year. There's nothing special about them or
# their names: it's just a convenient way to group plots with a time span
# in common. You could add a time span [[biweek_images]] and add the
# appropriate time length, aggregation strategy, etc., without changing
# any code.
#
# Within each time span, each sub-subsection is the name of a plot to be
# generated for that time span. The generated plot will be stored using
# that name, in whatever directory was specified by option 'HTML_ROOT'
# in weewx.conf.
#
# With one final nesting (four brackets!) is the sql type of each line to
# be included within that plot.
#
# Unless overridden, leaf nodes inherit options from their parent
# Default plot parameters
plot_type = line
aggregate_type = none
width = 1
time_length = 86400 # 24 hours
[[day_images]]
x_label_format = %H:%M
bottom_label_format = %x %X
time_length = 97200 # 27 hours
[[[dayGTS]]]
[[[[GTS]]]]
[[week_images]]
x_label_format = %d
bottom_label_format = %x %X
time_length = 604800 # 7 days
aggregate_type = avg
aggregate_interval = 3600
[[[weekGTS]]]
[[[[GTS]]]]
[[month_images]]
x_label_format = %d
bottom_label_format = %x %X
time_length = 2592000 # 30 days
aggregate_type = avg
aggregate_interval = 10800 # 3 hours
show_daynight = false
[[[monthGTS]]]
[[[[GTS]]]]
[[year_images]]
x_label_format = %m/%d
bottom_label_format = %x %X
time_length = 31536000 # 365 days
aggregate_type = avg
aggregate_interval = 86400
show_daynight = false
[[[yearGTS]]]
[[[[GTS]]]]
###############################################################################
[Generators]
# The list of generators that are to be run:
generator_list = weewx.cheetahgenerator.CheetahGenerator,
weewx.imagegenerator.ImageGenerator, weewx.reportengine.CopyGenerator