Hallo Gary,
die Auswertungen mit max_le und min_le sind mir bekannt. ich verwende diese
z.B.
#for $year in $alltime.years
<tr>
<td>$year.dateTime.format("%Y")</td>
<td style="background-color: #FF4949;">$year.outTemp.max_ge((35.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #FF6969;">$year.outTemp.max_ge((30.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #FF8C5F;">$year.outTemp.min_ge((20.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #FFAC4B;">$year.outTemp.max_ge((25.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #33FF33;">$year.outTemp.max_ge((5.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #23FF9E;">$year.outTemp.min_le((0.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #4B84FF;">$year.outTemp.max_le((0.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #4B84FF;">$year.outTemp.min_le((-10.0,
"degree_C", "group_temperature")).format("%.0f")</td>
<td style="background-color: #4B84FF;">$year.outTemp.min_le((-15.0,
"degree_C", "group_temperature")).format("%.0f")</td>
</tr>
#end for
Ich dachte Ihr code in Weewx-WD
Period (xxx_days) tags are returned as integer numbers of days.
> Times (xx_time) tags are returned as dateTime ValueHelpers set
> to
> midnight (at start) of the first day of the run concerned. If
> the
> length of the run is 0 then the corresponding start time of the
> run
>
>> is returned as None.
>>
> Ich suche tatsächlich eine Auswertung wie
- Längste Frostperiode in diesem Jahr, *2* Tage, vom 20.01.2018 bis zum
22.01.2018
- Längste Frostperiode bisher, *2* Tage, vom 11.03.2014 bis zum
13.03.2014
-
- Die längste Eistag-Periode (Temperatur MAX < 0,0°C) in diesem Jahr, *1*
Tage,
vom 24.02.2018 bis zum 25.02.201
- die längste Eistag-Periode (Temperatur MAX < 0,0°C) mit *2* Tage, vom
05.01.2016 bis zum 07.01.2016
Dieses ist das bisherige Ergebnis des "Codes"
Jedoch zusätzliche Arbeit wollte ich nicht verursachen, Ihr habt auch so
sicherlich genug zu tun.
Danke für die schnelle Reaktion
Hartmut