Das ist etwas komplizierter. Hierfür muß man zwei definierte Temperaturtage voneinander subtrahieren. Ich stelle hier mal ein Beispiel rein, das man so in die üblichen Klimakenntage evtl. einbauen kann: und zwar vom Zeitraum so definiert, wie in der wswin-custom-x, also immer vom 01.01. bis zum aktuellen Tag (gilt auch für Vorjahr). Wer andere Zeiträume oder Temperaturspannen haben will, muß die Variablen entsprechend modifizieren.
<tr><td width="60%">Übergangstage (T<sub>max</sub> zwischen 10°C & 20°C)</td>
%unit_off%
%Ws_setmem[1]=%ws_calc[-]=%season_idhdaysx[0~0101%ws_year%~00000000~0010,0H]%~%season_idhdaysx[0~0101%ws_year%~00000000~0020,0H]%~0%%
%Ws_setmem[2]=%ws_calc[-]=%season_idhdaysx[0~0101-001~%ws_day2%%ws_month2%-001~0010,0H]%~%season_idhdaysx[0~0101-001~%ws_day2%%ws_month2%-001~0020,0H]%~0%%
%Ws_setmem[3]=%ws_calc[-]=%season_idhdaysx[0~01%ws_month2%%ws_year%~00000000~0010,0H]%~%season_idhdaysx[0~01%ws_month2%%ws_year%~00000000~0020,0H]%~0%%
%Ws_setmem[4]=%ws_calc[-]=%season_idhdaysx[0~01%ws_month2%-001~%ws_day2%%ws_month2%-001~0010,0H]%~%season_idhdaysx[0~01%ws_month2%-001~%ws_day2%%ws_month2%-001~0020,0H]%~0%%
%unit_on%
<td width="20%" align="center">%ws_getmem[1]% Tage [%ws_getmem[2]% Tage]</td>
<td width="20%" align="center">%ws_getmem[3]% Tage [%ws_getmem[4]% Tage]</td></TR>