Cloudbase value?

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Cloudbase value?

Post by ConligWX »

Hi there,

Apart from the FTP WDL Service, is Meteobridge going to support a Cloudbase value itself?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7876
Joined: Mon Oct 01, 2007 10:51 pm

Re: Cloudbase value?

Post by admin »

no and not planned.
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: Cloudbase value?

Post by ConligWX »

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?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7876
Joined: Mon Oct 01, 2007 10:51 pm

Re: Cloudbase value?

Post by admin »

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#
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: Cloudbase value?

Post by ConligWX »

Thanks!
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: Cloudbase value?

Post by ConligWX »

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#
Boris, can you confirm this equation.

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.
*400*0 ?


(Temp. – Dew Point) ÷ 2.5 X 1,000 for °C values
(Temp. – Dew Point) ÷ 4.4 X 1,000 for °F values
Post Reply