Commit Graph

2002 Commits

Author SHA1 Message Date
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
Matthew Wall
4d71118607 added option to specify which data should be emitted by simulator 2014-10-28 18:04:06 +00:00
Matthew Wall
c8e55e8e6a include schemas package in the install 2014-10-28 18:01:39 +00:00
Tom Keffer
f10a09d629 The initializer for the DBManager object (and subclasses) now takes a weedb connection object. 2014-10-28 17:31:04 +00:00
Matthew Wall
dd4d3dbd54 calculate each variable in its own function. rainRate per-period, with option to change length of period for archive records (but not loop packets) 2014-10-28 17:20:03 +00:00
Tom Keffer
cca6d44df2 Fixed logging name. 2014-10-28 15:55:37 +00:00
Tom Keffer
bcce9e4a31 Created new package 'schemas'.
Moved default schema to schemas/wview.py
2014-10-27 16:43:59 +00:00
Tom Keffer
191f8412e7 Changed from weewx.archive.Archive to weewx.database.DBManager 2014-10-27 16:25:51 +00:00
Tom Keffer
144c36d4b8 Changed prep_database() to get_database_config() 2014-10-27 13:26:47 +00:00
Matthew Wall
41b5e7924a enable StdWXCalculate 2014-10-27 03:46:06 +00:00
Matthew Wall
98e78daae0 engine does not have archive_interval member 2014-10-26 19:21:07 +00:00
Matthew Wall
385ded865a use archive interval from engine 2014-10-26 19:16:42 +00:00
Matthew Wall
37ee12915c wxengine is now engine 2014-10-26 18:52:12 +00:00
Matthew Wall
8a690f1724 added StdWXCalculate, tested with simulator 2014-10-26 18:35:26 +00:00
Tom Keffer
c8acb94fd1 Changed the name of module weewx.wxengine to weewx.engine.
Updated TODO.txt
2014-10-26 16:16:57 +00:00
Tom Keffer
43c2cee5cc Got things working with optional table name. 2014-10-26 02:07:12 +00:00
Tom Keffer
eb964effa6 Continuing to work on allowing the table name to be specified in archive files. 2014-10-26 01:31:11 +00:00
Tom Keffer
b5ac38e5ce Started on allowing the archive table name to be specified. 2014-10-26 01:01:12 +00:00
Tom Keffer
0664e294d3 Moved WXDailySummary to its own file, wxstats
Moved heating and cooling degree code into it, so it does not appear in the tag code.
2014-10-25 23:30:57 +00:00
Tom Keffer
7b0798a1f3 Updated TODO list. 2014-10-25 23:04:28 +00:00
Tom Keffer
c45d6c8ada Catch up with trunk through R2422. Includes rewrite of weedb and FTP uploader. 2014-10-24 18:47:22 +00:00
Tom Keffer
204194a38b Used decorator to convert sqlite and mysql exceptions into weedb exceptions.
Introduced exception type weedb.DatabaseError as the base class of all weedb exceptions.
Filled out the "not implemented" functions in the abstract base classes Connection.
2014-10-24 18:10:29 +00:00
Tom Keffer
8484bfa77a Deleted misdirected branching. 2014-10-21 13:45:05 +00:00
Tom Keffer
acc9336cc6 2014-10-21 13:39:14 +00:00
Tom Keffer
75b8e4fc86 Fixed problem in OS uptime 2014-10-21 00:05:44 +00:00