Commit Graph

59 Commits

Author SHA1 Message Date
Tom Keffer
444f33d0d1 Reintegrated with the 'generalize' branch. 2013-01-19 16:05:49 +00:00
Tom Keffer
4d5b3526bb Fixed bug for when sunset is after 24h UTC. 2013-01-18 20:23:00 +00:00
Tom Keffer
16c0d225f4 Use attribute self.stn_info for lat/lon information.
Changed function parameter ordering to lat/lon.
Added doctests for function tobool(). Moved it to weeutil.weeutil
Presently crashes if sunset is after midnight UTC.
2013-01-18 19:27:04 +00:00
Tom Keffer
912f20760f Applied day-night patch from Matthew Wall. Images show a different color for nighttime. 2013-01-18 18:16:16 +00:00
Tom Keffer
8bc7f2c11c weeutil.weeutil._get_object now just returns the object type and does not instantiate it. 2013-01-14 22:41:30 +00:00
Tom Keffer
c45e7bd2ed Changed syntax of exception to Python V2.X 2013-01-01 16:18:17 +00:00
Tom Keffer
b008af71e8 Added support for Rsynch, contributed by user William Page. 2012-12-31 19:35:13 +00:00
Tom Keffer
b3c67be6c3 V2.0.0b14 2012-10-31 03:56:28 +00:00
Tom Keffer
668ca00b7b Fixed bug in GenWithPeek 2012-10-20 13:19:50 +00:00
Tom Keffer
4991ef5fa3 Added conversion test for mmHg 2012-10-13 01:24:29 +00:00
Tom Keffer
051fb2c0b8 Moved WEEWX_ROOT up to main section of the configuration file. 2012-09-28 18:46:37 +00:00
Tom Keffer
096876a205 Created new package 'weedb' 2012-09-27 12:32:50 +00:00
Tom Keffer
6d2aac2fa6 Snapshot while working on mysql port. 2012-09-27 12:28:39 +00:00
Tom Keffer
8b8d1d3b32 Started abstracting databases, in preparation for supporting MySQL 2012-09-26 21:14:44 +00:00
Tom Keffer
d52b9362e7 Suppressed warnings about unresolved import in cases where the user does not have pysqlite2 2012-09-25 18:09:34 +00:00
Tom Keffer
f0ab6f3c10 A timespan object can now have start time equal to stop time. 2012-08-25 21:19:56 +00:00
Tom Keffer
24222a7d52 Section references changed from 'Reports' to 'StdReport' 2012-08-25 14:22:05 +00:00
Tom Keffer
10334d1429 Removed posts to syslog within _get_object() 2012-08-25 04:09:07 +00:00
Tom Keffer
8b87d089a4 Added class GenWithPeek, a generator with peek ahead. 2012-07-15 14:57:55 +00:00
Tom Keffer
b121c3112e Catch up with main trunk V1.14.1 2012-07-10 01:36:27 +00:00
Tom Keffer
0d5ce4cdd9 Fixed bug that caused the reporting thread to terminate if an exception is thrown while doing FTP. 2012-07-06 15:52:11 +00:00
Tom Keffer
e058f3d48a Catch up with V1.14.0 2012-06-19 14:22:51 +00:00
Tom Keffer
7cdadf521b Moved daemon.py back to bin 2012-06-18 18:40:39 +00:00
Tom Keffer
965158ade7 Moved daemon.py to weeutil. 2012-06-18 00:26:54 +00:00
Tom Keffer
6315f79db6 Changed umask in daemon.py to 0022. 2012-06-14 14:17:07 +00:00
Tom Keffer
8615d0f362 Moved get_font_handle 2012-04-16 00:42:52 +00:00
Tom Keffer
c3558cbb59 Started adding accumulators 2012-04-04 14:38:37 +00:00
Tom Keffer
08282d7450 Rewrote config_database. Added config_vp and config_database to the list of scripts to be installed.
Moved daemon.py to weeutil.
2012-03-27 15:36:35 +00:00
Tom Keffer
f35da76636 Conditionally imports sqlite3. If it does not suppor the "with" statement, then imports pysqlite2 as sqlite3. 2012-03-24 16:01:28 +00:00
Tom Keffer
4687502d87 Now always imports 'sqlite3' (never pysqlite2). Simplified installation instructions. Fixed a bug that prevented reports from being run using the Python version of Cheetah's NameMapper utility. 2012-02-13 01:35:08 +00:00
Tom Keffer
697cd8df90 Version 1.12.4b1.
Now looks for latest version of pysqlite on the machine and uses that.
2012-02-12 17:16:22 +00:00
Tom Keffer
ddbaee824b Class FtpUpload now inherits from 'object' 2012-02-11 20:34:24 +00:00
Tom Keffer
1c89e0e0fe V1.12.2a1 2012-01-09 05:20:30 +00:00
Tom Keffer
e2662055c5 More information about a module that fails to load 2012-01-07 18:03:27 +00:00
Tom Keffer
1b158580df Added FTP error 521 to the list of errors that can occur when a directory already exists. 2012-01-07 18:03:03 +00:00
Tom Keffer
12c11588b5 Changed the names of some local variables that used reserved names. 2011-10-23 16:51:27 +00:00
Tom Keffer
379cbe941c Added patch from user Marijn Vriens, which allows a fallback to the version of pysqlite that comes with many versions of Python. 2011-07-04 01:15:46 +00:00
Tom Keffer
9409e16ecb Cleaned up warnings by either fixing them or suppressing them. 2011-04-14 21:47:57 +00:00
Tom Keffer
24eb3fa508 Moved almanac.py to the package weewx. 2011-03-28 14:48:47 +00:00
Tom Keffer
c10174a7cc Integrating almanac into the unit conversion and formatting machinery. 2011-03-28 14:43:42 +00:00
Tom Keffer
709b9c12fe Continuing to add functionality to Almanac. Added Mars, Jupiter, Venus. Revised HTML layout to add more Almanac information. 2011-03-27 17:54:22 +00:00
Tom Keffer
778031cd64 Added sun transit, moon rise, set, and transit. 2011-03-26 17:39:36 +00:00
Tom Keffer
f6ab91d318 Now uses pyephem for astronomical calculations if it is available. Otherwise, fall back to the old calculations. 2011-03-26 01:11:02 +00:00
Tom Keffer
9cd12e689b Simplified Almanac._adjustTime 2011-03-21 19:33:50 +00:00
Tom Keffer
18d59554a5 Added function utcdatetime_to_timestamp to weeutil.py 2011-02-28 01:12:16 +00:00
Tom Keffer
5c2a4455ab Continuing to build out test suites.
Fixed up comments here and there.
2011-02-23 22:05:49 +00:00
Tom Keffer
ee312a223c Snapshot. Working towards making observation types more user extensible. 2011-01-24 02:15:48 +00:00
Tom Keffer
b1e56fe4ea Now gets archive and stats schemas dynamically from the database. Allows user to more easily change the schemas. 2011-01-23 01:45:36 +00:00
Tom Keffer
19b04500cd Fixed broken logic in startOfInterval() that shows itself in Fall DST to ST transition. 2010-11-19 02:39:27 +00:00
Tom Keffer
e4f98b8459 Suppressed warnings emitted by Pydev by using dummy names on unused variables. 2010-06-17 01:49:15 +00:00