Commit Graph

80 Commits

Author SHA1 Message Date
Matthew Wall
433f830b9b use utc time for daynight transitions 2013-10-20 03:48:46 +00:00
Tom Keffer
930a74fbf6 If a label or formatting type is not found in the skin dictionary, it now falls back on the default label and formatting dictionary.
Added formatting and labeling for delta_time in trends.
Added the ability to change the formatting for lat and lon.
Added labels for hour and second in skin.conf.
2013-10-19 00:51:10 +00:00
Matthew Wall
9da1cdcbf1 set eol-style to native on all source files 2013-10-09 00:44:50 +00:00
Tom Keffer
60e0759479 More tests for startOfInterval()
WMR200 driver now returns integer timestamp.
2013-10-03 14:43:10 +00:00
Matthew Wall
eab68645f1 added unit test for day/night transitions 2013-08-11 14:41:28 +00:00
Tom Keffer
4ed217f0f4 V2.4.0a2 2013-07-11 13:44:31 +00:00
Tom Keffer
910b6a80bc Fixed a bug that did not allow plots with aggregations less than 60 minutes across a DST boundary. 2013-07-11 03:27:16 +00:00
Tom Keffer
aa1949b676 The configuration utility wee_config_vantage now lets you change the time zone code or the time zone offset. 2013-07-10 18:14:27 +00:00
Tom Keffer
ffe6b2b540 intervalgen now uses a better example. 2013-05-23 00:06:24 +00:00
Tom Keffer
1ea4c0b11b Class TimeSpan is now a specialized tuple and can be used interchangeably with tuples. 2013-05-22 20:58:38 +00:00
Tom Keffer
34dd39e66e rsync now works with Python 2.5 and 2.6 (not just 2.7) 2013-04-13 14:44:23 +00:00
Matthew Wall
8e923e97f8 revert to mktime instead of calendar.timegm for daynight 2013-03-23 02:44:00 +00:00
Matthew Wall
a9ae5f466e added missing import 2013-03-22 22:41:20 +00:00
Matthew Wall
1c10bc5d16 forgot some helper functions for the gradients 2013-03-22 19:46:58 +00:00
Matthew Wall
38b7c2098a added gradients to daynight transitions. fixed daynight transition bug. 2013-03-22 18:46:41 +00:00
Matthew Wall
0297e6f223 forgot the string specifier. sorry. 2013-03-15 22:26:59 +00:00
Matthew Wall
c252c0bd5b generalize read_config for daemon or app use 2013-03-15 20:52:23 +00:00
Tom Keffer
69b853a3ae rsync now allows a port to be specified. Patch from user Mark Flocco. 2013-03-15 17:13:23 +00:00
Matthew Wall
90dc50ed5a config file is optional - search standard locations if not specified 2013-03-13 15:55:20 +00:00
Matthew Wall
0525c12b3a make logwatch work with syslog out-of-the-box. adjust rsylog config to capture wee_config_* output as well as weewxd output. 2013-03-01 01:36:21 +00:00
Matthew Wall
2fb67fbb65 keep all day/night time calculations in utc 2013-02-17 15:55:05 +00:00
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