Questions about variables for month/ year files

Fragen, Anregungen zur PC-Wetterstations-Software

Moderatoren: Werner, Tex, weneu

Antworten
stevetijou

Questions about variables for month/ year files

Beitrag von stevetijou »

Can anyone give me an example of how to use the setmem and getmem functions in a monthly template html file please? I want to store a value for each month that I can then recall and use to get a monthly average max and average min, e.g. %ws_normaltemp% + <value> to give average max and -<value> to give average min.

Also, I would like to be able to display in a table the barometric pressure and humidity at 9a.m. Can anyone tell me how to do this?

Thanks

Steve
Benutzeravatar
weneu
Site Admin
Beiträge: 11572
Registriert: 22 Feb 2002 01:00
Wohnort: Donauwörth
Danksagung erhalten: 18 mal
Kontaktdaten:

Beitrag von weneu »

Hello Steve,
do you know the variables like
StandardTempAbweichung %ws_STDV%
StandardTempAbweichung %ws_STDVmonth%
NormalTemperatur %ws_normaltemp%ws_avgtempmonth%
Durchschn.Temp Monat x %ws_avgtempmonth[%ws_month%]%

and so on? I think, with these variables you could solve your problems.
But when you need some examples for getmem and setmem, have a look at
http://www.wernerneudeck.de/wetter/faqvar/variable.html
and there at "Variablen mit Benutzervorgabe" and "Anwendungshilfen"
This is in german, but I think, you can understand the examples.
stevetijou

Beitrag von stevetijou »

Thanks for the advice. I needed to put the "unit off" function in to make it work. The %ws_STDV% functions work on measured data. I wanted to use long term averages that I had input to the parameters for the average min and max. I have now been able to do this using the setmem functions.

If anyone knows how I can display the barometric pressure and relative humidity for each day at 0900 in a monthly table that would be very useful.

Thanks, and sorry I don't speak German!

Steve
Benutzeravatar
weneu
Site Admin
Beiträge: 11572
Registriert: 22 Feb 2002 01:00
Wohnort: Donauwörth
Danksagung erhalten: 18 mal
Kontaktdaten:

Beitrag von weneu »

Hello Steve,
If anyone knows how I can display the barometric pressure and relative humidity for each day at 0900 in a monthly table that would be very useful.
I'm afraid, there is no way to do that. There is only the %curminmaxhour[33,X,0]%, but it doesn't help, because you get the pressure X hours ago, but not at an exact point of time.
But wait, perhaps somebody else still finds a way, I myself don't think so.
Antworten