pressure conversion

Post Reply
User avatar
iatros
Language Admin
Language Admin
Posts: 147
Joined: Mon Aug 21, 2017 5:56 am
Location: Flims Waldhaus Switzerland
Station model: Davis Pro 2 6163
Software: Meteobridge
Contact:

pressure conversion

Post by iatros » Sun Nov 08, 2020 7:34 pm

Hi all
does anyone know where the preset value for the station elevation comes from?
Station Pressure and Station Temperature are correctly imported from the alldata table, but the value for the elevation is always 240 (ft or m).
Thanks for any explanation, Martin

PS I'm working on a metric version of the plugin (hpa to mmHg, instead of inHg).
Image

Language Admin für Deutsch

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: pressure conversion

Post by John B » Mon Nov 09, 2020 9:08 am

Hello, Martin,

As best I can gather your elevation is set in the Meteotemplate main menu in the Station Location section. Unfortunately my station is exactly 240 metres asl so I cannot comment further.

ph2
Observer
Observer
Posts: 32
Joined: Fri Sep 25, 2020 4:54 pm
Location: Österreich / Weyregg
Station model: Davis Vantage Pro2
Software: Meteobridge

Re: pressure conversion

Post by ph2 » Mon Nov 09, 2020 10:10 am

I had the same problem. I haven't found a solution how to change that through setup. I changed the value $ stationElevation = 240 to my value directly in the plugin file index.php, since then the value has been displayed correctly in the plugin

User avatar
iatros
Language Admin
Language Admin
Posts: 147
Joined: Mon Aug 21, 2017 5:56 am
Location: Flims Waldhaus Switzerland
Station model: Davis Pro 2 6163
Software: Meteobridge
Contact:

Re: pressure conversion

Post by iatros » Mon Nov 09, 2020 5:14 pm

@John B, @ph2
Thank you both for your reply. I asked Jachym if he can help us and will keep you informed.
Cheers, Martin
Image

Language Admin für Deutsch

Post Reply