Commit Graph

23 Commits

Author SHA1 Message Date
gjr80
287f5b2945 Fixed Cumulus import rain field issue
wee_import will try to use field 26(AA) - midnight reset daily rainfall
but if not available due it will revert to field 9(J) or 11(L)
2017-02-03 12:02:44 +10:00
gjr80
2df1aa121a Changed config option names but never changed the code! 2017-02-03 08:39:43 +10:00
gjr80
9a64309e3f Can now specify date field separator for Cumulus imports, weewx -> weeWX 2017-01-28 16:49:12 +10:00
gjr80
3ce1f85d11 Fix error where import fields that are None can cause Source.mapRawData() to crash in some cases 2017-01-27 23:43:40 +10:00
gjr80
340f8ca1c9 Fixes issue #176. 2016-11-11 07:57:56 +10:00
gjr80
c027bb4aaf fixed incorrect WU daily rain field name 2016-11-08 16:13:21 +10:00
gjr80
a19169937e Implement posix date and date-time formats in wee_import, reformat user feedback
Reformatted user feedback when user aborts an import due to multiple
different interval values being found.
2016-10-12 23:15:20 +10:00
gjr80
bd60d9b6ea Implement posix date and date-time formats in wee_import and bump version 2016-10-12 23:09:00 +10:00
gjr80
7158279201 Fix wee_import unit system error
wee_import was assuming that the destination database was always in US
customary units. Fixes bug identified here:
https://groups.google.com/d/msg/weewx-user/mlw2k1encLU/0plOuIGjAwAJ
2016-10-08 23:46:28 +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
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
Tom Keffer
7787c89310 Added wee_import to changes doc.
Added Gary to copyright notice
2016-09-10 16:49:48 -07: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
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
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
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
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
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