The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Fri Oct 20, 2017 9:26 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Cloud Base script
PostPosted: Wed May 20, 2009 12:51 pm 
Offline
Member

Joined: Sun Nov 13, 2005 10:03 pm
Posts: 97
Location: Mid-Wales
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group