+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + meteorologische "Sonderwerte / berechnete Werte" Stand 18.05.2025 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++ Direkte Variablen aus variables.txt +++++++++++++++++++++++++++++++++++ Dampfdruck aktuell %vaporpressurcur% Dampfdruck gesättigt %vaporpressurmax% Dampfgehalt aktuell %mixratiocur% Dampfgehalt gesättigt %mixratiomax% Luftdichte %airdensity% ---------------------------------------------------------------------------------------- Taupunkt extra %ws_dewpoint[temp~hum]% V2.94.0 %ws_ignore% Taupunkt extra %ws_dewpoint[16,0~60]% V2.94.0 Windchill extra %ws_windchill[temp~wind]% V2.94.0 %ws_ignore% Windchill extra %ws_windchill[5,0~36,8]% V2.94.0 ApparentTemperatur *%apparenttemp% V2.96.1 Hitze Index Aussens. *%heatindextemp% Virtual Temperatur *%virtualtemp% FeuchtTemperatur *%wetbulbtemp% SummerSimmerIndex *%ws_ssi% ApparentTemperatur %ws_apparenttemp[temp~hum~wind]% V2.99.0 %ws_ignore% Hitze Index %ws_heatindextemp[temp~hum]% V2.99.0 %ws_ignore% Virtual Temperatur %ws_virtualtemp[temp~dewpoint~baro]% V2.99.0 %ws_ignore% FeuchtTemperatur %ws_wetbulbtemp[temp~hum~baro]% V2.99.0 %ws_ignore% SummerSimmerIndex %ws_ssix[temp~hum]% V2.99.0 %ws_ignore% ApparentTemperatur %ws_apparenttemp[%curval[0]%~%curval[-1]%~%curval[35]%]% V2.99.0 %ws_ignore% Hitze Index %ws_heatindextemp[%curval[0]%~%curval[-1]%]% V2.99.0 %ws_ignore% Virtual Temperatur %ws_virtualtemp[%curval[0]%~%curval[43]%~%curval[33]%]% V2.99.0 %ws_ignore% FeuchtTemperatur %ws_wetbulbtemp[%curval[0]%~%curval[-1]%~%curval[33]%]% V2.99.0 %ws_ignore% SummerSimmerIndex %ws_ssix[%curval[0]%~%curval[-1]%]% V2.99.0 %ws_ignore% ---------------------------------------------------------------------------------------- meteorologische "Sonderwerte / berechnete Werte" als Berechnungsscript Schallgeschwindigkeit %unit_off% %ws_calc1[+]=%ws_calc[*]=%curval[0]%~0,6~1%~331,6~1% m/sec. %unit_on% THSW nur Formel %unit_off% %ws_setmem[6]=%ws_compare[5]=%curval[42]%~35~0~%curval[42]%%% %ws_setmem[1]=%ws_calc1[+]=%ws_calc[*]=0,348~%vaporpressurcur%~3%~%curval[0]%~3%% %ws_setmem[3]=%ws_calc1[*]=1,45~%ws_calc[^]=%ws_getmem[6]%~0,5~3%~3%% %ws_setmem[4]=%ws_calc[+]=10~%ws_newunit[35]=1%%curval[35]%~3%% %ws_setmem[5]=%ws_calc1[-]=%ws_calc[/]=%ws_getmem[3]%~%ws_getmem[4]%~3%~4,25~3%% THSW = %ws_calc1[+]=%ws_calc[+]=%apparenttemp%~%ws_getmem[5]%~1%~4,25~1% %unit_on% THSW-Index
unter freiem Himmel
(berechnet)
%unit_off% neue Formel %ws_delline% %ws_setmem[6]=%ws_compare[5]=%curval[42]%~35~0~%curval[42]%%% %ws_setmem[1]=%ws_calc1[+]=%ws_calc[*]=0,348~%vaporpressurcur%~3%~%curval[0]%~3%% %ws_setmem[3]=%ws_calc1[*]=1,45~%ws_calc[^]=%ws_getmem[6]%~0,5~3%~3%% %ws_setmem[4]=%ws_calc[+]=10~%ws_newunit[35]=1%%curval[35]%~3%% %ws_setmem[5]=%ws_calc1[-]=%ws_calc[/]=%ws_getmem[3]%~%ws_getmem[4]%~3%~4,25~3%% %ws_setmem[31]=%ws_calc1[+]=%ws_calc[+]=%apparenttemp%~%ws_getmem[5]%~1%~4,25~1%% Windschatten %ws_delline% %ws_setmem[4]=%ws_calc[+]=10~0,0~3%% %ws_setmem[5]=%ws_calc1[-]=%ws_calc[/]=%ws_getmem[3]%~%ws_getmem[4]%~3%~4,25~3%% %Ws_setmem[9]=%ws_calc1[+]=%ws_calc[+]=%ws_apparenttemp[%curval[0]%~%curval[-1]%~0,0]%~%ws_getmem[5]%~1%~4,25~1%% %unit_on% Temperatur Wolkenuntergrenze %unit_off% %ws_setmem[4]=%ws_calc[-]=%snowline%~%ws_altitude%~5%% %ws_setmem[5]=%ws_compare[3]=%ws_getmem[4]%~0~10~%ws_getmem[4]%%% %ws_setmem[1]=%ws_calc[/]=%curminmaxhour[3,1,0]%~%ws_getmem[5]%~5%% %ws_setmem[2]=%ws_compare[4]=%curminmaxhour[3,1,0]%~0,2~0,01~%ws_getmem[1]%%% %ws_setmem[4]=%ws_calc1[+]=%ws_calc[*]=%cloudline%~-%ws_getmem[2]%~5%~%curminmaxhour[3,1,0]%~1%% %unit_on% ThetaE Ortshöhe %unit_off% %ws_setmem[11]=%ws_calc[/]=%ws_altitude%~100~2%% %ws_setmem[1]=%ws_calc[*]=%mixratiocur%~2,40~2%% %ws_setmem[2]=%ws_calc[+]=%ws_getmem[1]%~%curval[2]%~1%% %ws_setmem[3]=%ws_calc[+]=%ws_getmem[11]%~%ws_getmem[2]%~0%% %unit_on% Windlast kp/m² (Böen ID45, Wind ID35) %unit_off% %ws_setmem[1]=%ws_calc1[*]=%ws_calc[*]=%curval[45]%~%curval[45]%~1%~0,0047~1%% %unit_on% +++++++++++++++++++++++++++++++++++++++++ spezielle Zeiträume als Berechnungsscript +++++++++++++++++++++++++++++++++++++++++ max. Stundenregen Tag (nur bei 24/7 möglich; auf mögliche Speicherbelegung im Varstore achten!) %ws_setmem[1]=%ws_compare[3]=%ws_hour%%ws_minute%~00~0,0~%varstore_read[885]%%% %varstore_write[885~%ws_getmem[1]%]% %ws_setmem[2]=%varstore_read[885]%% %ws_setmem[3]=%ws_compare[1]=%rain1h%~%ws_getmem[2]%~%rain1h%~%ws_getmem[2]%%% %varstore_write[885~%ws_getmem[3]%]% Augabe: %varstore_read[885]% %ws_setmem[1]=%ws_compare[3]=%ws_hour%%ws_minute%~00~00:00~%varstore_read[888]%%% %varstore_write[888~%ws_getmem[1]%]% %ws_setmem[2]=%varstore_read[888]%% %ws_setmem[3]=%ws_compare[1]=%varstore_read[885]%~%rain1h%~%ws_getmem[2]%~%ws_time%%% %varstore_write[888~%ws_getmem[3]%]% Augabe: %varstore_read[888]% Niederschlag max. Tagessumme Monat (Datum / Menge), hier als fertiger html-code 30-Tage Niederschlagssumme (Zeitraum / Menge), hier als fertiger html-code %unit_off% %ws_setmem[1]=%ws_replacestr=.~~%datepast[-30~0~0000]%%% %ws_setmem[2]=%ws_calc[+]=%season_sum[34~%ws_getmem[1]%~-1000000]%~%rainday%~1%% %unit_on% 365-Tage Niederschlagssumme (Zeitraum / Menge), hier als fertiger html-code %unit_off% %ws_setmem[1]=%ws_replacestr=.~~%datepast[-365~0~000]%%% %ws_setmem[2]=%season_sum[34~%ws_getmem[1]%~00000000]%% %ws_setmem[3]=%ws_calc[-]=%ws_getmem[2]%~%ws_normalrain[0]%~1%% %unit_on% 365-Tage Evapotranspiration (Zeitraum / Menge), hier als fertiger html-code Sonnenstunden 7-Tage (Zeitraum / Stunden), hier als fertiger html-code %unit_off% %ws_setmem[1]=%ws_replacestr=.~~%datepast[-6~00~0000]%%% %ws_setmem[2]=%ws_calc[+]=%season_sum[37~%ws_getmem[1]%~-1000000]%~%sunday_d%~3%% %unit_on% Max. Tagessonnenstunden im Monat (Datum / Sonnenstunden), hier als fertiger html-code 30-Tage Sonnenstunden (Zeitraum / Sonnenstunden), hier als fertiger html-code %unit_off% %ws_setmem[1]=%ws_replacestr=.~~%datepast[-30~0~0000]%%% %ws_setmem[2]=%ws_calc[+]=%season_sum[37~%ws_getmem[1]%~-1000000]%~%sunday_d%~3%% %unit_on% 365-Tage Sonnenstunden (Zeitraum / Sonnenstunden), hier als fertiger html-code %unit_off% %ws_setmem[1]=%ws_replacestr=.~~%datepast[-365~0~000]%%% %ws_setmem[2]=%season_sum[37~%ws_getmem[1]%~00000000]%% %ws_setmem[3]=%ws_calc1[*]=%ws_calc[/]=%ws_getmem[2]%~%ws_normalsun[0]%~1%~100~1%% %unit_on% Anmerkung: die Icon, wenn nicht vorhanden, im Scriptdownload suchen, oder austauschen. HTML-Code muß je nach Verwendung angepaßt werden. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Solar, UV und Helligkeitsberechnung Lux: "alternative" Berechnung +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ========================================== Unterschied mit und ohne Feuchtekorrektur: Gilt nur für alternative Sonnenscheinmessung - echte Solar- und UV-Sensoren (z.B. Davis) berücksichtigen dieses durch die spezielle Meßsonde. Je niedriger die abs.F, desto höher sind Solar- und UV-Strahlung. D.h. im Winter bei klarem, kalten Wetter mit niedrigem Wassergehalt der Luft, ist die Strahlung tatsächlich höher, als wie sie die "alternative" Berechnungen/Messungen auswerfen. Man kann zwischen beiden Varianten wählen. Im Hochsommer ist der Unterschied zwischen den beiden Berechnungen geringer. Insbesondere bei Stationen in den Hochlagen der Mittelgebirge oder Alpen ist die feuchtekorrigierte Berechnung empfehlenswert. ========================================== ------------------------------------------ Berechnung via ID26 Differenztemperatur ------------------------------------------ %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%curval[26]%~0%% %ws_setmem[3]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~%ws_getmem[3]%~0%% Solarstrahlung: %ws_getmem[4]% w/m² %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%curval[26]%~0%% Solarstrahlung: %ws_getmem[2]% w/m² %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%curval[26]%~0%% %ws_setmem[3]=%ws_calc[*]=%ws_getmem[2]%~0,146~1%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~146~0%% %ws_setmem[5]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[6]=%ws_calc[*]=%ws_getmem[3]%~%ws_getmem[5]%~0%% %ws_setmem[7]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[8]=%ws_calc[*]=%ws_getmem[4]%~%ws_getmem[5]%~0%% Helligkeit Lux: %ws_getmem[6]% klux / %ws_getmem[8]% klux %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%curval[26]%~0%% %ws_setmem[3]=%ws_calc[*]=%ws_getmem[2]%~0,146~1%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~146~0%% Helligkeit Lux: %ws_getmem[3]% klux / %ws_getmem[4]% klux %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%curval[26]%~0%% %ws_setmem[3]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~%ws_getmem[3]%~0%% %ws_setmem[5]=%ws_calc[/]=%ws_calc[*]=%ws_getmem[4]%~%ws_getmem[4]%~0%~126000~1%% UV-Starhlung: %ws_getmem[5]% UV-I %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%curval[26]%~0%% %ws_setmem[3]=%ws_calc[/]=%ws_calc[*]=%ws_getmem[2]%~%ws_getmem[2]%~0%~126000~1%% UV-Starhlung: %ws_getmem[3]% UV-I %unit_on% ------------------------------------------------------------------------- UV-Berechnung wenn ein echter Solarsensor ID42 vorhanden ist z.B. Davis ------------------------------------------------------------------------- %unit_off% UV-Strahlung: %ws_calc[/]=%ws_calc[*]=%curval[42]%~%curval[42]%~0%~126000~1% UV-I %unit_on% Lux/Klux aus ID42 %unit_off% Lux: %ws_calc[*]=%curval[42]%~124~0% %unit_on% %unit_off% KLux: %ws_calc[*]=%curval[42]%~0,124~0% %unit_on% --------------------------------------------------------------------------------------- Berechnung via sunproz-variable: nur verwenden, wenn mod. T/F-Sensor zum Einsatz kommt, also keine andere alternative Helligkeits-ID geschrieben wird. Kann auch bei Differenztemperatur genommen werden, wenn keine Sonnenstands-Korrektur durchgeführt wird - ansonsten morgens und abends zu hohe Werte. --------------------------------------------------------------------------------------- %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%sunproz%~0%% %ws_setmem[3]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~%ws_getmem[3]%~0%% Solarstrahlung: %ws_getmem[4]% w/m² %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%sunproz%~0%% Solarstrahlung: %ws_getmem[2]% w/m² %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%sunproz%~0%% %ws_setmem[3]=%ws_calc[*]=%ws_getmem[2]%~0,146~0%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~146~0%% %ws_setmem[5]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[6]=%ws_calc[*]=%ws_getmem[3]%~%ws_getmem[5]%~0%% %ws_setmem[7]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[8]=%ws_calc[*]=%ws_getmem[4]%~%ws_getmem[5]%~0%% Helligkeit Lux: %ws_getmem[6]% klux / %ws_getmem[8]% klux %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%sunproz%~0%% %ws_setmem[3]=%ws_calc[*]=%ws_getmem[2]%~0,146~0%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~146~0%% Helligkeit in Lux: %ws_getmem[3]% klux / %ws_getmem[4]% lux %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%sunproz%~0%% %ws_setmem[3]=%ws_calc1[/]=%ws_calc[-]=125~%abshumout%~0%~100~2%% %ws_setmem[4]=%ws_calc[*]=%ws_getmem[2]%~%ws_getmem[3]%~0%% %ws_setmem[5]=%ws_calc[/]=%ws_calc[*]=%ws_getmem[4]%~%ws_getmem[4]%~0%~126000~1%% UV-Strahlung: %ws_getmem[5]% UV-I %unit_on% %unit_off% %ws_setmem[1]=%ws_calc[/]=%sunintenscur%~145~3%% %ws_setmem[2]=%ws_calc[*]=%ws_getmem[1]%~%sunproz%~0%% %ws_setmem[5]=%ws_calc[/]=%ws_calc[*]=%ws_getmem[2]%~%ws_getmem[2]%~0%~126000~1%% UV-Strahlung: %ws_getmem[5]% UV-I %unit_on%
bei akt. Solarstrahlung von %curval[42]% w/m² %ws_compare[5]=%ws_getmem[31]%~0~~% %ws_getmem[31]% °C (mit Wind)
%ws_compare[5]=%ws_getmem[9]%~0~~% %ws_getmem[9]% °C (im Windschatten)
max. Tagessumme Monat: %maxdate_mpast[34~%ws_month2%~0000]% %maxval_mpast[34~%ws_month2%~0000]%
-30 Tage (Monat)
(%datepast[-30~0~0000]% - %ws_date%)
%ws_getmem[2]% mm
-365 Tage
(%datepast[-365~0~000]% - %ws_date%)
%ws_getmem[2]% mm (%ws_getmem[3]% mm)*
-365 Tage
(%datepast[-365~0~000]% - %ws_date%)
%ws_getmem[13]% mm (ø %ws_getmem[14]% mm)
-7 Tage (Woche)
(%datepast[-6~00~0000]% - %ws_date%)
%ws_valtotime[%ws_getmem[2]%]%
max. Tagessumme Monat: %maxdate_mpast[37~%ws_month2%~0000]% %maxval_mpast[37~%ws_month2%~0000]%
-30 Tage (Monat)
(%datepast[-30~0~0000]% - %ws_date%)
%ws_valtotime[%ws_getmem[2]%]%
-365 Tage
(%datepast[-365~0~000]% - %ws_date%)
%ws_getmem[2]% h (%ws_getmem[3]% %)*