Commit Graph

102 Commits

Author SHA1 Message Date
Tom Keffer
fe9eb512a8 Moved things back to their v4 locations.
make target `pypi-packages` copies them back into `wee_resources`
before invoking `poetry build`
2023-02-26 13:52:09 -08:00
Tom Keffer
01666f059c Moved user directory into package resources.
Include it as part of `weectl station create`.

Inject its new path into PYTHONPATH.
2023-01-07 17:00:55 -08:00
Tom Keffer
91e9864a98 Went through all the Python code, deleting all SVN $Id$ tags.
Standardized copyright notices, except for those I don't own.
2015-02-21 09:44:19 -08:00
Tom Keffer
1738d2ffed Reintegrate from the v3 branch.
V3.0.0b1
2014-11-29 18:15:24 +00:00
Matthew Wall
889bce0a5d move forecast module. added forecast skin. 2014-01-19 18:50:18 +00:00
Matthew Wall
bee578d93f in forecasting, in order to avoid duplicate records, default to one retry for database writes, 3 for database reads 2014-01-15 05:07:47 +00:00
Matthew Wall
99bbc3a384 verify behavior of array as tide location 2014-01-11 16:45:34 +00:00
Matthew Wall
2f94f1ffdf fix metric conversion bug in xtide forecast 2014-01-07 18:01:55 +00:00
Matthew Wall
94890ea925 do not report error if simply no tide results 2014-01-07 16:34:57 +00:00
Matthew Wall
57448bb1c8 fix bug in xtide location parsing 2014-01-07 13:35:26 +00:00
Matthew Wall
9e2ef96947 added interface for manual command-line downloads of forecasts. improved diagnostics for failed nws forecast parsing. 2014-01-03 19:30:10 +00:00
Matthew Wall
febf55cee1 deal with empty values for sky coverage 2013-12-23 03:13:56 +00:00
Matthew Wall
e3a7b04148 get forecast unit tests to work again. added options to save every raw forecast and/or any failed raw forecast. 2013-12-22 19:13:50 +00:00
Matthew Wall
18f1dd9440 minor cleanup to handle better the forecasting default values 2013-12-22 13:08:56 +00:00
Matthew Wall
1c2ff9d52c fix silly mistake 2013-12-22 04:40:14 +00:00
Matthew Wall
07fdae7181 include forecast method when logging vacuum 2013-12-22 01:54:53 +00:00
Matthew Wall
8c271552ca better error handling and recovery for database retries 2013-12-22 01:50:02 +00:00
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