Commit Graph

85 Commits

Author SHA1 Message Date
Matthew Wall
91c2466f8d use md5 digest to avoid saving the same failed forecast multiple times 2013-12-21 15:04:38 +00:00
Matthew Wall
d9c982b88a fixed bug in forecast failure dump 2013-12-21 14:52:55 +00:00
Matthew Wall
57cfc07e78 eliminate marshaling overhead when querying for last timestamp. prevent partial data from previous failures from infilitrating good query. 2013-12-20 15:56:41 +00:00
Matthew Wall
4c56823c03 forgot to break after success 2013-12-20 15:35:26 +00:00
Matthew Wall
d7d6c5e11a retry database reads and writes. eliminate some dead code. option to save failed forecasts to disk for later diagnoses. explicitly close database connections. 2013-12-20 13:14:59 +00:00
Matthew Wall
b5f33bf0fc added option to save failed wu forecast to disk 2013-12-14 15:41:01 +00:00
Matthew Wall
104b831b78 recognize wu fctcode as well as condition and wx 2013-11-10 14:47:21 +00:00
Matthew Wall
8446ae190d look for precip/obvis in wx first, fallback to conditions 2013-11-10 03:45:56 +00:00
Matthew Wall
0344f99f05 provide qpf and qsf counts for summaries 2013-11-08 22:11:21 +00:00
Matthew Wall
c8214e2735 ensure correct type for config parameters 2013-10-29 01:25:00 +00:00
Matthew Wall
3976e67b0c minor documentation fixes 2013-10-12 22:12:36 +00:00
Tom Keffer
3b0d070fb6 Added "from future" import so it will run on Python v2.5.
Suppressed "unused variable" warning.
2013-10-12 18:45:41 +00:00
Tom Keffer
5e2eb07493 Suppressed some warnings. 2013-10-12 15:03:34 +00:00
Matthew Wall
e6ac08bc3a minor tuneup of logging and logwatching 2013-10-12 12:45:51 +00:00
Matthew Wall
bd3c603d9c fix lat/lon typo in forecast module 2013-10-12 03:36:50 +00:00
Matthew Wall
e475e8b596 fix array length check 2013-10-11 17:19:10 +00:00
Matthew Wall
966886013c added desc, hail to forecast schema. added option to vacuum sqlite database. 2013-10-11 13:41:17 +00:00
Matthew Wall
1e53b346c9 do not emit nws timestamp info to log 2013-10-09 12:19:50 +00:00
Matthew Wall
6f5052df7a fix changed cheetahgenerator paths and api in forecast module 2013-10-09 04:29:18 +00:00
Matthew Wall
59e30366d2 rearrange unit tests for forecast and cheetahgenerator 2013-10-09 02:54:56 +00:00
Tom Keffer
2ac995dd14 Reintegrated the "forecast" branch into the main trunk. 2013-10-08 22:46:42 +00:00
Tom Keffer
21554dcdbd Clarified some comments. Deleted the no longer needed extstats.py module. 2013-10-08 01:04:32 +00:00
Tom Keffer
7999d5b3d3 Catch up with main trunk 2013-10-04 23:16:10 +00:00
Tom Keffer
ac490f9f9e Started making CheetahGenerator the default file generator. 2013-10-04 16:09:38 +00:00
Tom Keffer
0dc1ecb423 Moved webpath into the [Station] section. 2013-10-04 15:27:31 +00:00
Matthew Wall
7fc062f460 added comments. indicate report name in log. 2013-10-03 16:30:03 +00:00
Matthew Wall
c33844803d implementation of extensible search list architecture 2013-10-02 14:27:10 +00:00
Matthew Wall
01320d88b2 minor unit test cleanup, code comments 2013-09-30 15:32:08 +00:00
Matthew Wall
f79f81ac88 fix units conversion problem 2013-09-24 03:15:37 +00:00
Matthew Wall
c3cc739b4c fix bug in min/max/avg calculation for precipitation ranges 2013-09-18 17:50:58 +00:00
Matthew Wall
116b2e8892 smarter schema comparison with more useful error reporting 2013-09-17 11:18:19 +00:00
Matthew Wall
efdf1a0d4a cosolidate code for creating forecast summary and period variables 2013-09-11 01:00:25 +00:00
Tom Keffer
f205595715 Weewx now allows easier localization to non-English speaking locales.
In particular, set the environment variable LANG to your locale, and
then weewx date and number formatting will follow local conventions.
Details in a new section in the Customization Guide.
2013-09-10 20:19:17 +00:00
Matthew Wall
7419a7ec1b make zambretti more robust when we get dirty weather data. make test_forecast work with weewx 2.3.x. 2013-09-10 11:54:32 +00:00
Matthew Wall
917a500b13 added basic type safety to zambretti. added check for last forecast to avoid unnecessary downloads. added crude optimization of summary calculation to reduce generation of forecast.html.tmpl page from 40s to 20s on an ionics arm system. 2013-09-09 15:20:34 +00:00
Matthew Wall
6252c57e98 update comments 2013-09-09 11:14:43 +00:00
Matthew Wall
88b712c148 slightly better hack for case where no forecast records 2013-09-08 10:56:45 +00:00
Matthew Wall
331513f404 hack for case where no forecast records 2013-09-08 10:47:57 +00:00
Matthew Wall
7ecf16a763 qpf and qsf display totals in summary 2013-09-07 23:58:03 +00:00
Matthew Wall
755575f863 deal with rainfall and snowfall amounts. do proper unit conversions for all quantities that have units. consolidate labels a bit. minor refactoring of template variable code. 2013-09-07 20:15:42 +00:00
Matthew Wall
93d796ab80 record the wu location. more debugging of nws date/time stamp problems. 2013-09-04 14:12:22 +00:00
Matthew Wall
0fcd9ac04e use strptime for date conversion 2013-09-03 19:48:38 +00:00
Matthew Wall
b06b707c7e enable display of qpf/qsf. fix nws date conversion. 2013-09-03 19:23:12 +00:00
Matthew Wall
02741041c6 remove nws-specific elements from db schema. refactor/cleanup some of the nws code. update comments with wu hourly info. various bugfixes. 2013-09-03 18:30:55 +00:00
Matthew Wall
68ef58e0a7 adjust default tide interval. adjust default periods interval. better precip/obvis parsing for wu forecast. 2013-09-03 15:58:50 +00:00
Matthew Wall
84e2ebc90a fixed precip parsing for wu forecast 2013-09-03 14:35:46 +00:00
Matthew Wall
6759651a6d fixed typo in wu forecaster 2013-09-03 14:25:36 +00:00
Matthew Wall
10c2ecd2f3 major rework of the wu forecasting. now support wu hourly forecasts. cleanup wu unit tests. 2013-09-03 14:08:37 +00:00
Matthew Wall
3906e7f45d fix units and trending bugs in zambretti forecaster 2013-09-02 18:42:47 +00:00
Matthew Wall
00c09fba1c keep the eclipse gods happy 2013-09-02 00:10:51 +00:00