Commit Graph

779 Commits

Author SHA1 Message Date
Tom Keffer
2a34e19f84 Pur PR #637 in change log. 2021-01-12 17:53:12 -08:00
Tom Keffer
5fbe0d51e8 Fixed problem where invalid mintime or maxtime was returned for days with no data.
Fixes issue #635.
2021-01-08 13:21:28 -08:00
Tom Keffer
102115731b Patching process is more forgiving about records with interval less than or equal to zero. 2021-01-07 15:43:41 -08:00
Tom Keffer
510dc7fdf0 V4.3.0 release 2021-01-04 14:54:30 -08: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
19790b2786 Allow wind vectors to be converted to unit of beaufort. Fixes issue #629. 2020-12-28 09:25:50 -08:00
Tom Keffer
064c97424d Fixed problem where wind chill was calculated incorrectly for METRICWX databases. PR #627
Thanks to user edi-x!
2020-12-26 13:21:33 -08:00
Tom Keffer
d9a4daac4d Fixed problem that prevented option observations from being used in the
simulator.
2020-12-26 04:41:23 -08:00
gjr80
dae159ed1a bump wee_import version number and add --no-prompt to change log 2020-12-20 07:02:27 +10:00
Tom Keffer
b99843d983 Removed WMR200 driver and references. 2020-12-18 09:06:05 -08:00
Tom Keffer
167b9445ee Fixed problem where windGustDir is not available when using software
record generation.
2020-12-14 05:14:14 -08:00
Tom Keffer
91987c61d8 Added upgrade instructions for patching.
V4.3.0a2
2020-12-11 16:05:57 -08:00
Tom Keffer
634c13a79b Merge branch 'recalc_weights' into development
# Conflicts:
#	docs/upgrading.htm
2020-12-11 15:48:24 -08:00
Tom Keffer
02230d310d Auto-patch daily summaries on startup. 2020-12-11 09:07:44 -08:00
Tom Keffer
2831b7a58c Merge branch 'master' into development
# Conflicts:
#	docs/changes.txt
2020-11-30 14:16:05 -08:00
Tom Keffer
9510f3895a Fixed problem that caused daily summary weights to revert to V1.0 style weights. 2020-11-30 11:33:54 -08:00
Tom Keffer
737c4dfe0e Fixed problem when looking up stars with more than one word in their name.
Fixes issue #620.
2020-11-22 17:39:39 -08:00
Tom Keffer
4bc97dff38 Fixed corner case for windDir when using software record generation,
ignore_zero_wind=True, and windSpeed=0 for entire record interval. Now emits
last windDir value.
2020-11-22 06:15:13 -08:00
Tom Keffer
a3170d25a5 Changed name of ignore_zero_wind to force_null.
Added test for it.
Check for lingering values of other [StdWXCalculate] values.
2020-11-16 16:54:11 -08:00
Tom Keffer
6456ef97fb v4.3.0a1 2020-11-11 09:07:43 -08:00
Tom Keffer
adb8b4ebfe Changed how various undocumented parameters in [StdWXCalculate] are specified.
The only one people are likely to have used is ignore_zero_wind. See the
Upgrading Guide.

Documented the various [StdWXCalculate] options.
2020-11-11 06:10:18 -08:00
Tom Keffer
0215e41f5a Added old algorithm for calculating heat index. User selectable.
Documented the StdWXCalculate options and algorithms.
2020-11-06 16:07:02 -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
efedd29ef5 V4.2.0 2020-10-26 17:58:43 -07:00
Tom Keffer
2efa6b7398 Added the new data types in the extended_wview schema to the WeeWX types
system. Fixes issue #613.

New types: co, co2, lightning_energy, luminosity, nh3, no2, noise, o3,
pb, snowDepth, snowMoisture, snowRate.

New unit groups: group_db and group_fraction.

New units: dB, ppm, and mega_joule.
2020-10-24 10:32:12 -07:00
Tom Keffer
3b7c68428a Warn about deprecated stations. 2020-10-21 12:08:24 -07:00
Tom Keffer
56406c4963 Document force_direction (issue #614). Update change log. 2020-10-20 15:24:47 -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
dea4459a07 Fixed problem in WMR200 driver where missing UV reports as index 255. 2020-10-10 08:39:22 -07:00
Brent Fraser
35cc238364 add ability to select the y-axis to label (#610)
* add ability to select the y-axis to label

* added note re ability to select the y-axis to label
2020-09-28 05:38:38 -07:00
Tom Keffer
12c635aaba Fixed problem where old daily summaries may not have a version number. 2020-09-22 03:57:58 -07:00
Tom Keffer
b50fe4532c Allow overriding the data binding when using iterators. Fixes issue #580. 2020-09-16 08:54:33 -07:00
Tom Keffer
4a0a9c1b48 Use a more modern formula for heat index. Fixes issue #601. 2020-09-13 09:51:04 -07:00
Tom Keffer
61d805620f Moved change log for the ws23xx driver to the correct location. 2020-09-09 08:39:54 -07:00
Tom Keffer
71f55d52b8 Fixed problem with ws23xx driver under Python 3 that caused it to crash. 2020-09-07 18:29:21 -07:00
Tom Keffer
08de8792ef Document PR #597. Add tests. 2020-08-29 12:37:45 -07:00
Tom Keffer
90c9b640c2 New unit "kPa", included in "group_pressure". Fixes issue #596. 2020-08-27 05:08:14 -07:00
Tom Keffer
28bc0e8183 Made it easier to subclass class Simulator. 2020-08-11 08:07:20 -07:00
Tom Keffer
5f59541472 Expressions in StdCalibration are now ordered.
Later corrections can depend on earlier corrections.
2020-08-11 07:53:09 -07:00
Tom Keffer
724dacc52d Fixed bug in the simulator. 2020-08-11 05:32:20 -07:00
Tom Keffer
f62d79138e New unit "beaufort", part of group_speed. Treating beaufort as a separate type
has been deprecated. Fixes issue #591.
2020-08-06 14:56:23 -07:00
Tom Keffer
a28b7d4024 Fixed problem where aggregates of windvec and windgustvec returned the aggregate
since start of day, not the start of the aggregation period. Fixes issue #590.
2020-08-06 10:59:43 -07:00
Tom Keffer
56ebe963e5 Corrected errors in the change log. 2020-07-30 11:50:04 -07:00
claudobahn
864626f267 Added units for lightning_distance, lightning_disturber_count, lightning_noise_count, and lightning_strike_count and default labels for strike count / distance. Updated documentation. (#581) 2020-07-09 07:06:27 -07:00
gjr80
e8a5015fe3 Update change list with vantage loop packet sunrise/sunset fix 2020-06-30 23:06:57 +10:00
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