perhaps attaching an example of an incorrect plot would help diagnose your
problem
I am using Bootstrap, and use fontsizes of 14 - 18 with no problems. Have
attached my skins/Images/skin.conf file, and also skins/Bootstrap/skin.conf
On Monday, 4 September 2017 01:32:21 UTC+3, Sam Roza wrote:
> Hello All,
>
> Working with the Bootstrap skin so that I could get some additional
> historical info out of WeeWx. I have loaded it and the skin page renders,
> and I have graphs and charts and historical data.
>
> Unfortunately, the labels and measurements on both X and Y axes are so
> tiny that I cannot discern it at all.
>
> I tried to change the settings:
>
> digitfontsize = 24
> labelfontsize = 25
>
> To 24 and 25 respectively (from 14, 15), but that doesn't appear to have
> impacted it like I thought it would.
>
> Anybody know what conf changes I need to make?
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
############################################################################################
############################################################################################
#
#
#
#
# STANDARD SKIN CONFIGURATION FILE
#
#
#
#
#
############################################################################################
#
#
# Copyright (c) 2010 Tom Keffer <[email protected]>
#
#
#
# See the file LICENSE.txt for your full rights.
#
#
#
############################################################################################
#
# $Revision: 737 $
# $Author: tkeffer $
# $Date: 2012-11-04 09:05:51 -0800 (Sun, 04 Nov 2012) $
#
############################################################################################
[Extras]
#
# Put any extra tags here that you want to be available in the templates
#
############################################################################################
[Units]
#
# This section is for managing the selection and formatting of units.
#
[[Groups]]
#
# For each group of measurements, this section sets what units to use
for it.
# NB: The unit is always in the singular. I.e., 'mile_per_hour', NOT
'miles_per_hour'
#
group_altitude = meter # Options are 'foot' or
'meter'
group_degree_day = degree_C_day # Options are 'degree_F_day'
or 'degree_C_day'
group_direction = degree_compass
group_moisture = centibar
group_percent = percent
group_pressure = mbar # Options are 'inHg', 'mmHg',
'mbar', or 'hPa'
group_radiation = watt_per_meter_squared
group_rain = mm # Options are 'inch', 'cm',
or 'mm'
group_rainrate = mm_per_hour # Options are
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
group_speed = knot # Options are
'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
group_speed2 = knot2 # Options are
'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
group_temperature = degree_C # Options are 'degree_F' or
'degree_C'
group_uv = uv_index
group_volt = volt
# The following unit groups are used internally and should not be
changed:
group_count = count
group_interval = minute
group_time = unix_epoch
[[StringFormats]]
#
# This section sets the string formatting for each type of unit.
#
centibar = %.0f
cm = %.2f
cm_per_hour = %.2f
degree_C = %.1f
degree_F = %.1f
degree_compass = %.0f
foot = %.0f
hPa = %.1f
inHg = %.3f
inch = %.2f
inch_per_hour = %.2f
km_per_hour = %.0f
km_per_hour2 = %.1f
knot = %.0f
knot2 = %.1f
mbar = %.1f
meter = %.0f
meter_per_second = %.1f
meter_per_second2 = %.1f
mile_per_hour = %.0f
mile_per_hour2 = %.1f
mm = %.1f
mmHg = %.1f
mm_per_hour = %.1f
percent = %.0f
uv_index = %.1f
volt = %.1f
watt_per_meter_squared = %.0f
NONE = " N/A"
[[Labels]]
#
# This section sets a label to be used for each type of unit.
#
centibar = " cb"
cm = " cm"
cm_per_hour = " cm/hr"
degree_C = °C
degree_F = °F
# degree_compass = °
degree_compass = " "
foot = " feet"
hPa = " hPa"
inHg = " inHg"
inch = " in"
inch_per_hour = " in/hr"
km_per_hour = " kph"
km_per_hour2 = " kph"
knot = " knots"
knot2 = " knots"
mbar = " mbar"
meter = " meters"
meter_per_second = " m/s"
meter_per_second2 = " m/s"
mile_per_hour = " mph"
mile_per_hour2 = " mph"
mm = " mm"
mmHg = " mmHg"
mm_per_hour = " mm/hr"
percent = %
volt = " V"
watt_per_meter_squared = " W/m²"
NONE = ""
[[TimeFormats]]
#
# This section sets the string format to be used
# each time scale.
#
day = %H:%M
week = %H:%M on %A
month = %d %b %Y %H:%M
year = %d %b %Y %H:%M
rainyear = %d %b %Y %H:%M
current = %d %b %Y %H:%M
ephem_day = %H:%M
ephem_year = %d %b %Y %H:%M
[[DegreeDays]]
#
# This section sets the base temperatures used for the calculation
# of heating and cooling degree-days.
#
# Base temperature for heating days, with unit:
heating_base = 65, degree_F
# Base temperature for cooling days, with unit:
cooling_base = 65, degree_F
[[Trend]]
time_delta = 10800 # 3 hours
time_grace = 300 # 5 minutes
############################################################################################
[Labels]
#
# Generic labels
#
# Set to hemisphere abbreviations suitable for your location:
hemispheres = N, S, E, W
[[Generic]]
#
# Generic labels, keyed by an observation type.
#
barometer = Barometer
dewpoint = Dew Point
heatindex = Heat Index
inHumidity = In Humid
inTemp = In Temp
outHumidity = Out Humid
outTemp = Out Temp
radiation = Radiation
rain = Rain
rainRate = Rain Rate
rxCheckPercent = ISS Signal Quality
windDir = Wind Dir
windGust = Gust Speed
windGustDir = Gust Dir
windSpeed = Wind Speed
windchill = Wind Chill
windgustvec = Gust Vector
windvec = Wind Vector
# This one is probably specific to my station!
extraTemp1 = In Temp
############################################################################################
[Language]
#
# Set a language below and labels will be overridden with any that are
specified in
# skins/languages/[language].conf
#
# Choices are: espanol
#language = espanol, francais
[ImageGenerator]
#
# This section lists all the images to be generated, what SQL types are to
# be included in them, along with many plotting options, such as color or
# font. There's a default for almost everything, if not specified
# below. Nevertheless, I've explicitly put in values, to make it easy to see
# and understand the options.
#
# Fonts can be anything accepted by the Python Imaging Library (PIL), which
# is currently 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). If a font can't be found,
# then a default font will be used.
#
#
# Anti-aliasing
#
anti_alias = 3
width = 2
show_daynight = true
# These control the appearance of the bands if they are shown.
# Here's a monochrome scheme:
# daynight_day_color = 0xdfdfdf
# daynight_night_color = 0xffff00
# daynight_edge_color = 0xd0d0d0
# Here's an alternative, using a blue/yellow tint:
# daynight_day_color = 0xf8ffff
# daynight_night_color = 0xfff8f8
# daynight_edge_color = 0xf8f8ff
# Richie's day-night colors
# daynight_day_color = 0xf8ffff
# daynight_night_color = 0xbcffde
# daynight_edge_color = 0xd9ffd1
# Nick's values - frankly monocrhome is best
#daynight_day_color = 0xdfdfdf
#daynight_night_color = 0xbbbbbb
#daynight_edge_color = 0xd0d0d0
#Andrew's values
daynight_day_color = 0x99ffff
daynight_night_color = 0xcccccc
daynight_edge_color = 0xccff99
# daynight_edge_color = 0xff0000
#image_width = 350
image_width = 450
#image_height = 250
image_height = 270
#image_background_color = 0xffffff
image_background_color = 0xf5f5f5
#chart_background_color = 0xffffff
#chart_gridline_color = 0xa0a0a0
chart_background_color = 0xd8d8d8
chart_gridline_color = 0xa0a0a0
top_label_font_path = /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
#top_label_font_size = 14
top_label_font_size = 18
unit_label_font_path = /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
#unit_label_font_size = 10
unit_label_font_size = 18
unit_label_font_color = 0x000000
bottom_label_font_path = /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
#bottom_label_font_size = 10
bottom_label_font_size = 16
bottom_label_font_color = 0x000000
bottom_label_offset = 9
axis_label_font_path = /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
#axis_label_font_size = 10
axis_label_font_size = 15
axis_label_font_color = 0x000000
# Options for the compass rose, used for progressive vector plots
rose_label = N
rose_label_font_path = /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
rose_label_font_size = 16
rose_label_font_color = 0x000000
# Default colors for the plot lines. These can be overridden for
# individual lines using option 'color'
chart_line_colors = 0xb48242, 0x4242b4, 0x42b442
# Type of line. Only 'solid' or 'none' is offered now
line_type = 'solid'
# Size of marker in pixels
marker_size = 8
# Type of marker. Pick one of 'cross', 'x', 'circle', 'box', or 'none'
marker_type ='none'
##
## 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 and aggregation. Can get overridden at any level.
plot_type = line
aggregate_type = none
chart_line_width = 2
time_length = 86400 # == 24 hours
# 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
[[day_images]]
x_label_format = %H:%M
bottom_label_format = %d %b %Y %H:%M
time_length = 86400 # == 24 hours
#width = 2
[[[daybarometer-Bootstrap]]]
[[[[barometer]]]]
[[[dayhumidity-Bootstrap]]]
[[[[outHumidity]]]]
[[[[inHumidity]]]]
[[[daytempchill-Bootstrap]]]
[[[[outTemp]]]]
[[[[heatindex]]]]
[[[[inTemp]]]]
#aggregate_type = avg
#aggregate_interval = 1800
[[[dayrain-Bootstrap]]]
# Make sure the y-axis increment is at least 0.02 for the rain plot:
yscale = None, None, 0.02
plot_type = bar
[[[[rain]]]]
aggregate_type = sum
aggregate_interval = 3600
# label = Rain (hourly total)
[[[daywind-Bootstrap]]]
[[[[windSpeed]]]]
[[[[windGust]]]]
# [[[daywinddir-Bootstrap]]]
# Hardwire in the y-axis scale for wind direction:
# yscale = 0.0, 360.0, 45.0
# Don't join lines
# Type of line. Only 'solid' or 'none' is offered now
# line_type = 'none'
# Size of marker in pixels
# marker_size = 6
# Type of marker. Pick one of 'cross', 'x', 'circle', 'box',
or 'none'
# marker_type ='cross'
# [[[[windDir]]]]
[[[daywinddir-Bootstrap]]]
width = 1
[[[[windvec]]]]
plot_type = vector
[[week_images]]
x_label_format = %a
bottom_label_format = %d %b %Y %H:%M
time_length = 604800 # == 7 days
aggregate_type = avg
aggregate_interval = 3600
chart_line_width = 2
[[[weekbarometer-Bootstrap]]]
[[[[barometer]]]]
[[[weekhumidity-Bootstrap]]]
[[[[outHumidity]]]]
[[[[inHumidity]]]]
[[[weektempchill-Bootstrap]]]
[[[[outTemp]]]]
[[[[heatindex]]]]
[[[[inTemp]]]]
# aggregate_type = avg
# aggregate_interval = 1800
[[[weekrain-Bootstrap]]]
# Make sure the y-axis increment is at least 0.02 for the rain plot:
yscale = None, None, 0.02
plot_type = bar
[[[[rain]]]]
aggregate_type = sum
aggregate_interval = 3600
# label = Rain (hourly total)
[[[weekwind-Bootstrap]]]
[[[[windSpeed]]]]
[[[[windGust]]]]
aggregate_type = max
# [[[weekwinddir-Bootstrap]]]
# Hardwire in the y-axis scale for wind direction:
# yscale = 0.0, 360.0, 45.0
# Don't join lines
# Type of line. Only 'solid' or 'none' is offered now
# line_type = 'none'
# Size of marker in pixels
# marker_size = 6
# Type of marker. Pick one of 'cross', 'x', 'circle', 'box',
or 'none'
# marker_type ='cross'
# [[[[windDir]]]]
[[[weekwinddir-Bootstrap]]]
width = 1
[[[[windvec]]]]
plot_type = vector
[[month_images]]
x_label_format = %d
bottom_label_format = %d %b %Y %H:%M
time_length = 2592000 # == 30 days
aggregate_type = avg
aggregate_interval = 10800 # == 3 hours
show_daynight = false
chart_line_width = 2
[[[monthbarometer-Bootstrap]]]
[[[[barometer]]]]
[[[monthhumidity-Bootstrap]]]
[[[[outHumidity]]]]
[[[[inHumidity]]]]
[[[monthtempchill-Bootstrap]]]
[[[[outTemp]]]]
[[[[heatindex]]]]
[[[[inTemp]]]]
# aggregate_type = avg
# aggregate_interval = 1800
[[[monthrain-Bootstrap]]]
# Make sure the y-axis increment is at least 0.02 for the rain plot:
yscale = None, None, 0.02
plot_type = bar
[[[[rain]]]]
aggregate_type = sum
aggregate_interval = 3600
label = Rain (hourly total)
[[[monthwind-Bootstrap]]]
[[[[windSpeed]]]]
[[[[windGust]]]]
aggregate_type = max
# [[[monthwinddir-Bootstrap]]]
# Hardwire in the y-axis scale for wind direction:
# yscale = 0.0, 360.0, 45.0
# Don't join lines
# Type of line. Only 'solid' or 'none' is offered now
# line_type = 'none'
# Size of marker in pixels
# marker_size = 6
# Type of marker. Pick one of 'cross', 'x', 'circle', 'box',
or 'none'
# marker_type ='cross'
# [[[[windDir]]]]
[[[monthwinddir-Bootstrap]]]
[[[[windvec]]]]
plot_type = vector
[[year_images]]
x_label_format = %b
bottom_label_format = %d %b %Y %H:%M
time_length = 31536000 # == 365 days
aggregate_type = avg
aggregate_interval = 86400
show_daynight = false
chart_line_width = 1
[[[yearbarometer-Bootstrap]]]
[[[[barometer]]]]
[[[yearhumidity-Bootstrap]]]
[[[[outHumidity]]]]
[[[[inHumidity]]]]
[[[yeartempmaxmin-Bootstrap]]]
[[[[min_outTemp]]]]
data_type = outTemp
aggregate_type = min
label = Min
[[[[outTemp]]]]
aggregate_type = max
label = Max
[[[yearrain-Bootstrap]]]
# Make sure the y-axis increment is at least 0.02 for the rain plot:
yscale = None, None, 0.02
plot_type = bar
[[[[rain]]]]
aggregate_type = sum
aggregate_interval = 3600
# label = Rain (hourly total)
[[[yearwind-Bootstrap]]]
[[[[windSpeed]]]]
[[[[windGust]]]]
# [[[yearwinddir-Bootstrap]]]
# Hardwire in the y-axis scale for wind direction:
# yscale = 0.0, 360.0, 45.0
# Don't join lines
# Type of line. Only 'solid' or 'none' is offered now
# line_type = 'none'
# Size of marker in pixels
# marker_size = 6
# Type of marker. Pick one of 'cross', 'x', 'circle', 'box',
or 'none'
# marker_type ='cross'
# [[[[windDir]]]]
[[[yearwinddir-Bootstrap]]]
[[[[windvec]]]]
plot_type = vector
############################################################################################
#
# The list of generators that are to be run:
#
[Generators]
generator_list = user.translategenerator.ImageGeneratorTranslated
# generator_list = weewx.imagegenerator.ImageGenerator
############################################################################################
############################################################################################
############################################################################################
#
#
#
#
# STANDARD SKIN CONFIGURATION FILE
#
#
#
#
#
############################################################################################
#
#
# Copyright (c) 2010 Tom Keffer <[email protected]>
#
#
#
# See the file LICENSE.txt for your full rights.
#
#
#
############################################################################################
#
# $Revision: 737 $
# $Author: tkeffer $
# $Date: 2012-11-04 09:05:51 -0800 (Sun, 04 Nov 2012) $
#
############################################################################################
[Extras]
#
# Put any extra tags here that you want to be available in the templates
#
# Here's an example.
# This radar image would be available as $Extras.radar_img
# (Comment the line out if you don't want to include the radar image)
radar_img = http://radar.weather.gov/ridge/lite/N0R/RTX_loop.gif
# This URL will be used as the image hyperlink:
radar_url =
http://radar.weather.gov/ridge/radar.php?product=NCR&rid=RTX&loop=yes
# Here's another. If you have a Google Analytics ID, uncomment and edit
# the next line, and the analytics code will automatically be included
# in your generated HTML files:
#googleAnalyticsId = UA-12345678-1
############################################################################################
[Units]
#
# This section is for managing the selection and formatting of units.
#
[[Groups]]
#
# For each group of measurements, this section sets what units to use
for it.
# NB: The unit is always in the singular. I.e., 'mile_per_hour', NOT
'miles_per_hour'
#
group_altitude = meter # Options are 'foot' or
'meter'
group_degree_day = degree_C_day # Options are 'degree_F_day'
or 'degree_C_day'
group_direction = degree_compass
group_moisture = centibar
group_percent = percent
group_pressure = mbar # Options are 'inHg', 'mmHg',
'mbar', or 'hPa'
group_radiation = watt_per_meter_squared
group_rain = mm # Options are 'inch', 'cm',
or 'mm'
group_rainrate = mm_per_hour # Options are
'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
group_speed = knot # Options are
'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
group_speed2 = knot2 # Options are
'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
group_temperature = degree_C # Options are 'degree_F' or
'degree_C'
group_uv = uv_index
group_volt = volt
# The following unit groups are used internally and should not be
changed:
group_count = count
group_interval = minute
group_time = unix_epoch
[[StringFormats]]
#
# This section sets the string formatting for each type of unit.
#
centibar = %.0f
cm = %.2f
cm_per_hour = %.2f
count = %.0f
degree_C = %.1f
degree_F = %.1f
degree_compass = %.0f
foot = %.0f
hPa = %.1f
inHg = %.3f
inch = %.2f
inch_per_hour = %.2f
km_per_hour = %.0f
km_per_hour2 = %.1f
knot = %.0f
knot2 = %.1f
mbar = %.1f
meter = %.0f
meter_per_second = %.1f
meter_per_second2 = %.1f
mile_per_hour = %.0f
mile_per_hour2 = %.1f
mm = %.1f
mmHg = %.1f
mm_per_hour = %.1f
percent = %.0f
uv_index = %.1f
volt = %.1f
watt_per_meter_squared = %.0f
NONE = " N/A"
[[Labels]]
#
# This section sets a label to be used for each type of unit.
#
centibar = " cb"
cm = " cm"
cm_per_hour = " cm/hr"
degree_C = °C
degree_F = °F
degree_compass = °
foot = " feet"
hPa = " hPa"
inHg = " inHg"
inch = " in"
inch_per_hour = " in/hr"
km_per_hour = " kph"
km_per_hour2 = " kph"
knot = " knots"
knot2 = " knots"
mbar = " mbar"
meter = " meters"
meter_per_second = " m/s"
meter_per_second2 = " m/s"
mile_per_hour = " mph"
mile_per_hour2 = " mph"
mm = " mm"
mmHg = " mmHg"
mm_per_hour = " mm/hr"
percent = %
volt = " V"
watt_per_meter_squared = " W/m²"
NONE = ""
[[TimeFormats]]
#
# This section sets the string format to be used
# each time scale.
#
day = %H:%M
week = %H:%M on %A
month = %d %b %Y %H:%M
year = %d %b %Y %H:%M
rainyear = %d %b %Y %H:%M
current = %d %b %Y %H:%M
ephem_day = %H:%M
ephem_year = %d-%b-%Y %H:%M
[[DegreeDays]]
#
# This section sets the base temperatures used for the calculation
# of heating and cooling degree-days.
#
# Base temperature for heating days, with unit:
heating_base = 65, degree_F
# Base temperature for cooling days, with unit:
cooling_base = 65, degree_F
[[Trend]]
time_delta = 10800 # 3 hours
time_grace = 300 # 5 minutes
############################################################################################
[Labels]
#
# Generic labels
#
# Set to hemisphere abbreviations suitable for your location:
hemispheres = N, S, E, W
[[Generic]]
#
# Generic labels, keyed by an observation type.
#
barometer = Barometer
dewpoint = Dew Point
heatindex = Heat Index
inHumidity = In Humid
inTemp = In Temp
outHumidity = Out Humid
outTemp = Out Temp
radiation = Radiation
rain = Rain
rainRate = Rain Rate
rxCheckPercent = ISS Signal Quality
windDir = Wind Dir
windGust = Gust Speed
windGustDir = Gust Dir
windSpeed = Wind Speed
windchill = Wind Chill
windgustvec = Gust Vector
windvec = Wind Vector
# This one is probably specific to my station!
extraTemp1 = Pond Temperature
############################################################################################
[Language]
#
# Set a language below and labels will be overridden with any that are
specified in
# skins/languages/[language].conf
#
# Choices are: espanol, francais, italian, german
# language = espanol
############################################################################################
[Almanac]
# The labels to be used for the phases of the moon:
moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full,
Waning gibbous, Last quarter, Waning crescent
############################################################################################
[CheetahGenerator]
# This section is used by the generator CheetahGenerator, and specifies
# which files are to be generated from which template.
encoding = utf8 # Possible encodings are 'html_entities', 'utf8', or
'strict_ascii'
search_list_extensions = user.historygenerator.MyXSearch,
user.lastrain.lastRainTags
[[SummaryByMonth]]
#
# Reports that summarize "by month"
#
# [[[NOAA_month]]]
# encoding = strict_ascii
# template = NOAA/NOAA-YYYY-MM.txt.tmpl
[[[NOAA_month_html]]]
template = NOAA/NOAA-YYYY-MM.html.tmpl
[[SummaryByYear]]
#
# Reports that summarize "by year"
#
# [[[NOAA_year]]]
# encoding = strict_ascii
# template = NOAA/NOAA-YYYY.txt.tmpl
[[[NOAA_year_html]]]
template = NOAA/NOAA-YYYY.html.tmpl
[[ToDate]]
#
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
#
[[[history]]]
template = history.html.tmpl
[[HTMLFiles]]
#
# Pages that do not require time interval specific tags
#
[[[about]]]
template = about.html.tmpl
# [[[news]]]
# template = news.html.tmpl
#
[[[stats]]]
template = stats.html.tmpl
[[[day]]]
template = index.html.tmpl
[[[day2]]]
template = indextxt.html.tmpl
[[[week]]]
template = week.html.tmpl
[[[month]]]
template = month.html.tmpl
[[[year]]]
template = year.html.tmpl
[[[forecast]]]
template = forecast.html.tmpl
[[[dams]]]
template = dam_levels.html.tmpl
[[[plants]]]
template = plants.html.tmpl
[[[plantsdash]]]
template = plantlinkdash.html.tmpl
############################################################################################
[CopyGenerator]
#
# This section is used by the generator CopyGenerator
#
# List of files that are to be copied at the first invocation of the
generator only
copy_once = css/*, js/*
# List of files to be copied every time:
# copy_always =
############################################################################################
[BootstrapLabels]
#
# Labels specific to the Bootstrap template
#
title = "The weather, in Moni, Limassol, Cyprus"
location_href = "http://en.wikipedia.org/wiki/Moni,_Cyprus"
footer = "© Milner 2015"
[[headings]]
front_page = The Weather
forecast = Forecast
dams = Dam levels
stats = Stats
history = History
graphs = Graphs
news = News
about = About
plants = Plants
last_update = Last updated
[[timespans]]
day = Last 24 hours
today = Since midnight # today = any time since midnight
week = Past 7 days
month = Past 30 days
year = Past year
ever = Since
[[status]]
latitude = Latitude:
longitude = Longitude:
altitude = Altitude:
station_uptime = Station uptime:
server_uptime = Server uptime:
[[history_tables]]
min_temp = Minimum Temperature
max_temp = Maximum Temperature
avg_temp = Average Temperature
rain = Rainfall (mm)
rain_days= Days when rain fell
NOAA1 = Monthly summaries (
NOAA2 = select by year
NOAA3 = ) & Daily summaries (
NOAA4 = select by month/year
NOAA5 = )
[[minmax]]
min = Low
max = High
[[plantpages]]
readings = Readings
dash = Dashboard
############################################################################################
[HistoryReport]
#
# Settings for the HTML month/year colour coded summary table generator
#
# minvalues, maxvalues and colours should contain the same number of
elements.
#
# For example, the [min_temp] example below, if the minimum temperature
measured in
# a month is between -50 and -10 (degC) then the cell will be shaded in
html colour code #0029E5.
#
# Default is temperature scale
minvalues = -50, -10, -5, 0, 5, 10, 15, 20, 25, 30, 35
maxvalues = -10, -5, 0, 5, 10, 15, 20, 25, 30, 35, 60
colours = "#0029E5", "#0186E7", "#02E3EA", "#04EC97", "#05EF3D2,
"#2BF207", "#8AF408", "#E9F70A", "#F9A90B", "#FC4D0D", "#FF0F2D"
monthnames = Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
# The Raspberry Pi typically takes 15+ seconds to calculate all the
summaries with a few years of weather date.
# refresh_interval is how often in minutes the tables are calculated.
refresh_interval = 60
[[min_temp]]
obs_type = outTemp # obs_type can be any weewx reading
aggregate_type = min # Any of these: 'sum', 'count',
'avg', 'max', 'min'
minvalues = -50, -11, 0, 5, 10, 15, 17, 20, 23, 25, 28, 32, 36, 40
maxvalues = -11, 0, 5, 10, 15, 17, 20, 23, 25, 28, 32, 36, 40, 100
colours = "#2584BC", "#25BCA8", "#25BC66", "#25BC2C", "#52BC25",
"#50ED0D", "#97ED0D", "#C8ED0D", "#EDDE0D", "#EDA60D", "#ED760D", "#CC6633",
"#FF0066", "#FF0000"
[[max_temp]]
obs_type = outTemp
aggregate_type = max
minvalues = -50, -11, 0, 5, 10, 15, 17, 20, 23, 25, 28, 32, 36, 40
maxvalues = -11, 0, 5, 10, 15, 17, 20, 23, 25, 28, 32, 36, 40, 100
colours = "#2584BC", "#25BCA8", "#25BC66", "#25BC2C", "#52BC25",
"#50ED0D", "#97ED0D", "#C8ED0D", "#EDDE0D", "#EDA60D", "#ED760D", "#CC6633",
"#FF0066", "#FF0000"
[[avg_temp]]
obs_type = outTemp
aggregate_type = avg
minvalues = -50, -11, 0, 5, 10, 15, 17, 20, 23, 25, 28, 32, 36, 40
maxvalues = -11, 0, 5, 10, 15, 17, 20, 23, 25, 28, 32, 36, 40, 100
colours = "#2584BC", "#25BCA8", "#25BC66", "#25BC2C", "#52BC25",
"#50ED0D", "#97ED0D", "#C8ED0D", "#EDDE0D", "#EDA60D", "#ED760D", "#CC6633",
"#FF0066", "#FF0000"
[[rain]]
obs_type = rain
aggregate_type = sum
minvalues = 0, 1, 3, 5, 7, 10, 15, 20, 25, 30, 50, 100, 150
maxvalues = 1, 3, 5, 7, 10, 15, 20, 25, 30, 50, 100, 150, 300
colours = "#FFFFFF", "#CCFFFF", "#99FFFF", "#33FFFF", "#99FFCC",
"#00FFCC", "#00FF99", "#66CCFF", "#00CCFF", "#6699FF", "#3399FF", "#0066FF",
"#0033FF"
[[rain_days]]
obs_type = rain
aggregate_type = sum_ge
aggregate_threshold = 0.01, mm
minvalues = 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 15
maxvalues = 1, 2, 3, 4, 5, 6, 7, 8, 10, 15, 32
colours = "#FFFFFF", "#CCFFFF", "#99FFFF", "#33FFFF", "#99FFCC",
"#00FFCC", "#00FF99", "#66CCFF", "#00CCFF", "#6699FF", "#3399FF"
[[NOAA]]
#
# Creates a table of links to NOAA reports with the tag $NOAA_table
# Comment out [[NOAATable]] if you do not need this.
#
# Where to find the NOAA files and how they are named
# Uses Python datetime convention
(docs.python.org/2/library/datetime.html):
# %Y = YYYY, %y = YY, %m = MM, etc.
#
# year_filename = NOAA/NOAA-%Y.txt
year_filename = NOAA/NOAA-%Y.html
# month_filename = NOAA/NOAA-%Y-%m.txt
month_filename = NOAA/NOAA-%Y-%m.html
############################################################################################
[GaugeGenerator]
#
# Settings for the Gauge Generator
#
image_width = 160
image_height = 160
# Anti aliasing makes nicer looking gauges.
# 2 = generate a gauge image twice the final size and shrink it back down
using anti aliasing.
anti_alias = 3
line_thickness = 1.4
#test_none_readings = true
# Colors...
#
# Format is 0xBBGGRR, so a pinky-purple color (r=FF, g=00, B=99) which
would have
# an HTML tag of #FF0099 is expressed as 0x9900FF
#fill_color = 0x4242b4
#background_color = 0xffffff
#label_color = 0x000000
#dial_color = 0x707070
#needle_outline_color = 0xb48242
#needle_fill_color = 0xb48242 # Leave option out for a transparent needle
#text_color = 0xb48242
fill_color = 0x58fa82
background_color = 0xf2f2f2
label_color = 0x000000
dial_color = 0x000033
# needle_outline_color = 0xb48242
needle_outline_color = 0xff4000
# needle_fill_color = 0xb48242 # Leave option out for a transparent needle
text_color = 0x000000
needle_fill_color = 0xff4000
# How far the gauge extends, e.g. 180 is half a full dial, 270 is three
quarters
# This is ignored when plotting wind direction which always uses 360.
# Must be an integer
dial_arc = 270
# Most options can be omitted, however majorstep is mandatory. minvalue and
maxvalue are required for all
# gauges except wind direction.
digitfontsize = 14
labelfontsize = 16
[[outTemp]]
# minvalue = -20
# maxvalue = 40
minvalue = -10
maxvalue = 50
majorstep = 10
minorstep = 2
digitformat = %d
# history = 24
history = 3
# bins = 90
bins = 60
gaugetitle = "Temperature"
[[barometer]]
minvalue = 970
maxvalue = 1050
majorstep = 20
minorstep = 5
digitformat = %d
# history = 24
history = 3
# bins = 80
bins = 40
gaugetitle = "Barometer"
[[outHumidity]]
minvalue = 0
maxvalue = 100
majorstep = 20
minorstep = 5
# history = 24
# bins = 50
history = 3
bins = 20
gaugetitle = "Humidity"
[[windSpeed]]
minvalue = 0
# maxvalue = 40
maxvalue = 50
majorstep = 10
minorstep = 2
# history = 24
# bins = 40
history = 3
bins = 25
gaugetitle = "Wind speed"
# Weewx returns None if no reading is returned from the weather
station. Set none_value if you still want
# the gauge to be drawn with a needle and a value. Otherwise the needle
is omitted and "N/A" is displayed
# on the gauge.
none_value = 0
[[windGust]]
minvalue = 0
# maxvalue = 40
maxvalue = 50
majorstep = 10
minorstep = 2
# history = 24
# bins = 40
history = 3
bins = 25
none_value = 0
gaugetitle = "Gust speed"
[[windDir]]
majorstep = 90
minorstep = 30
digitformat = %03d
invert = false
# history = 24
# bins = 16
aggregate_type = None
# compass_labels = 1
history = 3
bins = 16
compass_labels = 1
gaugetitle = "Wind"
[[windRose]]
image_width = 360
image_height = 360
majorstep = 45
minorstep = 22.5
invert = false
history = 24
bins = 16
digitformat = None
compass_labels = 1
# Place rings at beaufort scale in knots
rings = 1,4,7,11,17,22,28,34,41,48,56,64,200
# Color rings from green to red
ring_colors = 0xbbffdd, 0x55aa00, 0x00ff00, 0x00ffaa, 0xffff00,
0x00ffff, 0x00ccff, 0x0077dd, 0x0000ff, 0x8800ff, 0xff55ff, 0x8800bb, 0xff0000
needle_fill_color = None # transparent
aggregate_type = None # much quicker db query without aggregation
############################################################################################
#
# The list of generators that are to be run:
#
[Generators]
generator_list = user.gaugeengine.GaugeGenerator,
user.translategenerator.CheetahGeneratorTranslated,
weewx.reportengine.CopyGenerator