-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshin.conf
224 lines (193 loc) · 8.33 KB
/
shin.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
##############################################################################
# #
# Highcharts for weewx Extension - Skin Configuration File #
# #
# Version: 0.2.2 Date: 4 September 2018 #
# #
##############################################################################
[Extras]
# minimum y-axis range values
[[MinRange]]
outTemp = 10, degree_C
windchill = 10, degree_C
barometer = 20, hPa
windSpeed = 10
rain = 5, mm
radiation = 500
UV = 16
[[WindRose]]
# Plot title. Default = 'Wind Rose'
title = Wind Rose
# Plot windSpeed or windGust ?
source = windGust
# Period (in seconds) over which windrose is drawn
period = 86400, 604800, month, year #24 hours, 7 days, month and year
# Aggregate function to be applied.
# Defaults to:
# no aggregate for periods <= 1 week
# avg for periods > 1 week
# Leave empty to accept default or enter aggregate function to be
# applied to all periods
aggregate_type =
# Period over which aggregate will be calculated
# Defaults to:
# no interval (ie no aggregation) for periods <= 1 week
# 1 hour for periods > 1 week <= 1 month
# 1 day for periods > 1 month
# Leave empty to accept default or enter aggregate interval be applied
# to all periods
aggregate_interval =
# No of 'petals' in windrose (eg 4 = N, E, S and W,
# 8 = N, NE, E, SE, S, SW, W, NW). Normally 16 but can be 4 or 8
petals = 16
# Petal colours. 0xRGB format or can use colour names. First colour
# is for Calm/0 speed, 2nd for 1st band, 2nd for 3rd band etc. Only
# 7 colours will be used default is 'lightblue', 'blue',
# 'midnightblue', 'forestgreen', 'limegreen', 'green', 'greenyellow'
petal_colors = aqua, 0x0099FF, 0x0033FF, 0x009900, 0x00CC00, 0x33FF33, 0xCCFF00
# List of boundary points for wind speed bands used in plot. Comma
# separated list of 7 numbers starting at 0 anding at 1. Numbers must
# increase from left to right.
# Default is 0.0, 0.1, 0.2, 0.3, 0.5, 0.7, 1.0
speedfactor = 0.0, 0.1, 0.2, 0.3, 0.5, 0.7, 1.0
# List source in legend title (true/fasle). Default = true
legend_title = true
# Include band % in legend (true/false). Default = true
band_percent = true
# Include calm % in centre of bullseye (true/false). Default = false
bullseye_percent = true
# No of decimal places for % display (eg 7.2%)
precision = 1
# Diameter of bullseye of windrose, integer, normally 2 to 5, defaults
# to 3
bullseye_size = 20
# Colour of bullseye
bullseye_color = 0xFFFACD
# Upper calm windspeed limit when using avg or max aggregate functions
# on wind rose.
# When using avg or max the aggregagte wind speed is seldom 0. This
# setting is the upper limit for what is considered 'calm' eg 0.1km/h.
# Units used are as per skin [Units] [[Groups]] setting
calm_limit = 0.5
###############################################################################
[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 = hPa # 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 = mile_per_hour # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
group_speed2 = mi # Options are 'mi', 'km'
group_temperature = degree_C # Options are 'degree_F' or 'degree_C'
group_temperature2 = C # Options are 'F' or '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
group_elapsed = second
[[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 = °
foot = " feet"
hPa = " hPa"
inHg = " inHg"
inch = " in"
inch_per_hour = " in/hr"
km_per_hour = " km/h"
km_per_hour2 = " km/h"
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 for
# 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
##############################################################################
[CheetahGenerator]
search_list_extensions = user.highchartsSearchX.highchartsMinRanges, user.highchartsSearchX.highchartsWeek, user.highchartsSearchX.highchartsYear, user.highchartsSearchX.highchartsWindRose
encoding = strict_ascii
[[ToDate]]
# Highcharts week json data
[[[WeekJSON]]]
template = json/week.json.tmpl
HTML_ROOT = /var/www/pws/highcharts
# Highcharts week json data
[[[YearJSON]]]
template = json/year.json.tmpl
HTML_ROOT = /var/www/pws/highcharts
##############################################################################
[Generators]
generator_list = weewx.cheetahgenerator.CheetahGenerator