Commit Graph

77 Commits

Author SHA1 Message Date
Tom Keffer
2e3df797a5 Plotting now uses Unicode internally for labels. 2016-02-20 08:01:25 -08:00
Tom Keffer
4d87b666b5 Refactored test_templates to allow more than one skin to be used.
Added a test for UTF8 characters in the station name
2016-02-19 16:29:18 -08:00
Tom Keffer
dfcdadad0c Fixed problem in weeutil unittest. 2016-02-18 07:40:05 -08:00
Julen Landa Alustiza
091fa3f261 Implement hours iterable
add by hour template test

add missing files

Implement hours iterable
2015-12-26 17:37:55 +01:00
gjr80
c5377674f9 implement $span tag
Added span to tags.py
Added archiveSpanSpan method to weeutil.py
2015-07-22 16:03:56 +10:00
Tom Keffer
c1a4c5f7cb First attempt to refactor database configuration 2015-06-12 07:30:00 -07:00
Matthew Wall
91f9e0bae5 provide more feedback for engine failures 2015-06-10 13:33:52 -04:00
Tom Keffer
8b11fb6cbc $almanac.sunrise and $almanac.sunset now return ValueHelpers. Fixes
issue #26.
2015-04-28 08:13:57 -07:00
Matthew Wall
7979d4e67d better behavior when no conf specified and weewx is installed to non-standard location 2015-04-25 23:41:25 -04:00
Matthew Wall
d855d17abf new wee_config now working properly with dpkg. consistent use of exit. do not do backup files when invoked via dpkg. 2015-04-25 18:29:10 -04:00
Tom Keffer
669bf76725 First step in refactoring config_util into package weecfg 2015-04-21 06:06:43 -07:00
Tom Keffer
72c91b0477 Got the --no-prompt option working using native distutils machinery 2015-04-05 14:28:19 -07:00
Tom Keffer
30fafb6bd2 Rewrote weeutil.weeutil.read_config to use utilities in config_util 2015-04-01 09:16:11 -07:00
Tom Keffer
b4bf1cb966 Refactoring some config utilities 2015-03-31 18:46:56 -07:00
Tom Keffer
b693205427 Moved prompt_with_options to config_util. Added test suites. Refactored
to use it.
2015-03-29 16:17:23 -07:00
Tom Keffer
c7b60a51f4 Added functions print_dict() and prompt_with_options() to
weeutil.weeutil
2015-03-28 16:58:30 -07:00
Tom Keffer
ba91103508 Simplified list_as_string() 2015-03-28 11:05:56 -07:00
Tom Keffer
91e9864a98 Went through all the Python code, deleting all SVN $Id$ tags.
Standardized copyright notices, except for those I don't own.
2015-02-21 09:44:19 -08:00
Tom Keffer
a17091f5fb Added explicit timezone to unit tests. 2014-12-23 22:03:40 +00:00
Tom Keffer
1738d2ffed Reintegrate from the v3 branch.
V3.0.0b1
2014-11-29 18:15:24 +00:00
Tom Keffer
ceb32c89fb Improved command-line interface to wee_reports, making it look more like the other utilities. 2014-10-12 14:38:09 +00:00
Tom Keffer
98ceb68848 Fixed bug that can affect hardware that emits floating point timestamps, where the timestamp is within 1 second of the end of an archive interval.
Added regression test to test it.
2014-10-02 01:55:38 +00:00
Tom Keffer
c2cfb7cb92 Added test for startOfInterval with a 60 second, on-the-boundary, value. 2014-09-30 17:41:59 +00:00
Tom Keffer
32d49bd0d0 The function _get_object() now raises a more informative exception. 2014-08-31 17:01:35 +00:00
Tom Keffer
be8ebe4b7d The plot images can now use UTF-8 characters. 2014-02-20 13:55:23 +00:00
Matthew Wall
0d53da06cb deal with None/none from configobj 2014-01-31 19:10:14 +00:00
Tom Keffer
74633fb2e4 Added genSchemaOf() function to weedb. 2014-01-29 17:53:48 +00:00
Tom Keffer
01089dd677 Added unit test for accumulateLeaves 2014-01-28 23:19:16 +00:00
Matthew Wall
b62a82bf18 fix day/night transition bug. make weeutil unit tests work in any time zone. 2014-01-25 04:25:08 +00:00
Tom Keffer
de11e0b7da Added Station Registry to list of RESTful services. 2014-01-23 00:09:20 +00:00
Tom Keffer
aff380d102 Now guards against ConfigObj turning a station location with a comma in it into a list 2014-01-22 21:53:29 +00:00
Tom Keffer
fe96077b12 Implemented StationRegistry using new RESTful architecture 2013-11-09 21:11:11 +00:00
Tom Keffer
a5c32181d6 Added functions to_int and to_float.
Removed the no longer needed class FixedList
2013-11-09 02:15:51 +00:00
Tom Keffer
986c0113a5 Got archive posts working to WU 2013-11-02 22:08:30 +00:00
Tom Keffer
c9fce76e37 Vantage driver uses a new strategy to disambiguate the fall DST transition. 2013-10-31 00:45:58 +00:00
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
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
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
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
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
Matthew Wall
90dc50ed5a config file is optional - search standard locations if not specified 2013-03-13 15:55:20 +00:00
Matthew Wall
2fb67fbb65 keep all day/night time calculations in utc 2013-02-17 15:55:05 +00:00