Commit Graph

130 Commits

Author SHA1 Message Date
Tom Keffer
2d8886238c Offer to register the user's station on weewx.com 2020-03-26 15:47:52 -07:00
Tom Keffer
15c7cd83e2 Change how archive timespans get calculated. Fixes issue #469.
This allows oddball archive intervals.
2019-11-22 09:26:51 -08:00
Tom Keffer
d79adc229c Factored out to_complex(). More tests for Wind series & aggregates. 2019-11-20 13:11:19 -08:00
Tom Keffer
178114d0ba Fix problem under Python 2, sensing unicode value of 'NONE' 2019-11-19 08:40:15 -08:00
Tom Keffer
82ce1e7a00 Minor changes. 2019-10-25 18:47:53 -07:00
Tom Keffer
3a99a2517b Change implementation of ListOfDicts 2019-10-25 13:56:57 -07:00
Tom Keffer
9e54078f0f Deprecated the use of month_delta and year_delta in spans.
See issue #436.
2019-09-20 06:01:44 -07:00
Tom Keffer
0be384a137 Renamed weeutil.weeutil._get_object() to get_object(). 2019-09-18 05:42:17 -07:00
Tom Keffer
651f382d1a Backwards compatibility hooks for accumulateLeaves(), search_up() 2019-08-24 07:54:04 -07:00
Tom Keffer
5fba00f08b Various formatting nits 2019-08-20 05:45:26 -07:00
Tom Keffer
dccf8a3a35 Renamed weeutil.logging to weeutil.logger;
Eliminated backwards compatibility references in weeutil.weeutil
2019-08-16 14:40:14 -07:00
Tom Keffer
7447c2246b Merge branch 'master' into development 2019-07-18 18:40:12 -07:00
Tom Keffer
93d7d57a89 Now sorts using locale.strxfrm, so no longer necessary to convert
to utf-8. CF: e54b942557
2019-07-18 18:39:47 -07:00
Tom Keffer
246a18e873 Started a common logging facility 2019-02-26 08:44:32 -08:00
Tom Keffer
effd6067ff Catch up merge with master
# Conflicts (resolved):
#	bin/weeutil/weeutil.py
2019-02-23 14:50:46 -08:00
Tom Keffer
2063dfa3ab Fixed problem that prevented to CopyGenerator from handling nested
directories. Fixes issue #379.
2019-02-23 14:36:10 -08:00
Tom Keffer
c9b695a500 Moved conditional_merge() to weeutil.config 2019-02-23 05:38:43 -08:00
Tom Keffer
e9aa33d6b5 Ported wee_database to Python 3 2019-02-10 16:57:23 -08:00
Tom Keffer
8eba60f4aa Add time.tzset() after setting timezone 2019-02-10 05:39:07 -08:00
Tom Keffer
3a986c1072 Replaced ord() with byte2int(). Other small changes 2019-02-09 18:18:40 -08:00
Tom Keffer
b4575315b9 Fixed problem where <title> gets messed up. 2019-02-09 17:00:55 -08:00
Tom Keffer
8e47104a4e More literal unicode strings 2019-02-09 14:16:19 -08:00
Tom Keffer
8e2d07ac56 When reading ConfigObj from a file, decode from utf-8 2019-02-07 10:20:19 -08:00
Tom Keffer
a7921275e2 Use six where possible 2019-02-07 06:33:07 -08:00
Tom Keffer
db97710daf Change import syntax for StringIO 2019-02-05 16:04:41 -08:00
Tom Keffer
c720a2eb4f Use six to import StringIO 2019-02-05 12:26:56 -08:00
Tom Keffer
2d9bd19737 $obs.label will now work if there is no skin.conf file. 2019-01-06 16:00:40 -08:00
tkeffer@gmail.com
fa7240cd93 The -y option now works with Vantage stations.
Fixes issue #361.
2018-12-30 15:22:09 -08:00
Tom Keffer
08106b104f Ported weeutil tests to Python 3 2018-12-08 06:12:31 -08:00
Tom Keffer
8b3fa86d77 Improved test coverage. Fixes issue #337. 2018-12-07 18:28:01 -08:00
Tom Keffer
0a5ee55d08 Fixed Brazilian DST problem. Fixes issue #356. 2018-12-06 05:09:32 -08:00
Tom Keffer
580bb24d94 Moved weeutil routines that use ConfigObj to their own file 2018-11-23 05:42:30 -08:00
Tom Keffer
f56ac89156 Merge and patch config files. Fixes parentage problem in Sections 2018-11-21 08:53:51 -08:00
Tom Keffer
5141e32b18 First cut at promoting skin defaults to weewx.conf 2018-11-03 09:30:28 -07:00
Tom Keffer
e93577e5e5 Fixed problem with setting Vantage transmitter type 2018-10-08 06:05:50 -07:00
Tom Keffer
3c2a970dd8 Moved int2byte() to the weeutil module 2018-10-01 06:13:58 -07:00
Tom Keffer
e00771ff7d Python 2/3 version of option_as_list 2018-09-30 12:40:39 -07:00
Tom Keffer
d1b58c6815 Replaced obsolete function weeutil.weeutil.relpath with os.path.relpath 2018-09-30 12:22:56 -07:00
Tom Keffer
a30f02719e Defined an "input" function. Vantage config now uses it. 2018-09-30 12:08:38 -07:00
Tom Keffer
d8f34c91a4 More Python 3 changes 2018-09-30 10:51:40 -07:00
Tom Keffer
599e44d535 Python 3 changes 2018-09-29 20:24:21 -07:00
Tom Keffer
e04a17e672 Skip post if type in [[[Essentials]]] is missing. Fixes issue #329. 2018-06-19 18:01:22 -07:00
Tom Keffer
add897bee3 Fixes issue #230, exception when using Rapidfire with metric units 2017-03-13 14:57:13 -07:00
Tom Keffer
bd061a27da Removed intervalgenRoundTS and archiveDaysAgoSpan. 2017-01-21 10:18:47 -08:00
Tom Keffer
4811cb81dd Changed semantics of "$last_xxx" tags. 2017-01-20 18:12:48 -08:00
Tom Keffer
467022648b Merge remote-tracking branch 'origin/master' into development
Conflicts:
	docs/changes.txt
2017-01-15 08:18:04 -08:00
dcapslock
cd9c5d132b Implement .spans(interval=seconds) tag timespan iterator. (#199)
* Implement .spans(interval=seconds) tag timespan iterator.

* Add .spans(interval=seconds) timespan iterator

* Add documentation and test for changes to intervalgen.

* Updated test cases for byspan.
2017-01-15 07:49:51 -08:00
Tom Keffer
c2d610ede2 Merge remote-tracking branch 'origin/master' into development 2017-01-14 13:31:04 -08:00
dcapslock
dca232ce31 Add tag time periods of last_hour, last_day, last_week, last_month and last_year. Add month_delta and year_delta to span.
YOu can iterate over those periods. See http://carlingfordweather.sydney/TEST/tag-test.txt for Top Temperatures over the last immediate week.
2017-01-14 15:49:27 +11:00
Tom Keffer
994f9fbc56 Rebuilds daily summary in transaction tranches. 2017-01-10 14:39:56 -08:00