$current.windSpeed from $current.windDir--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try $day.windGust.max
Gary
Gary
Sorry, assumed you meant today but I see you did not say that. $day can be replaced with $month or $year. Other periods are available too with custom search lists.
Gary
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try $span($hour_delta=1).windGust.max
Gary
Kevin,
Try $span($hour_delta=1).windGust.max
Gary
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Gary
Kevin, in this case you want the sum so $span($hour_delta=1).rain.sum should do what you want. Note that this gives the sum over the last 60 minutes, you can use $hour.rain.sum to get the total rain since the top of the hour (same for windGust).
Gary
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/sO7TbQlGySU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No not quite. Just like $day gives aggregates since the start of the day, $hour provides aggregates from the start of the hour. So to use $hour you use exactly the same syntax as with $day eg:
$hour.rain.sum displays total rainfall since the top of the hour
and
$hour.windGust.max displays the highest windGust seen since the top of the hour
On the other hand $span provides an aggregate over some time span, that time span can be 1 or more hours, 1 or more days etc. So using $span with 1 hour gives you aggregates over the last hour. The $span syntax is slightly different in that we need to specify how long the 'span' is. To to that we use the $hour_delta parameter (or the $day_delta or the $week_delta parameter etc). So
$span($hour_delta=1).rain.sum displays the total rainfall over the last 1 hour
and
$span($hour_delta=1).windGust.max displays the highest windGust over the last 1 hour
$day, $hour etc also have a similar parameter (though not used as often); $xxxx_ago (where xxxx is day or hour etc) to give you an aggregate over the day before, the day before that, the hour before the current, the hour before that etc. $day, $hour and friends always start on a day or hour etc boundary whereas that is not necessarily the case with $span. Probably best explained in the Customization Guide (http://weewx.com/docs/customizing.htm) under the Customizing templates section (http://weewx.com/docs/customizing.htm#customizing_templates), should have pointed you there before but was on the mobile and typing much on the mobile is a pain (well for me anyway).
Gary