Commit Graph

1790 Commits

Author SHA1 Message Date
matthewwall
8aa935d9ea average wind dir is reported, no need to calculate it 2016-09-21 06:36:34 -04:00
gjr80
918290f3c6 Forgot wee_import refer last commit comments 2016-09-21 00:40:39 +10:00
gjr80
09487f26b1 Revised CSV field map, restructured parseMap() plus other minor changes
- revised CSV field map
- restructured Source.parseMap()
- reworked --log option help text to format better on screen
- and the obligatory typos
2016-09-21 00:40:11 +10:00
Tom Keffer
908a918017 Changed command to clear Vantage memory from --clear to --clear-memory,
to make it more consistent with other hardware.
Polished documentation for wee_extension.
2016-09-19 05:55:19 -07:00
matthewwall
31b1830b76 fix historical pressure in wmr300 driver 2016-09-18 11:58:30 -04:00
matthewwall
e2acf4ca7d fix corner case in fousb driver that could result in None for archive interval 2016-09-18 08:23:05 -04:00
Tom Keffer
ffe439af05 Bumped version to V3.6.0a1. Augmented documentation for wee_database 2016-09-17 18:02:27 -07:00
dcapslock
1a8269afc6 Implement format_data() in RESTThread 2016-09-16 18:12:07 +10:00
Tom Keffer
c32d13fcb1 Merge pull request #153 from gjr80/wee_import_QC
Now uses revised QC class for QC checks, other minor changes
2016-09-12 16:21:47 -07:00
gjr80
01afb4afd6 Various minor changes, refer description
- bump required version to 3.6.0
- reformatted --log help text to display better
- now uses revised QC class for QC checks
- typo
2016-09-12 09:37:37 +10:00
gjr80
c5a4034284 Restore some lost log detail to the new StdQC service
Make sure the new StdQC service can distinguish between data types in
any log output (as did the old StdQC)
2016-09-12 00:04:23 +10:00
gjr80
3facad5ae9 Moved QC class to weewx/qc.py 2016-09-11 12:14:48 +10:00
gjr80
ada9e57f7e Add a layer of abstraction to StdQC to allow weewx QC to be used by other apps
Refer PR148 (wee_import) comments
2016-09-11 11:05:37 +10:00
Tom Keffer
7787c89310 Added wee_import to changes doc.
Added Gary to copyright notice
2016-09-10 16:49:48 -07:00
gjr80
1e45bccf75 Merge remote-tracking branch 'upstream/master' into wee_import_QC 2016-09-11 09:04:41 +10:00
gjr80
a7f4282a13 More changes from PR148 comments
- tightened up log notifications to be more succinct
- notifications should only cover the extraordinary
- changed WeeImportLog.verboselog() signature
2016-09-11 09:01:12 +10:00
gjr80
9183f65725 Various changes resulting from PR148 feedback, refer comments
- ditched Wunder/wunder, now uses WU/wu throughout
- removed unused sections from example import config files
- updated documentation to reflect WU/wu changes
2016-09-10 11:18:18 +10:00
matthewwall
a8bad73494 provide non-debug feedback while reading from logger 2016-09-09 21:17:54 -04:00
gjr80
12a02df945 Merge remote-tracking branch 'upstream/master' into wee_import_QC 2016-09-10 10:51:21 +10:00
Matthew Wall
760d55d4a3 remove usb reset. fix gen_records argument bug. 2016-09-08 23:27:53 -04:00
gjr80
d2330018d1 Refer summary comments
- revised Cumulus import preamble to be more consistent with the other
source imports
- renamed weewx_qc config option to qc
- reworked wee_import log and screen output (again) to give more
consistent output, particularlly when doing a dry run
- added qc infor to config sections of various files
2016-09-09 13:13:10 +10:00
gjr80
ae8e27dccd Merge remote-tracking branch 'upstream/master' into wee_import_QC 2016-09-08 13:34:21 +10:00
gjr80
6c18c34ee3 Missed cumulusimport.py from last commit 2016-09-08 13:28:41 +10:00
gjr80
a36a178a0b Revert to python syslog module rather than logging, other minor fixes
- log output is now save din the weewx log file not a separate
wee_import log file.
- fixed bug in CSVSource.periodgenerator()
- found (and removed) a few references to now defunct wee_import.conf
- revised comments at top of each method
- moved summuray info output from Source.saveArchive() to Source.run()
- added comments to ImportQC class
- reworked option parser config in wee_import
2016-09-08 13:28:06 +10:00
matthewwall
88a4837216 Merge branch 'master' of github.com:weewx/weewx 2016-09-07 19:27:09 -04:00
matthewwall
1fc3b7dc0b deal with empty buffers in wmr300 driver 2016-09-07 19:27:05 -04:00
gjr80
7f53a5a0b8 Merge remote-tracking branch 'upstream/master' into wee_import_QC 2016-09-07 12:15:20 +10:00
Tom Keffer
57f62fbd85 Clarified that weewx supports FTPS, not SFTP. 2016-09-06 08:48:23 -07:00
gjr80
a01ff80775 Fix conflicting --date argument format 2016-09-06 23:04:24 +10:00
gjr80
a3bf16a3f7 Implement QC and rework logging at end of saveToArchive()
- new class ImportQC() to implement weewx StdQC QC min/max limits on
imported records.
- rearrange saveToArchive() logging to give a more consistent log output
- a few minor typos
2016-09-06 22:53:53 +10:00
gjr80
aa9dac99dd Spelling errors picked up in eclipse 2016-09-04 09:11:31 +10:00
gjr80
23dcfaac65 Rework some log messages and fix unit system issues for some date limited imports
- fixed issue affecting imports where no records are saved to archive
until 2nd or later periods
- rework various log messages
- now only get a WXCalculate object if we really need one
- fixed issue whereby unit system for no db situation was not returned
correctly
- removed some redundant object naming
2016-09-03 16:19:13 +10:00
gjr80
7c36f61253 Merge remote-tracking branch 'upstream/master' into wee_import 2016-09-03 09:28:33 +10:00
gjr80
f2957cfc22 Various minor changes
- changed Cumulus source parameter from folder to directory
- moved startup message so that it still shows first
2016-09-03 09:24:16 +10:00
gjr80
e569218aa8 Allow calcRainRate to calculate rainRate from archive records if no loop packets
calcRainRate() only calculates rainRate if loop data is available. This
works for a connected weather station (they all provide loop data) but
does not work for wee_import where there is no loop data.
This change retains archive rain data in parallel with loop rain data
and if there is no loop rain data rainRate is calculated using the same
sliding window algorithm but based on a sum of archive rain not loop
rain. All (currently supported) weather stations provide loop data so
this change does not affect operation with a connected weather station.
The change only affects weather stations the do not provide loop data or
wee_import data.
2016-09-02 14:59:47 +10:00
gjr80
1448cdbb46 Added missing logging import 2016-09-02 13:13:26 +10:00
gjr80
b84f770d3d Revised preamble given wee_import restructure 2016-09-02 09:32:59 +10:00
gjr80
0926542b9f missed wee_import from previous commit 2016-09-01 17:13:33 +10:00
gjr80
0e23a4ed37 Various
- fixed some redundant/omitted imports
- removed whitespace
- fixed typos in .conf files
- fixed incorrect optparse option settings
2016-09-01 17:11:36 +10:00
gjr80
8b38aa7ea4 1st commit restructured wee_import
- created weewx/bin/weeimport folder and contents
- created weewx/util/import folder and contents
- deleted weewx/wee_import.conf
- updated weewx/bin/wee_import
2016-08-31 16:32:12 +10:00
matthewwall
43026d4296 fix typos 2016-08-28 09:15:07 -04:00
gjr80
e77382f552 Merge pull request #140 from gjr80/wee_import
A wee_import utility.

I trust I got this right - first time.
2016-08-22 11:40:53 +10:00
gjr80
18b60d7d46 remove except..as statements, fix spelling errors 2016-08-22 11:15:44 +10:00
gjr80
ea29d1e08f Revert "Implement weighting of obs used in daily summary stats"
This reverts commit 5141fd49c7.
2016-08-19 22:22:54 +10:00
gjr80
d14a445d35 Various tweaks
- CSV and Cumulus imports now use a UV and radiation config setting to
indicate whether valid UV and radiation obs are in the imported data.
Largely brought about becasue Cumulus writes 0 for UV and solar
radiation if no sensors are present and weewx needs to distinguish
between no data and a 0 observation.
- Tweaked logging of field mappings.
- Added UV and radiation parameters to wee_import.conf
2016-08-19 22:14:52 +10:00
gjr80
a79c791db5 Let's put wee_import in the correct folder! 2016-08-19 11:11:36 +10:00
mwall
564500fe18 note the comm specs 2016-08-17 09:47:30 -04:00
matthewwall
ff01b1b464 make set/get interval consistent for cc3000 driver 2016-08-17 09:27:21 -04:00
gjr80
f6a21268df Merge remote-tracking branch 'upstream/master' 2016-08-02 15:21:56 +10:00
gjr80
696d217c1a Fix typo
You don't want to know how long it took to find this one!
2016-07-29 15:57:03 +10:00