Tom Keffer
28e7166a90
Slightly more robust mechanism for decoding last time a file was FTP'd.
2017-02-12 13:07:05 -08:00
Tom Keffer
c3aac73dbd
Fixed test suites
...
Add MySQL back to template tests.
2017-01-24 04:36:17 -08:00
Tom Keffer
bd061a27da
Removed intervalgenRoundTS and archiveDaysAgoSpan.
2017-01-21 10:18:47 -08:00
Tom Keffer
4811cb81dd
Changed semantics of "$last_xxx" tags.
2017-01-20 18:12:48 -08:00
Tom Keffer
467022648b
Merge remote-tracking branch 'origin/master' into development
...
Conflicts:
docs/changes.txt
2017-01-15 08:18:04 -08:00
dcapslock
cd9c5d132b
Implement .spans(interval=seconds) tag timespan iterator. ( #199 )
...
* Implement .spans(interval=seconds) tag timespan iterator.
* Add .spans(interval=seconds) timespan iterator
* Add documentation and test for changes to intervalgen.
* Updated test cases for byspan.
2017-01-15 07:49:51 -08:00
Tom Keffer
c2d610ede2
Merge remote-tracking branch 'origin/master' into development
2017-01-14 13:31:04 -08:00
dcapslock
dca232ce31
Add tag time periods of last_hour, last_day, last_week, last_month and last_year. Add month_delta and year_delta to span.
...
YOu can iterate over those periods. See http://carlingfordweather.sydney/TEST/tag-test.txt for Top Temperatures over the last immediate week.
2017-01-14 15:49:27 +11:00
Tom Keffer
994f9fbc56
Rebuilds daily summary in transaction tranches.
2017-01-10 14:39:56 -08:00
Tom Keffer
99d16d6e17
Added function rebuild_days()
...
This function rebuilds the daily summary between a pair of Gregorian
ordinal dates.
2017-01-10 12:33:40 -08:00
matthewwall
6917901e32
it is ok to print time for epoch 0
2016-10-09 09:24:00 -04:00
Tom Keffer
57f62fbd85
Clarified that weewx supports FTPS, not SFTP.
2016-09-06 08:48:23 -07:00
gjr80
4f6c6c9cd7
Allow timestamp_to_string() output format to be changed
...
Allow calls to timestamp_to_string() to specify the date-time format
string of the resulting output.
Use of an argument with a default value maintains backward
compatibility.
2016-06-26 16:28:58 +10:00
Tom Keffer
2e3df797a5
Plotting now uses Unicode internally for labels.
2016-02-20 08:01:25 -08:00
Tom Keffer
4d87b666b5
Refactored test_templates to allow more than one skin to be used.
...
Added a test for UTF8 characters in the station name
2016-02-19 16:29:18 -08:00
Tom Keffer
dfcdadad0c
Fixed problem in weeutil unittest.
2016-02-18 07:40:05 -08:00
Tom Keffer
081fcc92ac
Fixed bug that prevented rsync uploader from working.
2016-01-18 08:58:10 -08:00
Matthew Wall
bbfdce617c
make unit tests compatible with python 2.6
2016-01-16 21:59:48 -05:00
Matthew Wall
ccb5b34e2e
added option for log_success to generators
2016-01-15 12:29:28 -05:00
Julen Landa Alustiza
091fa3f261
Implement hours iterable
...
add by hour template test
add missing files
Implement hours iterable
2015-12-26 17:37:55 +01:00
Tom Keffer
3a75d73b4a
More useful rsync error message.
2015-12-22 16:30:39 -10:00
Tom Keffer
d2ade101d5
Merge pull request #60 from W0CHP/master
...
Added rsync patch from Kenneth Baker
2015-10-24 17:24:38 +03:00
Chip Cuccio
fad49567c7
Added **kwargs idiom for config dict tests
2015-10-23 11:06:52 -05:00
Tom Keffer
995cc4f0d0
The FTP utility now catches PickleError exceptions, then does a retry
2015-09-03 06:57:27 -07:00
Chip Cuccio
abc8f88196
* Added patch from Kenneth Baker:
...
- Option to specify SSH key to use for rsync
- Option to enable ssh/rsync compression
- Example weewx.conf [[RSYNC]] skin/stanza config options:
compress = True
ssh_options = -i /home/weewx/weewx-id_dsa
2015-08-05 13:23:51 -05:00
Tom Keffer
052e6befdd
Merge pull request #59 from W0CHP/master
...
Fixes rsync v. => 3.1 transfer stats feedback to properly reflect no.…
2015-08-04 06:33:18 -07:00
Chip Cuccio
9f2e599db5
Fixes rsync v. => 3.1 transfer stats feedback to properly reflect no. of files tranferred. This fix/patch was provided by Kenneth Baker <bakerkj@umich.edu>. Tested on ARM debian Jessie (Rpi2 w/rsync 3.1.1.
2015-08-04 08:14:25 -05:00
gjr80
c5377674f9
implement $span tag
...
Added span to tags.py
Added archiveSpanSpan method to weeutil.py
2015-07-22 16:03:56 +10:00
tkeffer@gmail.com
2f50b38a40
Fixed indentation error in 'else' clause
2015-07-15 06:41:12 -07:00
Tom Keffer
68f00ad274
FTP uploader now retries several times to connect to a server, instead
...
of giving up after one try.
2015-07-11 18:43:44 -07:00
Tom Keffer
e8e53776aa
Added extra debug info for FTP uploads
2015-06-25 05:52:03 -07:00
Tom Keffer
956f6b6fe7
More compact diagnostics for FTP connect errors.
2015-06-24 20:06:13 -07:00
Tom Keffer
c1a4c5f7cb
First attempt to refactor database configuration
2015-06-12 07:30:00 -07:00
Matthew Wall
91f9e0bae5
provide more feedback for engine failures
2015-06-10 13:33:52 -04:00
Tom Keffer
1076982ad2
Added to the weeutil unit test suite.
2015-04-28 12:04:51 -07:00
Tom Keffer
8b11fb6cbc
$almanac.sunrise and $almanac.sunset now return ValueHelpers. Fixes
...
issue #26 .
2015-04-28 08:13:57 -07:00
Matthew Wall
7979d4e67d
better behavior when no conf specified and weewx is installed to non-standard location
2015-04-25 23:41:25 -04:00
Matthew Wall
d855d17abf
new wee_config now working properly with dpkg. consistent use of exit. do not do backup files when invoked via dpkg.
2015-04-25 18:29:10 -04:00
Tom Keffer
669bf76725
First step in refactoring config_util into package weecfg
2015-04-21 06:06:43 -07:00
Tom Keffer
72c91b0477
Got the --no-prompt option working using native distutils machinery
2015-04-05 14:28:19 -07:00
Tom Keffer
30fafb6bd2
Rewrote weeutil.weeutil.read_config to use utilities in config_util
2015-04-01 09:16:11 -07:00
Tom Keffer
b4bf1cb966
Refactoring some config utilities
2015-03-31 18:46:56 -07:00
Tom Keffer
ef77a504e0
Moved configuration test suite to its own directory under bin
2015-03-31 08:06:56 -07:00
Tom Keffer
7dbbe264fe
Added with statement (for Python 2.5).
...
Print some useful information about saving files.
2015-03-29 16:41:30 -07:00
Tom Keffer
b693205427
Moved prompt_with_options to config_util. Added test suites. Refactored
...
to use it.
2015-03-29 16:17:23 -07:00
Tom Keffer
012d01f3e4
Restructed the tests of prompt_for_input() so they are all in one
...
testing function.
2015-03-29 15:44:30 -07:00
Tom Keffer
c58176aa99
Added tests for prompt_for_info()
2015-03-29 08:56:48 -07:00
Tom Keffer
aa96f56110
Updated test to reflect change in name to config_util
2015-03-29 07:42:54 -07:00
Tom Keffer
c7b60a51f4
Added functions print_dict() and prompt_with_options() to
...
weeutil.weeutil
2015-03-28 16:58:30 -07:00
Tom Keffer
1345f22415
Move weeutil.config to config_util
2015-03-28 11:10:57 -07:00