I've had a look at the files and have picked up a couple of things. There is a bug in weectl import that causes an import to fail if a 'direction' field is imported and no unit is explicitly specified in the field map for the field concerned. I've fixed that bug with the fix to appear in the next release. The other issue is with your import config file. When importing data that includes fields for which no data is provided you need to set ignore_invalid_data = True otherwise the import will fail when the empty string data cannot be converted to a numeric value.
You can download and install the updated file and carry out your import as follows: 1. move aside your existing weeimport.py, you should find it at /usr/share/weewx/weeimport/weeimport.py 2. download the updated weeimport.py using the following command: $ wget -P /usr/share/weewx/weeimport https://raw.githubusercontent.com/weewx/weewx/refs/heads/master/src/weeimport/weeimport.py 3. edit your import config file and set ignore_invalid_data = True then save the import config file 4. re-run the import, you might like to try a dry run first 5. check the WeeWX log for success or otherwise, you should see log entries for each record processed. If any problems please make a text copy of the weectl import session along with a log extract for the session and post both back here. Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/17838998-b86f-44f6-b6dd-5300de7f68e4n%40googlegroups.com.
