after using my Vantage pro 2 with Weather Display for about 15 years, I think now its time for a change. :)
I am making the first tests for transferring data, before switch the live system.
My problem, I cannot import the log data from wdisplay.
I'm getting this error message:
pi@WEEWX-DEMO:/etc/weewx $ wee_import --import-config=wd-import-test.conf --from=2020-12-01T00:00 --to=2020-12-31T23:59 --verbose
Using WeeWX configuration file /etc/weewx/weewx.conf
Starting wee_import...
Weather Display monthly log files in the '/tmp/wdisplay' directory will be imported
The following options will be used:
config=/etc/weewx/weewx.conf, import-config=/etc/weewx/wd-import-test.conf
from=2020-12-01T00:00, to=2020-12-31T23:59
dry-run=None, calc_missing=True, ignore_invalid_data=True
monthly logs are in METRIC units
tranche=250, interval=1
UV=True, radiation=True ignore extreme temperature and humidity=True
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
Observations timestamped after 2020-12-01 00:00:00 CET (1606777200) and up to and
including 2020-12-31 23:59:00 CET (1609455540) will be imported.
Starting import ...
Records covering multiple periods have been identified for import.
Period 1 ...
Obtaining raw import data for period 1 ...
Traceback (most recent call last):
File "/usr/share/weewx/wee_import", line 903, in <module>
main()
File "/usr/share/weewx/wee_import", line 833, in main
source_obj.run()
File "/usr/share/weewx/weeimport/weeimport.py", line 369, in run
_raw_data = self.getRawData(period)
File "/usr/share/weewx/weeimport/wdimport.py", line 598, in getRawData
_ts = "%s" % int(time.mktime(_tt))
OverflowError: mktime argument out of range
Any ideas? File content is looking ok.
It is happening with all time tests across this 15 years.
Here a month sample data.
Thanks for any ideas...
Peter