I can see why the 1st archive entry after midnight is always 0. StdWXCalculate 
calculates windrun by queriying the archive for windSpeed and interval values 
after midnight and up to and including the current archive record dateTime. As 
StdWXCalculate is run before StdArchive the 1st archive record after midnight 
is not yet in the archive when windrun is calculated by StdWxCalculate (in fact 
because of this the windrun from the current achive record is never included). 
Hence for the 1st archive record after midnight windrun is calculated as 0 
(there were no records) and that is what StdArchive saves to archive. The 
StdWXCalculate windrun calculation should add in the windrun calculated from 
the current archive record.

Not sure about the other anomalies though.

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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to