Hallo
another example
<div id="Report">
<h3>Windgeschwindigkeit in km/h</h3>
<table>
<tr>
<td> </td>
<td>Jan</td><td>Feb</td><td>Mär</td>
<td>Apr</td><td>Mai</td><td>Jun</td>
<td>Jul</td><td>Aug</td><td>Sep</td>
<td>Okt</td><td>Nov</td><td>Dez</td>
</tr>
#for $year in $alltime.years
<tr>
<td>$year.dateTime.format("%Y")</td>
#for $month in $year.months
#if $month.windSpeed.max.raw is not None:
#if $month.windSpeed.max.raw < 2
<td class="hesw01">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 6
<td class="hesw02">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 12
<td class="hesw03">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 20
<td class="hesw04">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 29
<td class="hesw05">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 39
<td class="hesw06">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 50
<td class="hesw07">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 62
<td class="hesw08">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 75
<td class="hesw09">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 89
<td class="hesw10">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 103
<td class="hesw11">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw < 118
<td class="hesw12">$month.windSpeed.max.formatted<br
/><small>$month.windSpeed.maxtime</small></td>
#elif $month.windSpeed.max.raw > 117
<td class="hesw13">$month.windSpeed.max.formatted</td>
#end if
#else
<td class="hesw00">-</td>
#end if
#end for
</tr>
#end for
</table>
<hr />
the result http://wetter.hes61.de/wind.html
or http://wetter.hes61.de/alltime.html
with a wind gusts of (359.28 km/h) or (windSpeed 243 km/h) my house would
not exist anymore
Gruss Hartmut
--
You received this message because you are subscribed to the Google Groups
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-development/a059f673-e1da-422d-a1d5-9c9863d50330%40googlegroups.com.