forked from chaunceygardiner/weewx-loopdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchanges.txt
425 lines (355 loc) · 12.9 KB
/
changes.txt
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
loopdata change history
-----------------------
3.3.2 Release 2022/12/19
------------------------
Don't try to convert string observations to string.
3.3.1 Release 2022/12/08
------------------------
Fix for Issue #10. Due to foloating point errors, one could
get math domain error for calling sqrt on a negative number.
Thanks https://github.com/hoetzgit for reporting this.
3.3 Release 2022/11/23
----------------------
1. Rather than just being able to use the 2m, 10m and 24h rolling
time period tags, one can now use arbitrary minute tags from
1m to 1440m; and also arbitrary hour tags from 1h to 24h.
For example, the maximum windspeed in the last 15 minutes
is specified as 15m.wind.max. In the last 17 minutes, it is
specified as 17m.wind.max.
3.2 Release 2022/11/22
----------------------
1. Lots of code refactoring.
2. Functionally equivalent to v3.1.
3.1 Release 2022/11/19
----------------------
1. Add support for alltime tag.
Note: The sample skin is updated to use alltime tags.
For existing installations that actually use the
sample skin, you need to add the following fields
to the fields clause in the LoopData section in
weewx.conf:
'alltime.outTemp.max.formatted'
'alltime.outTemp.min.formatted'
'alltime.rain.sum.formatted'
'alltime.wind.rms.formatted'
'alltime.windGust.max.formatted'
3.0.1 Release 2022/10/30
------------------------
1. Much more efficient rolling time periods (2m, 10m, 24h, trend).
2. Add support 24h tag.
Note: The sample skin is updated to use 24h tags.
For existing installations that actually use the
sample skin, you need to add the following fields
to the fields clause in the LoopData section in
weewx.conf:
'24h.outTemp.max.formatted'
'24h.outTemp.min.formatted'
'24h.rain.sum.formatted'
'24h.wind.rms.formatted'
'24h.windGust.max.formatted'
3. The python3-sortedcontainers package is now required. To install
it on debian, type:
sudo apt install python3-sortedcontainers
2.11 Release 2022/09/25
-----------------------
1. Specify what drivers this extension has been tested with.
2. Continue if windrun and/or beaufort can't be calculated.
2.10 Release 2022/02/18
-----------------------
1. Bugfix. Use loop frequency as the weight when adding to the accumulators.
2.9 Release 13 February 2022
----------------------------
1. Fix to work with WeeWX 4.6
2.8 Release ?? ??? 2020
-----------------------
1. Add support hour tag.
Note: The sample skin is updated to use the hour tags.
For existing installations that actually use the
sample skin, you need to add the following fields
to the fields clause in the LoopData section in
weewx.conf:
'hour.outTemp.max.formatted'
'hour.outTemp.min.formatted'
'hour.rain.sum.formatted'
'hour.wind.rms.formatted'
'hour.windGust.max.formatted'
2. Add support for 2m tag.
Note: The sample skin is updated to use the hour tags.
For existing installations that actually use the
sample skin, you need to add the following fields
to the fields clause in the LoopData section in
weewx.conf:
'2m.outTemp.max.formatted'
'2m.outTemp.min.formatted'
'2m.rain.sum.formatted'
'2m.wind.rms.formatted'
'2m.windGust.max.formatted'
3. In addition to the already supported trend.barometer.desc,
trend.barometer.code is also supported. The code can
be an integer between -4 and 4, where the value
correspsonds to:
-4 Falling Rapidly
-3 Falling Quickly
-2 Falling
-1 Falling Slowly
0 Steady
1 Rising Slowly
2 Rising
3 Rising Quickly
4 Rising Rapidly
4. windrun and beaufort (the deprecated syntax for beaufort) now work correctly.
5. Experimental feature -- It is likely these observations will be moved to a
separate plugin (and available to loopdata).
current, 10m, trend, hour and day periods now support windrun_<dir>. That is,
the following (which can be used to make a windrose):
windrun_N
windrun_NNE
windrun_NE
windrun_ENE
windrun_E
windrun_ESE
windrun_SE
windrun_SSE
windrun_S
windrun_SSW
windrun_SW
windrun_WSW
windrun_W
windrun_WNW
windrun_NW
windrun_NNW
2.7.2 Release 16 Nov 2020
-------------------------
1. Fix for customer reported problem. Exception in
code when no rainyear fields are included in
fields list.
2.7.1 Release 28 Aug 2020
-------------------------
1. Ignore aggreagate fields base on xtypes as there are
no day accumulators from which to reconstruct inital
values at start up for these fields.
2.7 Release 11 Aug 2020
-----------------------
1. Bug fix for accumulators at startup from daily summaries.
The daily summary was not being selected in each accumulator
range.
2. Include tests where week_start is 0 (rather than default 6).
2.6 Release 9 Aug 2020
----------------------
1. Include sample report LoopDataReport to demonstrate
capabilities of the loopdata extension.
2.5 Release 2 Aug 2020
----------------------
1. Add support for week, month, year and rainyear.
2. Add LoopData>LoopFrequency>seconds setting in weewx.conf.
This should be set to the number of seconds between
loop packets. This is needed to pass the proper
weights to the accumulator. This setting defaults
to 2.5 (2.5 seconds is the frequency of loop packets
for the Davis Vantage Pro 2).
3. Limit time_delta used for trends to 259200 (3 days).
2.5.b2
------
Fix for LoopFrequency being ignored (was always using default).
Delay accumulator creation until the station time is known (first loop packet).
2.5.b1 Release
--------------
1. Add support for week, month, year and rainyear.
2. Add LoopData>LoopFrequency>seconds setting in weewx.conf.
This should be set to the number of seconds between
loop packets. This is needed to pass the proper
weights to the accumulator. This setting defaults
to 2.5 (2.5 seconds is the frequency of loop packets
for the Davis Vantage Pro 2).
2.0.1 Release
-------------
1. Handle case where driver emits packets in a unit_system
other than the database unit_system.
2.0 Release
-----------
1. The release is identical to rc0; except for a small
type annotation change and additional tests.
2. Updated documentation (README).
2.0.rc0 07/22/2020
------------------
Release Candidate 0
1. Fix regression in day accumulator introduced in 2.0.b14.
2. Add test to cover above (added a previous day packet
so that tests cover a day boundary.
3. Only accumulate specified day fields in the day accumulator.
2.0.b15 07/21/2020
------------------
1. Breaking change. If loop_data_dir is a relative path, it
is now relative to the target_report directory. After
installing, check loop_data_dir before you restart WeeWX.
2. Default target_report is now WeatherBoard (it was Seasons).
3. For new installs of WeatherBoard and LoopData, this will
now work out of the box for all flavors of WeeWX 4/Py3.7+
installs.
2.0.b14 07/21/2020
------------------
[No user facing changes (but please report issues).]
1. Internal refactoring so that tests use identical code
path on each loop packet as production uses.
2.0.b13 07/21/2020
------------------
[No user facing changes (but please report issues).]
1. Clean up dead code.
2. Simplify creation of target report converter.
3. Elminate unused archivet period accumulator.
2.0.b12 07/20/2020
------------------
1. Test and fixes for trend.barometer.desc
2.0.b11 07/20/2020
------------------
1. Ability to localize trend.barometer.desc text in weewx.conf.
2.0.b10 07/19/2020
------------------
1. Substantial refactoring. More tests.
2.0.b9 07/19/2020
-----------------
1. 10m. is now a full fledged time period (rolling 10 minutes)
and supports all that day. supports. For example, 10m.wind.gustdir
2.0.b8 07/18/2020
-----------------
1. Save values for trends for only trend fields specified in fields clause.
2. Only parse fields one time.
2.0.b7 07/18/2020
-----------------
1. trend no longer restricted to barometer.
2.0.b6 07/13/2020
-----------------
1. Install no longer adds the rename line to weewx.conf. rename
is no longer supported. Note: it will not remove rename on
existing installations, but rename will be ignored.
1. Updated README.
2.0.b5 07/12/2020
-----------------
1. Fix for case where barometer is reported intermittently.
2. LoopData now tested in simulator for both intermittent case and
when batometer/pressure never reported.
2.0.b4 07/12/2020
-----------------
1. If not observation available, the key/value pair
will not be present in the json file.
2.0.b3 07/12/2020
-----------------
1. Handle stations with no barometer.
2.0.b2 07/12/2020
-----------------
1. Watch for None when formatting.
2. pyflakes and mypy cleanup.
2.0.b1 07/11/2020
-----------------
1. Rewritten to use cheetah like identifiers for fields (e.g., $day.rain.sum).
2. Old names are NOT supported. For existing installations, fields need to be
renamed in weewx.conf (LoopData fields), your Cheetah templates/JavasScript.
1.3.19 07/09/2020
-----------------
1. Catch and log setup errors. Allow WeeWX to continue with LoopData.
1.3.18 07/09/2020
-----------------
1. Handle null barometer values in database.
1.3.17 07/08/2020
-----------------
1. Bug fix for wind (not FMT_) version of day stats.
The values were not being formatted to the proper
number of decimal places.
2. Add missing highs and lows for vector stats (aka, wind).
1.3.16 07/07/2020
-----------------
1. Add missing highs and lows for vector stats (aka, wind).
2. Add formatting for all times (e.g., FMT_dateTime, FMT_T_HI_wind)
1.3.15 07/06/2020
-----------------
Fix OutOfSpan error caused by creating accumulator with current time
rather than packet time.
1.3.14 07/06/2020
-----------------
1. Add support for VectorStats: Wind Avg, Wind RMS, Wind Vector Avg, Wind Vector Dir.
2. More tests written.
1.3.13 07/05/2020
-----------------
Fall back to using copy.deepcopy for earlier WeeWX 4 versions.
1.3.12 07/05/2020
-----------------
1. Properly import weeutil.config
1.3.11 07/05/2020
-----------------
1. pyflakes found some issues including lots of unused imports.
2. Update one test.
1.3.10 07/05/2020
-----------------
1. Redo how 10m max gust is handled when windGust not in packet.
Simply substitue windSpeed for windGust.
2. Test overriding km_per_hour label in weewx.conf Defaults>Units.
3. Add test of CC3000 packets.
4. Add test of IP100 packets.
5. Add test of Simulator packets.
1.3.9 07/05/2020
----------------
1. Properly construct dictionary of target_report so formatting
and conversion actually does what it should.
2. Fix a problem reported by a user running pyflakes. USUnit
wasn't qualified.
3. Fix an issue reported. windGust was assumed to be in the
packet. Now, if not present, max windSpeed in the archive period
accumulator stats is used to compute 10m gust.
1.3.8 07/05/2020
----------------
Require at least Python 3.7.
Handle None for windSpeed and and windDir in the database (as some drivers write None rather than omitting).
More tests.
1.3.7 07/04/2020
----------------
Refactor loopdata.py to facilitate testing.
1.3.6 07/04/2020
----------------
Add tests for conversions and formatting:
weewx.METRIC -> metric reports
weewx.METRIC -> us reports
weewx.US -> metric reports
weewx.US -> us reports
weewx.METRICWX -> metric reports
weewx.METRICWX -> us reports
1.3.5 07/03/2020
----------------
Converting to report units was being done correctly for observations.
This release fixes conversions for highs, lows, sums, averages and weighed averages.
1.3.4 07/02/2020
----------------
Installer uses FMT_SUM_rain rather than FMT_day_rain_total in LoopData section of weewx.conf.
day_rain_total is not emitted by many drivers and was a source of confusion.
1.3.3 07/02/2020
----------------
Refrain from trying to format the sum of unix_epoch observations.
1.3.2 07/02/2020
----------------
Catch FMT_SUM_ formatting exceptions and print error to log with obstype,
unit_type and unit_group.
1.3.1 06/30/2020
----------------
Fixed issue when specifying port in rsync section. RsyncUpload was expecting a string
for port, loopdata was passing an int.
1.3 06/29/2020
--------------
Introduced AVG_/FMT_AVG_ and WAVG_/FMT_WAVG_ prefixes for today's average
and weighted average of an observation, respectively.
1.2.2 06/28/2020
----------------
Introduced SUM_ and FMT_SUM_ prefixes for today's totals of observations.
This is most useful for rain, where SUM_rain (or FMT_SUM_rain) will yield
today's cumultive rainfall.
1.2.1 06/27/2020
----------------
Inexplicably, just a version bump. No other changes.
1.2 06/27/2020
--------------
Fixed issue where loop thread was created multiple times.
1.1 06/27/2020
--------------
Fixes to work with Metric/Mixed database and to correctly target
non-US reports.
1.0 01/19/2020
--------------
Initial release of loopdata.