Commit Graph

143 Commits

Author SHA1 Message Date
gjr80
97ead17618 add Totals panel to Seasons skin 2021-08-12 23:34:11 +10:00
Tom Keffer
13b884eba9 Changed from option "units" to "unit_system". 2021-05-27 10:31:17 -07:00
Tom Keffer
2ec4bf1325 Install now sets option 'units'.
The unit system is no longer intuited by settings in [[Defaults]].
V4.6.0a2
2021-05-22 14:08:09 -07:00
Tom Keffer
256c5581f5 Moved get_languages() and pick_languages() 2021-05-18 17:31:56 -07:00
Tom Keffer
d78bf16869 Use config_from_str() where appropriate. 2021-04-07 12:34:44 -07:00
Tom Keffer
2c9989eb1b Set log_failure to True in [StdReport].
Change test suites to follow.
V4.3.0b4
2021-01-04 05:20:28 -08:00
Tom Keffer
618caf76f2 Service weewx.wxxtypes.StdDelta was inadvertently left out of the list of
services to be run. Fortunately, it is not used. Yet. Added it back in.
2020-10-28 14:34:47 -07:00
Tom Keffer
a781fd5398 Run xtype_services just before archive_services.
Version 4.2.0a2
2020-10-22 05:07:48 -07:00
Tom Keffer
e99dd45818 Squashed commit of the following:
commit 5023ea5acdee7b7698d3f9e59118711503bbb2ab
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sun Oct 18 04:38:05 2020 -0700

    Suggest more xtypes examples.

commit 3c8b0e77c4a0c5163bde5df513f5eda37eac9853
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 17 08:07:31 2020 -0700

    Added sample image of vapor_p.
    Added comment about ordering matters.

commit 9ebc989d702f66249f6caafbd9ba1e9739eb42d4
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 17 06:15:18 2020 -0700

    XType class Delta can now use the same cumulative type more than once.
    Added tests.

commit 47857d83817a4fb32ab645245239cf5a56c65b19
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 16:29:18 2020 -0700

    Added XType 'Delta', for calculating differences from cumulative totals.

commit bb8a07bd3e828f7cd7f20660c8702370151bbb96
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 12:11:01 2020 -0700

    Reformat xtypes documentation. Finishes fix for issue #491.

commit a27d6e1dbdee272c2a2b22bb58d162cbb7472049
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 12:09:33 2020 -0700

    Upgrade now adds new service group xtypes_services.
    Update tests to follow.

commit 611dbc60d0908294ae268019c48f2ca7693f0615
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 09:11:47 2020 -0700

    No heat index for temperatures under 40F.

commit fe9e60818295fcc8386501425b259ea2111005d7
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 08:22:37 2020 -0700

    Update comments on get_series()

commit 14f3a15cd7df2e64674d794fb375cc7e807ad91a
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 08:12:03 2020 -0700

    Add a version of get_series() that works for xtypes.
    Document it.
    Include vaporpressure.py in the examples subdirectory.

commit 0995f772e6b204b13c60af42681fdb2e54ab200b
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 17:07:52 2020 -0700

    More details about how to write an xtypes extension.

commit 1e1dce3a29f211944230119078e0108502f8f706
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 17:07:10 2020 -0700

    Add threading lock to RainRater.

commit bed387de5913e42291045b4780e8110c15229b73
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 04:49:59 2020 -0700

    Update and improve the xtypes documentation.

commit dc4f488d17a4aeaa9b9d604c500f7063c044a0af
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 04:49:31 2020 -0700

    Add service group xtype_services to weewx.conf.

commit 6f29b1a23d60189b07efae4d4ea160079eb973e8
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 13:31:43 2020 -0700

    It's OK for direction to be none, provided speed is zero

commit 034be1c968dd0bc33791d4f6559c15c7e28b6364
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 13:31:21 2020 -0700

    Check to make sure the section [Engine][[Services]] exists

commit 8cf2b3e372d1b9da948ef6caa27aadb721308850
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 08:24:13 2020 -0700

    Separate StdService from XType functionality.
    Makes XType functionality useful outside the context of WeeWX services.
    Simplifies test suites.

commit 9325e792cafa0a885f529ac15636202d518a9c61
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 08:23:07 2020 -0700

    Class DummyEngine derives from Engine.

commit 7ac31f7bd2b80c61792e0f3a5f0293ec1eb0666b
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 10 16:26:19 2020 -0700

    Made it easier to add new, derived types via StdWXCalculate.
    See issue #491.
2020-10-18 05:49:45 -07:00
Tom Keffer
5e785ed8bc Include the file path in any ConfigObj error messages. 2020-08-02 14:27:46 -07:00
Tom Keffer
3f3af2238a Fixed problem that caused reporting units to revert to US if they were in a
mixed unit system. Fixes issue #576.
2020-06-26 18:09:05 -07:00
Tom Keffer
791de74644 Eliminate use of logging in wee_config, allowing it to be used for installs
without syslog.
2020-05-21 14:21:42 -07:00
Tom Keffer
72718c6768 Inject types no longer calculated by default by StdWXCalculate. 2020-03-27 17:29:13 -07:00
Tom Keffer
378fbd5b31 Added newlines for readability. 2020-03-27 05:00:01 -07:00
Tom Keffer
1955033c8b Updated test_config 2020-03-26 16:49:44 -07:00
Tom Keffer
2d8886238c Offer to register the user's station on weewx.com 2020-03-26 15:47:52 -07:00
Tom Keffer
5b3bd2b5aa Fixed problem in weecfg test suite.
Caused by the lack of ordering in a dictionary.
2020-03-22 06:05:08 -07:00
Tom Keffer
47a9a214a3 Invoke wee_config to customize weewx.conf 2020-03-14 14:28:27 -07:00
Matthew Wall
58ae614537 default to simulator if no default specified 2020-02-07 13:32:05 -05:00
tkeffer@gmail.com
9ec528b252 Regression testing against older versions of configobj.
Tested against configobj V4.7.2
2020-01-06 13:04:41 -07:00
Tom Keffer
62c43357c4 Changed schema structure.
WXDaySummaryManager is now obsolete.
2019-10-20 18:11:35 -07:00
Tom Keffer
6101dd6928 Do v4.0 upgrade of weewx.conf in all cases. 2019-08-24 04:49:38 -07:00
Tom Keffer
fe2183ed56 Changed option name to loop_request. Documented it. 2019-08-21 18:08:01 -07:00
Tom Keffer
6c7017b46c Changed my mind. Don't inject a [Logging] section. If users modify it,
it could lead to unreliable troubleshooting.
2019-08-19 05:14:33 -07:00
Tom Keffer
34b2998545 Implementing the Python logging package is now pretty much complete.
Re-addresses issue #353
2019-08-17 13:03:18 -07:00
Tom Keffer
f90dd8ab7e Inject [Logging] stanza in old weewx.conf 2019-08-17 12:04:19 -07:00
Tom Keffer
32c35ce380 Port wunderfixer to the new WU API. The WU seems to no longer allow
reposting old records, so this "sort of" fixes issue #414.
2019-07-18 08:07:40 -07:00
Tom Keffer
81b9d89648 Cover case where user has manually corrected location of DegreeDays 2019-07-16 08:33:35 -07:00
Tom Keffer
abb2538c60 Fixed problem where sub-sections DegreeDays and Trend were located
under the wrong weewx.conf section. Added upgrades for V4.0.
Added tests for upgrade. Fixes issue #432.
2019-07-15 12:14:57 -07:00
Tom Keffer
afec893eb4 Do not upgrade v4 weewx.conf files to have growing_base.
At least not yet.
2019-07-09 11:48:50 -07:00
Tom Keffer
8cd9413818 Added new aggregation type 'growdeg'. Fixes issue #367. 2019-06-26 10:50:36 -07:00
Tom Keffer
f16cadeb40 Unit group "group_distance" is now a first-class group. 2019-03-12 18:13:02 -07:00
Tom Keffer
33765e5155 Got test_config working, this time with mock 2019-02-12 16:45:09 -08:00
Tom Keffer
f832719afe Got test_config working, but without mock 2019-02-12 11:18:39 -08:00
Tom Keffer
ce8415fbbc Open temp file in binary mode. Let ZipFile work with filename,
instead of file-like object.
2019-02-12 06:10:43 -08:00
Tom Keffer
6ec2db3a37 Merge branch 'master' into python3 2019-02-11 12:46:23 -08:00
Tom Keffer
b2a6f2cdac Working on weecfg 2019-02-11 12:40:33 -08:00
Tom Keffer
14ca1bd59b Port wee_debug to Py3 2019-02-10 09:00:48 -08:00
Matthew Wall
96f4547bca remove dead skin_semantics code 2019-02-08 07:45:25 -05:00
Tom Keffer
8e2d07ac56 When reading ConfigObj from a file, decode from utf-8 2019-02-07 10:20:19 -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
f41b4d94e4 Fixed problem when upgrading [StdWXCalculate] 2019-01-28 14:31:59 -08:00
Matthew Wall
37ef1b9662 default to north pole instead of west african atlantic 2019-01-22 14:16:13 -05:00
Tom Keffer
2f30de0bca Moved [[Defaults]]. Include more options in it. 2019-01-12 12:14:51 -08:00
Tom Keffer
f3e956e1c0 print using functions 2019-01-10 17:40:20 -08:00
Tom Keffer
0b402389c6 Implement a defaults.py module. No longer patch skins.conf. 2019-01-09 09:23:17 -08:00
Tom Keffer
5cfd2ff8ba s/ObservationDefaults/Defaults/g 2019-01-05 18:15:28 -08:00
Tom Keffer
e40248965d Revert "Minor reformatting."
This reverts commit 260be6118c.
2019-01-05 18:13:34 -08:00
Tom Keffer
260be6118c Minor reformatting. 2019-01-05 18:12:23 -08:00