Commit Graph

4880 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
3f8343a660 Updated csv import screen captures to reflect current wee_import console output 2019-12-06 15:17:52 +10: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
c4138989f6 Document PR #472, addressing issue #375. 2019-12-02 14:40:46 -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
mwall
a8227c40d5 use modified names for NOAA files in setup.py 2019-11-30 15:20:39 -05:00
Tom Keffer
2fb515aab6 Merge remote-tracking branch 'origin/development' into development 2019-11-29 15:00:25 -08:00
gjr80
75bac7482b Need to adjust start timestamp for a calc_missing arising from an import 2019-11-30 08:23:41 +10:00
Tom Keffer
73b2843ffa Suppress HTML warning. 2019-11-28 17:09:39 -08:00
Tom Keffer
20af3ac0dc Reformatted. 2019-11-28 17:08:33 -08:00
Tom Keffer
f4652ef5e7 Renamed NOAA report files. Worked on docs for issue #415. 2019-11-28 16:28:22 -08: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
eb929ebd9f Corrected support versions of Python 3. 2019-11-28 09:51:21 -08:00
Tom Keffer
0ec08042aa NOAA reports are now more tolerant of missing data. Fixes issue #300. 2019-11-28 05:31:45 -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
d293a5981a Updated instructions for openSUSE, both Python 2 and 3.
Tested on Leap 15.1 only.
2019-11-26 16:43:48 -08:00
Tom Keffer
8371a88457 Update instructions for Python 3 on RHEL 8. 2019-11-26 13:39:50 -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
29acf0ea51 Add kWh and Ws to unit groups 2019-11-21 08:52:15 -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