Tom Keffer
|
403a86d336
|
Changed strategy when gettext is keyed with a missing key.
Now uses a modified KeyDict.
|
2021-05-04 11:20:42 -07:00 |
|
Tom Keffer
|
8670d2ada4
|
Fixed some problems under Python 2.
Fixed problems when 'lang' is not present.
Changed weewx.conf option from 'units_base' to 'units'.
Simplified.
|
2021-05-02 14:17:26 -07:00 |
|
Tom Keffer
|
e51b2a63a5
|
Fixed problem where unit labels would not render correctly under Python 2.7 if
they were set by a 3rd party extension. Fixes issue #662.
|
2021-04-08 07:37:48 -07:00 |
|
Tom Keffer
|
585637358b
|
rounder(1.23,0) now returns 1, an int.
|
2021-03-30 02:07:51 -07:00 |
|
Tom Keffer
|
57cfca4255
|
Implement .round() tag.
Instead of rounding in .json()
|
2021-03-24 11:55:47 -07:00 |
|
Tom Keffer
|
cfcc6a70c5
|
Optimizations for get_series() with aggregation intervals of months and years.
|
2021-03-21 11:17:36 -07:00 |
|
Tom Keffer
|
8c4f241293
|
.raw is now back to being a property.
Introduced SLE helper function $rnd()
|
2021-03-21 08:27:53 -07:00 |
|
Tom Keffer
|
7999f4a0b8
|
Add some convenience functions for working with complex series.
|
2021-03-12 13:48:39 -08:00 |
|
Tom Keffer
|
1016e39d89
|
Allow aggregation intervals to be specified using descriptive strings.
Example: 'day', or 'week'
|
2021-03-05 14:07:13 -08:00 |
|
Clément Bourgeois
|
34086a0fa9
|
Bugfix : Wrong behaviour of to_float under Python2
The to_float function was not interpreting unicode strings properly
under Python 2. The function now uses the six.string_types method like
to_int does
|
2020-08-29 19:05:56 +02:00 |
|
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 |
|