Okay. Nailed it, the weird rainfalls and NaN barometer readings that is.

Turns out there's another disbeliever in the "No wind, No direction" camp.

They'll only accept an ordinal direction in the $WL_WINDDIR field. The
weewx default of - N/A (or tested variants such as na, -, ' ') are not
allowed in that field and their parser appears to just garble the rest of
the entries that then follow it, in their displayed sequence - barometer,
rain.
So if the wind drops to zero, N/A is sent and chaos reigns - until the wind
picks up again.

05:11:00,02/03/17,19.9,18.2,18.2,30.3,1.9,1019.7,Steady,0.0,N/A,0.0,,07:09:41,20:02:44,0.0,0.0,C|ms|mbar|mm

The solution is to add ignore_zero_wind = False
<http://www.weewx.com/docs/usersguide.htm#StdWXCalculate> as per the weewx
docs .

OR
Fudge the existing skin, or better yet, create a new minimal skin, adding
the [[Ordinates]] to it; and then changing the directions stanza by
switching the N/A to one of the cardinals. So wrong, but also so effective
as that only affects that one report, not the database.


     [[Ordinates]]
        # The ordinal directions. The last one is for no wind direction,
fudge it with the North cardinal 'N'

        #directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W,
WNW, NW, NNW, N/A
        directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W,
WNW, NW, NNW, N



Cheers
 Glenn

rorpi - read only raspberry pi + weewx: now with scripts
<https://github.com/glennmckechnie/rorpi-raspberrypi>

On 1 March 2017 at 18:39, Carlingford Weather <
weather@carlingfordweather.sydney> wrote:

>
> Hi Glenn,
>
> The encoding won't have anything to do with the values you are seeing. If
> you don't use ascii encoding then you will get deg symbol which Aus Weather
> network won't like.
>
> The values you are seeing are likely to do with the data you have in you
> system. The report is bog standard. You would see the same if you used
> $current.barometer in any template. Perhaps you are using multiple database
> bindings and need to change to use $latest with a data binding?
>
> Cheers
>
> Darryn
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to