-
Notifications
You must be signed in to change notification settings - Fork 5
/
changelog
197 lines (194 loc) · 8.51 KB
/
changelog
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
v0.6.7
* removed distutils dependency, now works under python 3.13
v0.6.6
* fix incorrect windrun unit conversion
v0.6.5
* fix issue that caused loop based windrun to remain at 0.0
* removed all reference to DarkSky from installer config
v0.6.4
* fix issue that prevented Zambretti forecast from being used as a scroller
source in some instances
v0.6.3
* fix issue with missing or sporadic windGust/windSpeed loop data
* fix issue with rain rate values being incorrectly converted in some
instances
v0.6.2
* fix issue that resulted in incorrect formatting of some non-metric
observations
* fix unhandled TypeError that occurs if the WeeWX engine restarts as a
result of a recoverable error, issue #30 refers
v0.6.1
* fixed issue where a user specified max_cache_age config option is used as a
string instead of an integer
* simplified installation instructions contained in the readme
v0.6.0
* fixed bug whereby 10 minute average wind bearing always matched current
wind bearing
* significant rewrite of get_field_value() method in preparation for full
implementation of field map
v0.5.5
* fixed bug in date and dateFormat fields that resulted in the incorrect
'last rainfall' date and time being displayed on rainfall gauge mouseovers
* as a result of the date and dateFormat bug fix date_format and time_format
config options are now limited to a number of fixed formats
v0.5.4
* added the inadvertently omitted humidex field
* added field TrrateTM
v0.5.3
* fixed bug where incorrect output field name is used for inside temperature
and associated aggregates/times
* added inside humidity and associated aggregates/times to gauge-data.txt
v0.5.2
* fixed bug where tempTH contained today's outTemp minimum rather than
maximum
v0.5.1
* fixed bug where the default metric rain rate units used cm per hour rather
than mm per hour
v0.5.0
* added ability to rsync gauge-data.txt to an rsync capable server, thanks to
John Kline
* reworked buffering of loop data, now use dedicated scalar and vector buffer
objects similar in operation to the WeeWX accumulators
* implemented a field_map config item allowing certain JSON output field
properties to be controlled by the user
* field currentSolarMax is no longer directly calculated by rtgd but is now
populated from WeeWX field maxSolarRad
* field lastRainTipISO is now populated
* rtgd now logs the rtgd version number on WeeWX startup
* removed deprecated field Tbeaufort
* fixed bug that caused rtgd to abort if the first loop packet did not
contain inTemp
* changed required WeeWX version to 4.0.0
* revised config installed by installer
v0.4.2
* fix error in some expressions that include > and < where operands could be
None
v0.4.1
* fix max() error under python3
* implemented kludgy work around for lack of response message when using HTTP
POST under python 3
v0.4.0
* updated to work under WeeWX v4.0 using either python 2 or 3
v0.3.7
* revised WU API response parsing to eliminate occasional errors where no
forecast text was found
v0.3.6
* added support for new weather.com based WU API
* removed support for old api.wunderground.com based WU API
* updated to gauge-data.txt version 14 through addition of inTemp max/min and
times fields (intempTH, intempTL, TintempTH and TintempTL)
* minor reformatting of some RealtimeGaugeDataThread __init__ logging
* reformatted up front comments in rtgd.py
* changed the install instructions to restart rather than stopping then
starting the WeeWX service
v0.3.5
* added support for Darksky forecast API
* added support for Zambretti forecast text (subject to weeWX forecasting
extension being installed)
* refactored code for obtaining scroller text
* each scroller text source now uses its own 2nd level (ie [[ ]]) config with
the scroller source specified under [RealtimeGaugeData]
v0.3.4 (not released)
* added support for optional fields mrfall and yrfall
v0.3.3
* implemented atomic write when writing gauge-data.txt to file
v0.3.2
* modified rtdgthread queue management to fix 100% CPU usage issue
v0.3.1
* added ignore_lost_contact config option to ignore the sensor contact
check result
* refactored lost contact flag check code, now uses a dedictaed method to
determine whether sensor contact has been lost
* changed a syslog entry to indicate 'rtgd' as the source not 'engine'
v0.3.0
* added ability to include Weather Underground forecast text
v0.2.14
* changed default decimal places for foot, inHg, km_per_hour and
mile_per_hour
* reformatted rtgd.py change summary
* minor refactoring of RtgdBuffer class
v0.2.13
* unnecessary whitespace removed from JSON output (issue #2)
* JSON output now sorted alphabetically by key (issue #2)
* revised debug logging (issue #7). Now supports debug=0,1,2 and 3:
0 - standard weeWX output, no debug info
1 - as per debug=0, advises whether Zambretti is available, logs minor
non-fatal errors (eg posting)
2 - as per debug=1, logs events that occur, eg packets queued, packets
processed, output generated
3 - as per debug=2, logs packet/record contents
* gauge-data.txt destination directory tree is created if it does not exist
(issue #8)
v0.2.12 (never released)
* fixed empty sequence ValueError associated with BearingRangeFrom10 and
BearingRangeTo10
* fixed division by zero error when calculating windrun during first archive
period of the day
v0.2.11
* can now include local date/time in scroller text by including strftime()
format directives in the scroller text
* gauge-data.txt content can now be sent to a remote URL via HTTP POST.
Thanks to Alec Bennett for his idea
v0.2.10
* now supports reading scroller text from a text file specified by the
scroller_text config option in [RealtimeGaugeData]
v0.2.9
* reworked ten minute gust calculation to fix problem where red gust 'wedge'
would occassionally temporarily disappear from wind speed gauge
v0.2.8
* Reworked day max/min calculations to better handle missing historical data.
If historical max/min data is missing day max/min will default to the
current value for the obs concerned.
v0.2.7
* loop packets are now cached to support partial loop packet stations
* windSpeed obtained from archive is now only handled as a ValueTuple to
avoid units issues
v0.2.6
* updated docstring config options to reflect current library of available
options
* 'latest' and 'avgbearing' wind directions now return the last non-None
wind direction respectively when their feeder direction is None
* implemented optional scroller_text config option allowing fixed scroller
text to be specified in lieu of Zambretti forecast text
* renamed rtgd thread and queue variables
* no longer reads unit group config options that have only one possible unit
* use of mmHg, knot or cm units reverts to hPa, mile_per_hour and mm
respectively due to weeWX or SteelSeries Gauges not understanding the unit
(or derived unit)
* made gauge-data.txt unit code determination more robust
* reworked code that formats gauge-data.txt field data to better handle None
values
v0.2.5
* fixed error where altitude units could not be changed from meter
* rainrate and windrun unit groups are now derived from rain and speed units
groups respectively
* solar calc config options no longer searched for in [StdWXCalculate]
v0.2.4
* fixed error where rain units could not be changed form mm
* pressures now formats to correct number of decimal places
* reworked temp and pressure trend formatting
v0.2.3
* Fixed logic error in windrose calculations.
* Minor tweaking of windrose processing.
v0.2.2
* Added config option apptemp_binding specifying a binding containing appTemp
data. apptempTL and apptempTH default to apptemp if binding not specified
or it does not contain appTemp data.
* added missing mile string format to installer
v0.2.1
* fixed error that resulted in incorrect pressL and pressH values
v0.2
* now runs in a thread to eliminate blocking impact on weewx
* now calculates WindRoseData
* now calculates pressL and pressH
* frequency of generation is now specified by a single config option
min_interval
* gauge-data.txt output path is now specified by rtgd_path config option
* added config options for windrose period and number of compass points to
be generated
v0.1.2
* fix error that occurred when stations do not emit radiation
v0.1.1
* better handle loop observations that are None
v0.1
* initial release