Commit Graph

2842 Commits

Author SHA1 Message Date
tkeffer@gmail.com
55f9cb3bea Reverted wview schema to use "old-style" schema. 2019-12-06 07:26:18 -07:00
gjr80
8739ec207b Added a little more commentary to explain the various record processing messages
Minor output consistency fixes
2019-12-06 15:16:42 +10:00
tkeffer@gmail.com
3f027c28fb Python 3 interprets division differently. Replaced with shift right. 2019-12-05 16:07:55 -07:00
tkeffer@gmail.com
40b59815bb Revisit PR #416, issues ##414 and #445. Wunderfixer now uses "dual API".
One for today, one for historical data.
2019-12-03 15:03:55 -07:00
tkeffer@gmail.com
880491eeef Merge branch 'master' into development 2019-12-02 14:31:03 -07:00
Chris
0ecd4fed83 wmr200: Discard packets with 'interval' of zero (#472)
Packets with pc adjusted time that occur after the
startup timestamp but before the minimal interval
expected (60 seconds) produce an interval of 0.

Issue: 375
2019-12-02 14:29:43 -07:00
gjr80
75bac7482b Need to adjust start timestamp for a calc_missing arising from an import 2019-11-30 08:23:41 +10:00
gjr80
4a7145dd43 Implement strftime() format codes in Cheetah template file names (#471)
Refer issue #415
2019-11-28 15:53:57 -08:00
Tom Keffer
d60c154c2f Fixed fousb problem under Python 3. 2019-11-27 17:48:24 -08:00
Tom Keffer
e3429d33a1 Round values before putting in database. Add by-month tests. 2019-11-27 10:17:08 -08:00
Tom Keffer
b4c820f703 V4.0.0b4 2019-11-26 17:22:14 -08:00
Tom Keffer
9ac2dd76d5 Support expressions in aggregations. 2019-11-26 09:52:36 -08:00
Tom Keffer
4a36cbfeb7 Merge remote-tracking branch 'origin/development' into development 2019-11-26 04:55:04 -08:00
Tom Keffer
06b7e75161 Speed up the test of the engine by only testing with sqlite; print less. 2019-11-26 04:54:55 -08:00
gjr80
5a7380ee70 Moved some common init code into the base DatabaseFix class, fixed a few pycharm complaints 2019-11-26 19:02:13 +10:00
gjr80
b6416cd9fb minor output format changes, removed unused variable, fixed couple of pycharm complaints 2019-11-26 19:00:31 +10:00
Tom Keffer
c4100900b9 Generate less data for the alternate binding.
Trying to speed up the tests...
2019-11-25 18:36:03 -08:00
Tom Keffer
0c0724deb7 Changed test suites to use more realistic numbers. 2019-11-25 16:34:19 -08:00
Tom Keffer
f5e86517f4 Use weecfg.database.CalcMissing() to calculate derived variables.
Longer archive interval.
2019-11-25 16:33:35 -08:00
Tom Keffer
63792ecdaf Default value for maxSolarRad algorithm 2019-11-25 14:48:36 -08:00
gjr80
75c3721e8f Revised calc-missing functionality should now be working. Think most corner cases have been picked up. 2019-11-25 19:06:08 +10:00
Tom Keffer
8cbcd96c62 More realistic synthetic database. However, see TODO.md 2019-11-24 05:47:56 -08:00
Tom Keffer
6ffb2f23b5 import user.extensions before starting reports. 2019-11-23 10:00:28 -08:00
Tom Keffer
f1cf079adb V4.0.0b3 2019-11-23 08:13:01 -08:00
Tom Keffer
0087fff098 When unable to find an aggregation, show the type as well. 2019-11-23 08:11:28 -08:00
Tom Keffer
89bcbfa524 Changed class Wind to WindVec; WindDaily to WindVecDaily.
No cumulative for a single aggregation
2019-11-23 06:29:18 -08:00
Tom Keffer
5d5fe0dbaf Optimize calculating 'windvec' using daily summaries if possible. 2019-11-22 16:12:19 -08:00
Tom Keffer
60fe8d7fbb Eliminate unnecessary unicode strings 2019-11-22 13:54:16 -08:00
Tom Keffer
4f5e4c32eb Keep observation keys consistently in the native string type. 2019-11-22 13:53:57 -08:00
Tom Keffer
189ea541d9 Fixed problem with METRIC system using wrong units. 2019-11-22 13:22:44 -08: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
6bdc06bdd1 V4.0.0b2 2019-11-22 05:32:07 -08:00
Tom Keffer
bd99e87141 Fixed a test that apparently was not getting run. 2019-11-21 15:35:17 -08:00
Tom Keffer
e537399328 Refactored to allow tests to be run automatically from within PyCharm 2019-11-21 15:34:48 -08:00
Tom Keffer
151c3c7779 Relaxed test assertions to reflect conversion to string and back 2019-11-21 08:51:09 -08:00
Tom Keffer
0b0b4403b2 All the xtype functions that use the main archive table under one class. 2019-11-21 06:04:02 -08:00
Tom Keffer
d5d3796749 Fixed problem when calculating heating degree-days in a different
unit system from the unit system used for the base.
2019-11-20 18:02:58 -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
ce5bc8b16a Allow post_indoor_observations and api_key to be used with Rapidfire 2019-11-20 08:09:08 -08:00
Tom Keffer
768f791770 Merge branch 'master' into development
# Conflicts:
#	bin/weewx/manager.py
2019-11-20 05:56:04 -08:00
Tom Keffer
bf416925c7 Ignore bad values for 'interval', rather than crashing. 2019-11-20 05:50:27 -08:00
Tom Keffer
073be00439 Fixed problem when direction is None, but magnitude is not. 2019-11-19 15:37:01 -08:00
Tom Keffer
de34845da5 Allow import pymysql in lieu of MySQLdb 2019-11-19 11:43:00 -08:00
Tom Keffer
49effd9297 Ported test_errors to later versions of MySQL (8.8) 2019-11-19 10:03:25 -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
f185322f14 No longer do CWOP passcode checks. 2019-11-18 06:25:11 -08:00
Tom Keffer
af083cfb16 Revert "Methods are no longer static."
This reverts commit 85c14c2a23.
2019-11-16 17:43:58 -08:00
Tom Keffer
c99c25ee5c Fixed problem triggered when using backwards-compatible schemas. 2019-11-16 16:14:56 -08:00
Tom Keffer
85c14c2a23 Methods are no longer static. 2019-11-16 15:34:43 -08:00
Tom Keffer
f1c50ae8c4 Fixed problem when calculating cumulative series. 2019-11-16 05:48:57 -08:00