Cloud Base script

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
Peter
Member
Posts: 97
Joined: Sun Nov 13, 2005 10:03 pm
Location: Mid-Wales

Cloud Base script

Post by Peter »

I put this in the wrong section so here it is in the Scripting section where it belongs - sorry.

Sometime ago a request was made for a script for plotting cloud base using the following formula:

Cloud Base ft = ((Temp - Dew point) / 4.4) * 1000

The script is as below:

#Cloud Base script FEET
#CB feet= ((Surface Temp F - Dewpoint F)/4.4) * 1000
ERASE
SFCPLOTMODEL,C:\Documents and Settings\.????..\.????\.??.\.???.\Standard Plot model.sps
ANALYZE, SMLC 4:1000 STOR 4 SDVC 3:4.4 STOR=3 SDIF 1:2 STOR=2 DWPT DEGF STOR=1 TEMP DEGF
ANALYZE, CONT CINT=200 COLOR=100:100:100

Fill in the appropriate ???? with your .SPS file usually in the DA directory.

The formula is only approximate and theoretical so not sure how much use it really is in the 'real' world.

To convert to metres use script below:

#Cloud Base script Metres
#CB metres= (((Surface Temp F - Dewpoint F)/4.4) * 1000)/3.28
ERASE
SFCPLOTMODEL,C:\Documents and Settings\?????\?????\????\DigitalAtmosphere\Standard Plot model.sps
ANALYZE, SDVC 5:3.28 STOR=5 SMLC 4:1000 STOR 4 SDVC 3:4.4 STOR=3 SDIF 1:2 STOR=2 DWPT DEGF STOR=1 TEMP DEGF
ANALYZE, CONT CINT=50 COLOR=100:100:100

Change CINT as required.

Regards
Post Reply