When trying to import some missing data from WU, I get the following error:
wee_import --config=/etc/weewx/weewx.conf --import-config=/var/tmp/wu.conf --from=2017/11/30T09:00 --to=2017/12/13T15:30 --dry-run Dec 14 10:44:36 norge python[2407]: detected unhandled Python exception in '/bin/wee_import' Dec 14 10:44:36 norge abrt-server[2412]: Package 'weewx' isn't signed with proper key Dec 14 10:44:36 norge abrt-server[2412]: 'post-create' on '/var/spool/abrt/Python-2017-12-14-10:44:36-2407' exited with 1 Dec 14 10:44:36 norge abrt-server[2412]: Deleting problem directory '/var/spool/abrt/Python-2017-12-14-10:44:36-2407' Any suggestions on what's causing the improper key message and how to fix it? Are their any other configuration files or logs I can provide to help diagnose this? I'm running weewx v3.7.1 at the moment. I'd prefer not to upgrade to 3.8 just yet as I'm just recovering from a 13-day hardware failure of my ISS . . . I want to fix one thing at a time. If the "fix" for my import is to upgrade, I will . . . but would prefer to have everything ticking on v3.7.1 with the new ISS instead of changing too many things at once. Thanks, Paul VE1DX -- 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]. For more options, visit https://groups.google.com/d/optout.
# EXAMPLE CONFIGURATION FILE FOR IMPORTING FROM THE WEATHER UNDERGROUND # # Copyright (c) 2009-2016 Tom Keffer <[email protected]> and Gary Roderick. # See the file LICENSE.txt for your rights. ############################################################################## # Specify our source. Available options are: # CSV - import obs from a single CSV format file # WU - import obs from a Weather Underground PWS history # Cumulus - import obs from a one or more Cumulus monthly log files # Format is: # source = (CSV | WU | Cumulus) source = WU ############################################################################## [WU] # Parameters used when importing from a WU PWS # WU PWS Station ID to be used for import. station_id = ILAKEECH2 # # When importing WU data the following weeWX database fields will be # populated directly by the imported data (provided the corresponding data # exists on WU): barometer dateTime dewpoint outHumidity outTemp radiation rain windDir windGust windSpeed # # The following weeWX database fields will be populated from other # settings/config files: interval usUnits # # The following weeWX database fields will be populated with values derived # from the imported data provided the --calc-missing command line option is # used during import: altimeter ET heatindex pressure rainRate windchill # # The following weeWX fields will be populated with derived values from the # imported data provided the --calc-missing command line option is used # during import. These fields will only be saved to the weeWX database if # the weeWX schema has been modified to accept them. Note that the pyephem # module is required in order to calculate maxSolarRad - refer weeWX Users # Guide. # appTemp # cloudbase # humidex # maxSolarRad # windrun # How will the interval field be determined for the imported records. # Available options are: # derive - Derive the interval field from the timestamp of successive # records. This setting is best used when the imported records # are equally spaced in time and there are no missing records. # conf - Use the interval setting from weewx.conf. This setting is # best used if the records to be imported have been produced by # weeWX using the same archive interval as set in weewx.conf on # this machine. # x - Use a fixed interval of x minutes for every record. This # setting is best used if the records to be imported are # equally based in time but there are some missing records. # This setting is recommended for WU imports. # Due to WU frequently missing uploaded records, use of 'derive' may give # incorrect or inconsistent interval values. Better results may be # achieved by using the 'conf' setting (if weeWX has been doing the WU # uploading and the weeWX archive_interval matches the WU observation # spacing in time) or setting the interval to a fixed value (eg 5). The # most appropriate setting will depend on the completeness and (time) # accuracy of the WU data being imported. # Format is: # interval = (derive | conf | x) interval = 5 # Should the [StdQC] max/min limits in weewx.conf be applied to the # imported data. This may be useful if the source has extreme values that # are clearly incorrect for some observations. This is particulalrly useful # for WU imports where WU often records clearly erroneous values against # obs that are not reported. Available options are: # True - weewx.conf [StdQC] max/min limits are applied. # False - weewx.conf [StdQC] max/min limits are not applied. # Format is: # qc = (True | False) qc = True # Should any missing derived observations be calculated from the imported # data if possible. Available options are: # True - Any missing derived observations are calculated. # False - Any missing derived observations are not calculated. # Format is: # calc_missing = (True | False) calc_missing = True # Imported records are written to archive in transactions of tranche # records at a time. Increase for faster throughput, decrease to reduce # memory requirements. Format is: # tranche = x # where x is an integer tranche = 250 # Lower and upper bounds for imported wind direction. It is possible, # particularly for a calculated direction, to have a value (eg -45) outside # of the weeWX limits (0 to 360 inclusive). Format is: # # wind_direction = lower,upper # # where : # lower is the lower limit of acceptable wind direction in degrees # (may be negative) # upper is the upper limit of acceptable wind direction in degrees # # WU has at times been known to store large values (eg -9999) for wind # direction, often no wind direction was uploaded to WU. The wind_direction # parameter sets a lower and upper bound for valid wind direction values. # Values inside these bounds are normalised to the range 0 to 360. Values # outside of the bounds will be stored as None. Default is 0,360 wind_direction = 0,360
