Commit Graph

2026 Commits

Author SHA1 Message Date
Tom Keffer
b4e46bbb50 Greatly simplified tags, getting rid of two classes. Changed syntax used to explicitly bind to a database. 2014-11-01 23:58:51 +00:00
Tom Keffer
c834cb882e Fixed problem when one of the trend values is None.
Regression test in test suites.
2014-11-01 21:06:48 +00:00
Matthew Wall
550a7f00a4 fix catchup implementation. better control of debug messages. 2014-11-01 19:46:55 +00:00
Matthew Wall
b9f0cd5386 adjust imports in drivers 2014-11-01 19:38:53 +00:00
Tom Keffer
aaf9abc0ff Got rid of no-longer-needed class ValueTupleDict. 2014-11-01 16:39:58 +00:00
Tom Keffer
604ed09594 Got rid of no longer needed class ValueDict 2014-11-01 16:24:25 +00:00
Tom Keffer
2fcfce5941 For the "current" record in the default binding, hits the database just once. Uses class CurrentRecord 2014-11-01 16:15:39 +00:00
Tom Keffer
c05f79c94b Rewrote how $db.$current works. Simplified it. 2014-11-01 14:35:37 +00:00
Matthew Wall
314ac9bba6 alphabetize stations in debian setup. remove unused imports. 2014-11-01 03:03:54 +00:00
Tom Keffer
0ecac541e9 Fixed repeated keywork argument.
Moved configurator to the bottom.
2014-11-01 01:53:20 +00:00
Matthew Wall
12ef117500 use parser to report command-line errors. fix a few post-configurator typos. fixed wakup typo in vantage eeprom method. 2014-11-01 01:18:10 +00:00
Tom Keffer
384a912ec7 Now does late binding when computing trends. Allows bad observation types to be easily found. 2014-11-01 01:13:11 +00:00
Matthew Wall
fa9f75446e apply configurator pattern to vantage driver 2014-11-01 00:58:22 +00:00
Matthew Wall
800568f3ce rename AbstractStation to AbstractDevice. attempt to address some PEP warnings, but gave up on the 'weak' (superfluous) ones. 2014-11-01 00:16:29 +00:00
Tom Keffer
4b0cb88b4e Now allows syntax like $trend($time_delta=3600).barometer.
Added test for it.
2014-10-31 15:58:28 +00:00
Tom Keffer
f765afdc6f Now makes sure old test directory is removed before starting. 2014-10-31 15:56:13 +00:00
Tom Keffer
6a86ca0fb0 Added version number to daily metadata. 2014-10-31 13:59:20 +00:00
Tom Keffer
f9b3555218 Got wee_config_database working with new database architecture 2014-10-31 13:40:32 +00:00
Matthew Wall
cafc3ffcde better error handling and retries for ws1 and ultimeter 2014-10-31 04:30:42 +00:00
Matthew Wall
08b58b968a apply configurator pattern to fousb driver 2014-10-31 04:18:13 +00:00
Matthew Wall
a043379f66 apply configurator pattern to ws28xx driver 2014-10-31 03:18:27 +00:00
Matthew Wall
6479cef141 apply configurator pattern to ws23xx driver 2014-10-31 02:42:53 +00:00
Matthew Wall
b4d08619f1 apply configurator pattern to te923 2014-10-31 02:17:16 +00:00
Tom Keffer
182270d1da Better error reporting when attempting to use an unknown database.
Minor refactoring to increase readability
2014-10-31 01:57:13 +00:00
Tom Keffer
1f5b842bd0 Fixed a few minor Python errors. 2014-10-31 01:48:55 +00:00
Matthew Wall
8f6993d631 added retries for cc3000. minor renaming of classes. 2014-10-31 00:27:58 +00:00
Matthew Wall
5d760bbf77 forgot an import 2014-10-30 23:57:18 +00:00
Matthew Wall
55602d1b78 being refactoring of wee_config_* 2014-10-30 23:30:52 +00:00
Tom Keffer
06fc198313 Changed engine configuration. Now section [[WxEngine]] is section [[Services]] 2014-10-30 19:59:39 +00:00
Tom Keffer
8cc21e0c28 Clarified comments and logging messages. 2014-10-30 18:18:44 +00:00
Tom Keffer
89ed01cc72 Now tests for explicit database binding in the template 2014-10-30 18:17:35 +00:00
Tom Keffer
67c8f629f5 First pass at the database / binding refactoring. Passes the test suites. 2014-10-30 16:40:20 +00:00
Tom Keffer
f9e9c12382 Fixed bug in querying for schemas that prevented older versions of MySQL (V4.X) from working. 2014-10-30 13:12:12 +00:00
Matthew Wall
db8cb26ae8 eliminate getAltitude* 2014-10-29 15:04:01 +00:00
Matthew Wall
8ffd6f2408 include the gnu-recommended license.txt reference 2014-10-29 15:00:51 +00:00
Matthew Wall
6777003b03 clean up names of variables, comments, and formatting 2014-10-29 12:59:12 +00:00
Tom Keffer
5cd35b0403 More consistent use of the term 'dbmanager' at the expense of 'archive'. 2014-10-29 04:45:59 +00:00
Tom Keffer
b661e1c344 s/dbm/dbmanager/g
s/get_binding/get_database/g
2014-10-29 04:37:11 +00:00
Tom Keffer
2dac1c7d72 The main thread now shares database connections through an instance of DBBinder. 2014-10-29 03:49:56 +00:00
Matthew Wall
80f477ef85 fix indents after refactoring 2014-10-29 03:46:14 +00:00
Tom Keffer
b56356c074 Fixed a few typos.
Get altitude from engine.stn_info
2014-10-29 03:09:00 +00:00
Matthew Wall
178a618fbf convert to US, do calculations, then convert back. cache the dbmanager. 2014-10-29 01:36:20 +00:00
Matthew Wall
7881773b5a fix altitude_ft reference 2014-10-29 00:09:07 +00:00
Matthew Wall
d23169b3d8 remove derived calculations from all drivers 2014-10-28 23:32:23 +00:00
Tom Keffer
94a6871572 Deleted the no longer used module restful 2014-10-28 22:51:14 +00:00
Tom Keffer
eb85c0c1b0 Got template tests working. 2014-10-28 22:50:28 +00:00
Tom Keffer
abfa9286ec Simplified the test for the Simulator. Now uses the "open_database" convenience function. 2014-10-28 22:24:20 +00:00
Tom Keffer
a3a0aa7d7f Got test for the Simulator working. 2014-10-28 21:51:22 +00:00
Tom Keffer
dc913ccbda Simplified how optional values get passed into the tags 2014-10-28 21:29:15 +00:00
Tom Keffer
9b9deb0397 Got database and daily summary tests working.
Fixed bug in minimum wind speed in accumulator.
2014-10-28 21:28:41 +00:00