cannot find 'avg' while searching for 'hour.windspeed.avg.raw'

35 views
Skip to first unread message

HoracioDos

unread,
May 7, 2019, 8:49:15 AM5/7/19
to weewx-user
Hello Tom.
I have this text report which is having some problem with avg wind speed only at 01:00 AM everyday. I'm using simulator driver and it generates many times 0 mph and direction north = 0. I don't know if both situations are related. I attached the errors and report.
Thanks in advance
stats-YYYY-MM.txt.tmpl
Windspeed_errors.txt

Andrew Milner

unread,
May 7, 2019, 9:21:16 AM5/7/19
to weewx-user
I would suspect it is because an archive record times at say 00:00 actually contains data for the previous day
The first record for the current day will not be (assuming 5 minute intervals) until 00:05
This means that there is no avg for an hour period in the current day available until 01:05 - so I suspect you need a little bit of code to get around the edge condition at 01:00 or something similar .....

unless of course it is indeed a bug of some kind caused by the edge condition at 01:00.

Thomas Keffer

unread,
May 7, 2019, 10:05:44 AM5/7/19
to weewx-user
Sorry, but I don't know anything about the Belchertown skins. However, in the rest of weewx, it would be $hour.windSpeed.avg.raw. Note the capital 'S' in windSpeed.

-tk

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7a88d411-695d-4f22-9bc2-46bdd4fb3243%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

HoracioDos

unread,
May 7, 2019, 10:38:07 AM5/7/19
to weewx-user
Hello Tom.
This is not related to belchertown. It is a customized version of NOAA reports. It could happen with any other skin.  I didn't noticed the capital letter in windSpeed. Palm face!! I'll change it and I'll see what happens. Now I have a doubt, why this report complains only in that period and not in others. If the tag name is wrong it should show errors in every report cycle. Perhaps Andrew has a point there.
Thank you both! I'll keep you informed.

On Tuesday, May 7, 2019 at 11:05:44 AM UTC-3, Thomas Keffer wrote:
Sorry, but I don't know anything about the Belchertown skins. However, in the rest of weewx, it would be $hour.windSpeed.avg.raw. Note the capital 'S' in windSpeed.

-tk

On Tue, May 7, 2019 at 5:49 AM HoracioDos <rose...@gmail.com> wrote:
Hello Tom.
I have this text report which is having some problem with avg wind speed only at 01:00 AM everyday. I'm using simulator driver and it generates many times 0 mph and direction north = 0. I don't know if both situations are related. I attached the errors and report.
Thanks in advance

--
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages