- ditched Wunder/wunder, now uses WU/wu throughout
- removed unused sections from example import config files
- updated documentation to reflect WU/wu changes
- 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
- 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
- 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
- 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
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.
- created weewx/bin/weeimport folder and contents
- created weewx/util/import folder and contents
- deleted weewx/wee_import.conf
- updated weewx/bin/wee_import
- 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