Hi there,
Apart from the FTP WDL Service, is Meteobridge going to support a Cloudbase value itself?
Cloudbase value?
Moderator: Mattk
- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Cloudbase value?
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
Re: Cloudbase value?
no and not planned.
- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Cloudbase value?
Boris, I noticed in FTP WDL file clientraw.txt, Field 73 is Cloud Height which does have a value that has been somehow calculated. Could it not be added to Metebridge as a Sensor Template Value?
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
Re: Cloudbase value?
It can be computed with template variables as follows (returns height in feet):
Code: Select all
#if#[th0temp-act.1:0.0]>[th0dew-act.1:0.0]#then#{*([th0temp-act.1:0.0]-[th0dew-act.1:0.0])*400*0}#else#0#fi#
- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Cloudbase value?
Boris, can you confirm this equation.admin wrote: Fri Dec 21, 2018 1:02 am It can be computed with template variables as follows (returns height in feet):
Code: Select all
#if#[th0temp-act.1:0.0]>[th0dew-act.1:0.0]#then#{*([th0temp-act.1:0.0]-[th0dew-act.1:0.0])*400*0}#else#0#fi#
I found this on a wikipedia site: https://en.wikipedia.org/wiki/Cloud_base
- Find the difference between the surface temperature and the dew point. This value is known as the "spread".
- Divide the spread by 4.4 (if temperatures are in °F) or 2.5 (if temperatures are in °C), then multiply by 1000. This will give you cloud base in feet above ground level.
- Add the results from step (2) to the field elevation to get cloud base above sea level.
(Temp. – Dew Point) ÷ 2.5 X 1,000 for °C values
(Temp. – Dew Point) ÷ 4.4 X 1,000 for °F values
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws