Ok, you have an old version of weewxwd3.py that is, how shall I say, not quite 
as robust as it should be. The quick fix is to add a line that will avoid the 
missing windSpeed error. If you are up for it:

1. edit /usr/share/weewx/user/weewxwd3.py
2. go to about line 172, you should see code like this:

        # has weewx already calculated appTemp?
        if 'appTemp' not in data_metricwx:
            # no, so calculate it ourself and add to our WD data
            wd_data['appTemp'] = 
weewx.wxformulas.apptempC(data_metricwx['outTemp'],
                                                           
data_metricwx['outHumidity'],
                                                           
data_metricwx['windSpeed'])

You need to add an additional line so it looks like:

        # has weewx already calculated appTemp?
        if 'appTemp' not in data_metricwx:
            # no, so calculate it ourself and add to our WD data
            if 'outTemp' in data_metricwx and 'outHumidity' in data_metricwx 
and 'windSpeed' in data_metricwx:
                wd_data['appTemp'] = 
weewx.wxformulas.apptempC(data_metricwx['outTemp'],
                                                               
data_metricwx['outHumidity'],
                                                               
data_metricwx['windSpeed'])

3. Be careful with indenting, use the space bar not the tab key, python is 
particular with indents. Indents are multiple of 4 spaces, unfortunately 
posting this on the iPad makes it difficult to format the above code in a mono 
space font so the indents probably look at bit dodgy.
4. Save weewxwd3.py
5. Restart WeeWX

Have a look at the log and check that WeeWX is running without error.

Gary

PS. Just saw your post about taking my time. I guess if you do want to reimage 
your machine go ahead, you should not lose data provided you have a logger with 
memory connected to your station. Depending on archive interval you should have 
a good 6 days or more at a 5 minute archive interval. WeeWX will just pick up 
any missing data when it next starts. Irrespective of whether you reimage or 
not we should get you onto the latest WeeWX-WD version, it's a bit more robust 
than the version you are using.

-- 
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.

Reply via email to