Commit Graph

3165 Commits

Author SHA1 Message Date
Rich Bell
b4db1782be log configuration errors (#637)
Looks good! Thanks, Rich.
2021-01-12 17:51:46 -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
caac12df3f Log when backfilling daily summaries is complete 2021-01-05 05:13:47 -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
cc4fd30222 Fixed problem where wind speed is None. 2020-12-31 15:51:30 -08:00
Tom Keffer
c1d340b818 Refactored into smaller test units. 2020-12-31 15:43:09 -08:00
Tom Keffer
47a55eede7 Fixed problem where the config section for the new extension is not a ConfigObj. 2020-12-31 15:42:53 -08:00
Tom Keffer
ea31b56db2 Merge branch 'master' into development 2020-12-30 04:26:55 -08:00
gjr80
35be6eafa0 fix error in weathercat processing of raw data 2020-12-30 12:39:34 +10: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
2cc2d56202 Allow initial comments in installer "config" section 2020-12-28 08:06:03 -08:00
Tom Keffer
30e8e02467 V4.3.0b3 2020-12-26 14:08:19 -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
Tom Keffer
b703517638 Test example vaporpressure.py.
Also tests class XTypeTable
2020-12-25 17:41:45 -08:00
Tom Keffer
98eef9be0f config section in installer remains a ConfigObj if possible.
More faithful reproduction of comments possible.
2020-12-23 16:40:13 -08:00
Tom Keffer
d36c0b0ae5 Removed no longer needed function _check_intervals().
Reformatted.
2020-12-23 14:35:22 -08:00
Tom Keffer
3534a3a3ca More efficient way of calculating times of mins and maxes.
Added tests for first, last, for windvec.
2020-12-23 05:36:14 -08:00
Tom Keffer
c6ab59a4f6 Refactored to use a simple call to unittest.main().
Added a check for wsum.
2020-12-21 14:35:35 -08:00
gjr80
dae159ed1a bump wee_import version number and add --no-prompt to change log 2020-12-20 07:02:27 +10:00
gjr80
3d7047a38f Merge branch 'development' into wee_import_no_prompt 2020-12-20 06:57:14 +10:00
Tom Keffer
75c1232789 Added a test for patching V4.2 databases. 2020-12-18 17:36:10 -08:00
Tom Keffer
a5042548ad V4.3.0b2 2020-12-18 09:06:21 -08:00
Tom Keffer
b99843d983 Removed WMR200 driver and references. 2020-12-18 09:06:05 -08:00
Tom Keffer
ca322ddbf5 Added optional weighting function. 2020-12-18 08:20:08 -08:00
Tom Keffer
d5cd49868a Change database name to test_scratch in keeping w/other names.
Updated make-clean target.
2020-12-17 15:45:34 -08:00
Tom Keffer
7977b8d9a3 Test reweighting MySQL databases. 2020-12-17 13:34:32 -08:00
Tom Keffer
4e9c419187 Convert daykeys from a list to a set 2020-12-17 13:33:53 -08:00
Tom Keffer
f82d29f47f Refactor reweighting the weighted sums. 2020-12-17 13:33:31 -08:00
Tom Keffer
bfd1fcf063 MySQL error changed for selecting from non-existent database. 2020-12-17 06:52:26 -08:00
Tom Keffer
b8259e53b8 Fixed problem that prevented weights from being recalculated from scratch 2020-12-15 11:18:43 -08:00
Tom Keffer
a88ca55fba Add path to the examples directory.
So the user doesn't have to remember to do so.
2020-12-14 16:53:03 -08:00
Tom Keffer
aa90152581 We are not testing image generation, so why generate them?
Time to run test_templates dropped from 26s to 12s.
2020-12-14 16:52:11 -08:00
Tom Keffer
38502bf5a9 locale.format() has been deprecated. Use locale.format_string() instead 2020-12-14 16:51:29 -08:00
Tom Keffer
782c7bbe84 V4.3.0b1 2020-12-14 06:13:28 -08:00
Tom Keffer
f8bacdcff6 Test for leaving windGustDir=None alone. 2020-12-14 06:11:10 -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
7bff7e0d85 Introduce new schema wview_small. Use it for the test suites.
Tests take a little more than half the time with the smaller schema.
2020-12-10 06:19:45 -08:00
Tom Keffer
3d63666961 Fixed restarting date when recovering from an aborted backfill.
Simplified algorithms to calculate start/stop dates.
2020-12-09 18:02:31 -08:00
Tom Keffer
c1901592b4 Add --reweight command for wee_database 2020-12-07 15:11:46 -08:00
Tom Keffer
cfdf5bcae7 Allow specifying date ranges for reweighing. 2020-12-07 15:11:21 -08:00
Tom Keffer
ffa991a153 Use recalculate_weights() instead of IntervalWeighting object 2020-12-06 06:23:41 -08:00
Tom Keffer
e5bfb569da Initial cut at directly recalculating the daily summary weights.
With this approach, it is not necessary to rebuild all the daily summaries.
2020-12-05 12:36:45 -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