If you need the number in a template, you can use the existing tag
aggregation "max_ge" for that:

#set $windy=(40.0, "km_per_hour")
<p>Day with wind over 40 km/hr = $year.windSpeed.max_ge($windy)</p>


See the Customizing Guide for all the aggregation types
<http://weewx.com/docs/customizing.htm#aggregation_types>.

-tk

On Wed, Jan 17, 2018 at 11:02 AM, Joachim Puttkammer <[email protected]>
wrote:

> in the region, where I live, there is often a strong wind ( called Mistral
> ) and I want to know, how many days per year is the Mistral blowing.
> I will make a request of the DB : count the days where the value of wind
> is higher then 40 km/h
>
> --
> 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.
>

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