Commit Graph

734 Commits

Author SHA1 Message Date
Tom Keffer
a3dca5aa6c Fixed problem where threads attempt to access non-existent database.
Fixes issue #579.
2020-06-29 08:15:56 -07:00
Tom Keffer
7943679a0b Merge branch 'master' into development 2020-06-27 14:54:41 -07:00
gjr80
8d7a5abd03 Fix yaxis plot scaling (#567)
* Fix corner case where scale() returned unusable results when fmn==fmx and a non-None minscale is specified

* python3ise doctests

* doctest typo

* Added one more doctest

* Added tests for modified scale()

* Update change history
2020-06-27 14:52:22 -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
effdfa5a06 Fixed problem that could cause the station registry to fail if given a location
with a non-ASCII location name.
2020-06-22 05:37:10 -07:00
Tom Keffer
4beed401cd Note PR #575 in change log (fixes TE923 bucket size). 2020-06-20 10:21:12 -07:00
Tom Keffer
dbcd1d1da2 Undocumented option retry_certificate has been renamed to retry_ssl, and now
covers all SSL errors (not just certificate errors). Fixes issue #569.
2020-06-20 08:24:49 -07:00
Tom Keffer
b6d2424482 Fixed problem caused by specifying a [Logging]/[[formatters]] section in
weewx.conf that uses interpolated variables.
2020-06-02 15:03:28 -07:00
Tom Keffer
4155d1d686 Fixed problem that caused wind speed to be reported to AWEKAS in m/s instead
of km/h.
2020-06-01 05:22:06 -07:00
Tom Keffer
06dc466206 Bump version to v4.1.1 2020-05-30 14:55:14 -07:00
Tom Keffer
1c8fac4641 fixed problem when using the ultimeter and ws1 drivers under Python 2 2020-05-29 17:19:41 -07:00
Tom Keffer
24ebb92661 Fixed problem that caused monthly and yearly summaries to appear
only sporadically.
2020-05-29 17:18:03 -07:00
Tom Keffer
68747ac2d5 fixed problem when using the ultimeter and ws1 drivers under Python 2 2020-05-28 18:55:58 -07:00
Tom Keffer
677a8e63f7 Fixed typos. Should be weewx.manager.DaySummaryManager. 2020-05-28 14:19:52 -07:00
Tom Keffer
f5f9a90139 New strategy for calculating system uptime. Revisits issue #428.
Works for Python 3. Old strategy for Python 2.
2020-05-28 04:48:28 -07:00
Tom Keffer
84aff52cf5 Allow the use of the 3rd party package "uptime" when calculating system uptime
on MacOS. Implements PR #561
2020-05-27 06:55:33 -07:00
Tom Keffer
a55c9cd22b Set Version to 4.1.0 2020-05-25 12:10:00 -07:00
Tom Keffer
b8c409fd3c Merge branch 'master' into development 2020-05-25 12:03:47 -07:00
Tom Keffer
672b5d85b7 Changed the location of the root logger in the logging configuration dictionary to match the Python documents. 2020-05-24 16:49:12 -07:00
Tom Keffer
12442798c3 Document PR #556. 2020-05-24 05:00:35 -07:00
gjr80
14b60037de Add wee_import support for WeatherCat imports to the change log 2020-05-24 15:44:29 +10:00
Tom Keffer
95220bdc6d Merge branch 'master' into development 2020-05-21 17:39:07 -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
6f2add339c Merge branch 'master' into development 2020-05-20 08:06:41 -07:00
Tom Keffer
e76e374595 Allow expressions to be used as a datatype when plotting. 2020-05-18 13:21:41 -07:00
Tom Keffer
b8e455d97d Merge branch 'master' into development 2020-05-15 06:59:00 -07:00
Tom Keffer
3c81cd2c1c Added option 'reuse_ssl' to FTP. This activates a workaround for a bug in the
Python ftp library that causes long-lived connections to get closed prematurely.
Works only with Python 3.6 and greater. Also, radically simplified ftpupload.
2020-05-13 09:42:29 -07:00
Tom Keffer
d2bd07f245 Document PR #549. 2020-05-11 18:16:05 -07:00
Tom Keffer
8248bd4894 Set WEEWX_ROOT when installing in non-standard places.
Fixes issue #546.
2020-05-11 07:42:50 -07:00
Tom Keffer
4a73dc187d Fixed bug in ws28xx driver that prevented it from running under Python 3.
Fixes issue #543.
2020-05-10 09:46:10 -07:00
Tom Keffer
d5d058373e Faster query strategy for min and max wind vectors. 2020-05-07 07:15:53 -07:00
Tom Keffer
9844b6b085 Fixed bug in wmr9x8 driver that prevented it from running under P3.
Missed a call to ord()
2020-05-06 07:49:30 -07:00
Tom Keffer
1cc213d7b5 Merge branch 'development' of https://github.com/gjr80/weewx into gjr80-development
# Conflicts:
#	docs/changes.txt
2020-05-03 08:57:43 -07:00
gjr80
1e44f24ffb Add field wind_samples to Vantage driver archive records 2020-05-03 22:36:59 +10:00
Tom Keffer
6348741c64 Took rotating log file shim out. Patch the config file instead.
MacOS uses rotating file by default.
2020-05-03 04:49:33 -07:00
Tom Keffer
fa112dfd43 wunderfixer option --test now requires api_key and password.
Then goes ahead with querying the WU.
2020-05-02 14:16:18 -07:00
Tom Keffer
0858782ea6 Added a logging handler for rotating files 2020-05-02 13:56:51 -07:00
Tom Keffer
6f0a33147f More information if an exception is raised while querying for vantage hardware
type.
2020-05-02 11:03:58 -07:00
Tom Keffer
c05f76be02 Fixed wunderfixer problem under Python 3 where response was not converted to str before attempting to parse the JSON. 2020-05-02 08:19:05 -07:00
Tom Keffer
c525a047f6 Bumped to Version 4.0.0 2020-04-30 08:19:40 -07:00
gjr80
3ea517d180 Added support for a user defined field delimiter for CSV imports 2020-04-14 06:47:11 +10:00
Tom Keffer
731c7ff16c No longer backup old 'bin' directories.
Make sure we always overwrite files, even if they are newer,
unless the --force flag has been explicitly set.
2020-04-10 15:20:59 -07:00
Tom Keffer
b1e11817c5 Added changes.txt to editorconfig. Reformat to 80 cols. 2020-04-01 17:56:33 -07:00
Tom Keffer
42f7d0362c vantage: allow 3 retries per read, rather than per archive interval. 2020-04-01 17:14:39 -07:00
Tom Keffer
5a605ff934 Commit 353fcf5852
makes this change log unnecessary.
2020-04-01 09:32:43 -07:00
Tom Keffer
72718c6768 Inject types no longer calculated by default by StdWXCalculate. 2020-03-27 17:29:13 -07:00
Tom Keffer
2d8886238c Offer to register the user's station on weewx.com 2020-03-26 15:47:52 -07:00
gjr80
9b65c2fc03 Updated Utilities Guide and change log to reflect CSV imports now support cardinal, intercardinal and secondary intercardinal directions 2020-03-25 21:33:08 +10:00
Tom Keffer
7b62f1a1b1 Added comment about new setup.py behavior. 2020-03-15 08:12:10 -07:00
Tom Keffer
b884c968a7 StdWXCalculate no longer calculates anything by default.
Instead, types must be listed in weewx.conf.
Also, swallow any database exceptions.
2020-03-15 08:08:43 -07:00