Commit Graph

10 Commits

Author SHA1 Message Date
Tom Keffer
a8f01f7bed Suppressed lots of eclipse "Unused variable" warnings. 2016-03-11 12:02:26 -08:00
gjr80
a40b1f2d24 Added a TRANS-DAYS command line parameter to wee_database
wee_database previously did daily summary backfills in one datbase
transaction. This resulted in errors for large archives being processed
on machines with relatively small amounts of memory. The TRANS-DAYS
command line parameter allows the backfill to be completed in a series
of database transactions using no more than TRANS-DAYS data at a time.
To provide a consistent approach to logging some minor changes were made
to the logging in DaySummaryManager.backfill_day_summary(),
DaySummaryManager.drop_daily() and StdArchive.setup_database().
2016-02-14 19:31:26 +10:00
gjr80
0d1ad690f7 Fix unassigned variable error if --dry-run used 2015-08-27 15:55:39 +10:00
gjr80
7869638dbf wee_database now only accepts 1 'verb' at a time
Refer #64. Not as clean as I would like due to optparse limitations but
seems to do the job.
2015-08-25 13:30:49 +10:00
gjr80
2d5b098507 Add capability to transfer a weewx 'archive' to another database of any type supported by weewx
Added --transfer option with mandatory --dest-binding parameter.
Included --dry-run parameter to do everything except the actual
transfer. Also reformatted usage display along functional lines as in
wee_extension.
2015-08-24 16:26:58 +10:00
Tom Keffer
88326d6acc Fixed error in logging message. 2015-07-09 06:21:21 -07:00
Tom Keffer
1a16cc48f4 Fixed error in posting to the log after creating main database.
Changed from using DBManager.get_manager_dict() to
DBManager.get_manager_dict_from_config()
2015-07-08 11:26:53 -07:00
Tom Keffer
847bbec426 Document the name change for
wee_device
  wee_database
2015-04-28 16:26:02 -07:00
Matthew Wall
9dc279c0c4 use renamed wee_X utilities in rpm and deb configs 2015-04-25 21:29:21 -04:00
Matthew Wall
32ac3898d7 rename wee_X utilities again 2015-04-25 21:19:57 -04:00