Scripts 2018

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Scripts 2018

Post by MMWeather »

I figured I would start posting some scripts that I use. A few things first:
1. I am not a meteorologist, just someone that follows the weather.
2. A huge number of these scripts were written by others on this board. After spending many hours searching for scripts to use,
or ideas to implement, this is paet of the collection I use, with my additions. Thanks to all those who have posted scripts in the past!
3. Feel free to change colors, cont intervals, whatever.
4. If there is something wrong with my math, etc. feel free to leave corrections on this board. If it is a problem with color choices see #3. Not saying this out of anger, but I do believe in teach a man to fish... I will do my best to answer questions, do not be surprised if my answer is I don't know.
5. Many of the scripts below are approximations. For reasons I cannot explain the SDVC command does not work with large numbers in the constant slot. In calculating L57 for example I have used an average thickness of 2.7K. So these will be ballpark, and sometimes the ballpark is Large. I will note which ones fit this category.
6.All you have to do is copy and paste into a file that you must name in the scripting area. (Click on create-in the DA scripting area, and paste, and name it something you will recognize).
7.Start your copy just before the "erase" and stop copying after "stamp". If you copy more than that, the script may not work.
8.I highly recommend saving these as individual scripts and not try to combine them. If you have experience writing scripts then feel free.
9. The best way to have a script is to write one yourself. I have locked up DA many times with bad scripts, although frustrating it is the best way I know to learn the process. I will do my best to help if I can. I do not check this board everyday so answers might be slow in coming. Hopefully the board will become active again.
10. If you are new to DA, or new to weather analysis. Tim's books are a good place to start. If you are looking for more detail "Practical Meteorology:An Algebra-based Survey of Atmospheric Science" by Roland Stull is a great book. it does not require a mastery of Calculus, just an understanding of algebra. It is priced on Amazon in the range of college text books, on the pricey side.
11. Don't forget to download Fronts, Metar, and UA data for these to work!!!



#Sea Lev Press and Fronts


Erase
analyze,cont cint=2 slpr hsfc
product,wxp,Fronts
Stamp

#Mix Ratio Color and Value contour

Erase
analyze,over fill color=250:250:210 grtn=5 color=238:232:170 grtn=0 mixr
analyze,ocer fill color=255:228:181 grtn=8
analyze,over fill color=245:222:179 grtn=10
analyze,over fill color=245:175:150 grtn=12
analyze,over fill color=205:225:185 grtn=14
analyze,over fill color=185:215:170 grtn=16
analyze,over fill color=165:205:155 grtn=18
analyze,over Fill color=145:195:140 Grtn=20
analyze,over fill color=125:185:125 Grtn=22
analyze,cont cint=1 dots mixr
Stamp

#Dew point Advection (Moisture Advec)

Erase
ANALYZE,cont cint=0.05 lstn=0 color 200:50:50 cont cint=0.05 grtn=0 LINE=2 color=0:222:0 ADVT dwpt/WIND
product,advt
Stamp


Erase


#Moisture Convergence will calc. at YOUR selected Pres. level

ERASE
ANALYZE,STOR=1 SMLT=2:MIXR STOR=2 SMLC=1:1000000 STOR=1 DVRG WIND
#Store ZERO in No 2 (i.e. TEMP/1000)
analyze,STOR=2 SDVC=1:1000

ANALYZE,OVER FILL COLOR=39:165:0 GRTN=0 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:255:235 GRTN=0 SDIF=1:2

ANALYZE,OVER FILL COLOR=29:156:0 GRTN=100 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:255:000 GRTN=100 SDIF=1:2

ANALYZE,OVER FILL COLOR=19:147:0 GRTN=200 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:220:000 GRTN=200 SDIF=1:2

ANALYZE,OVER FILL COLOR=9:117:0 GRTN=300 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:148:148 GRTN=300 SDIF=1:2

ANALYZE,OVER FILL COLOR=0:98:0 GRTN=400 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:014:014 GRTN=400 SDIF=1:2
analyze,cont cint=100

Stamp

#Precip Water APPROXIMATION!!!

Erase
analyze,sdvc=9:25.4 stor=9 ssum=7:8 stor=8 mixr hsfc stor=7 ssum=3:6 stor=6 ssum=4:5 stor=5 mixr h850 stor=4 mixr h700 stor=3 ssum=1:2 stor=2 mixr h500 stor=1 mixr h300
analyze,fill color=238:232:170 grtn=0
analyze,fill color=250:250:210 grtn=0.6
analyze,fill color=255:228:181 grtn=0.8
analyze,fill color=245:222:179 grtn=1
analyze,fill color=245:175:150 grtn=1.2
analyze,fill color=205:225:185 grtn=1.4
analyze,fill color=185:215:170 grtn=1.6
analyze,fill color=165:205:155 grtn=1.8
analyze,over Fill color=145:195:140 Grtn=2.0
analyze,cont cint=0.1
stamp

#Surface Vort and Diverg-surf is fill

Erase
analyze,SMLC=1:100000 STOR=1 RVRT WIND HSFC
analyze,OVER FILL COLOR=255:215:0 GRTN=0
analyze,OVER FILL COLOR=255:165:0 GRTN=1
analyze,OVER FILL COLOR=255:65:0 GRTN=2
ANALYZE,OVER FILL FILS=3 LSTN=0 SMTH SMLC=2:1000000 STOR=2 DVRG SMTH WIND HSFC
analyze,cont cint=10 color=255:0:0 line=2 lstn=0 cont cint=10
Stamp

#500 hght and 1000-500 Thick-colorfill

ERASE
analyze,stor=2 hght h000 stor=1 hght h500
analyze,sdif=1:2
analyze,fill color=150:150:250 grtn=5250
analyze,fill color=0:0:250 grtn=5300
analyze,fill color=0:0:200 grtn=5350
analyze,fill color=200:200:0 grtn=5400
analyze,fill color=255:255:0 grtn=5450
analyze,fill color=150:255:150 grtn=5500
analyze,fill color=0:200:0 grtn=5550
analyze,fill color=0:150:0 grtn=5600
analyze,fill color=255:0:255 grtn=5650
analyze,fill color=175:0:175 grtn=5700
analyze,fill color=0:255:255 grtn=5750
analyze,fill color=0:190:190 grtn=5800
analyze,over fill color=0:111:111 grtn=5850
analyze,cont equa=5400 color=0:255:0 line=2
ANALYZE,cont cint=2 color=20:0:0 slpr hsfc
STAMP

#L57 (700-500 Lapse Rate)APPROXIMATION!!!

ERASE
analyze,stor=6 sdif=4:5 stor=5 temp h500 stor=4 temp h700
analyze,over fill color=255:180:0 grtn=6 sdvc=6:2.7
analyze,over fill color=255:255:0 grtn=7
analyze,over fill color=255:200:200 grtn=8
analyze,over fill color=255:50:50 grtn=9
analyze,cont cint=1 dots
STAMP

#Potential Instability Index

---BEGIN pot instab indx---
ERASE
analyze,stor=1 thte h700
analyze,stor=2 thte h500

analyze,stor=3 sdif=1:2
analyze,sdvc=3:5.1
analyze,over fill color=255:225:0 grtn=0
analyze,over fill color=255:175:175 grtn=1
analyze,over fill color=255:100:100 grtn=2
analyze,cont cint=1 grtn=0
STAMP

#Vertical Totals Index


erase
analyze,SDIF=1:2 STOR=1 TEMP H850 STOR=2 TEMP H500
analyze,fill color=255:175:0 grtn=26
analyze,fill color=255:255:0 grtn=30
analyze,fill color=255:180:180 grtn=32
analyze,over fill color=255:100:100 grtn=34
analyze,CONT DASH COLOR=0:0:90 GRTN=25 CINT=2
stamp


I will post more in the future. 8-)
P 19
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

Mostly 850 mb stuff:

#850 dewpoint advection
Erase
ANALYZE,cont cint=0.05 lstn=0 color 200:50:50 cont cint=0.05 grtn=0 LINE=2 color=0:222:0 ADVT dwpt/WIND h850
product,advt
Stamp

#850 temp advection
Erase
ANALYZE,OVER FILL COLOR=255:200:200 GRTN=0 degf ADVT TEMP/WIND H850
ANALYZE,OVER FILL COLOR=200:200:255 LSTN=0 degf ADVT TEMP/WIND H850
ANALYZE,cont cint=0.1 color 200:50:50 degf ADVT TEMP/WIND H850
product,tadv
Stamp

#average rel. Humid
ERASE
ANALYZE,stor=1 relh h500
ANALYZE,stor=2 relh h700
ANALYZE,stor=3 relh h850
ANALYZE,stor=4 relh hsfc
ANALYZE,stor=5 savg=1:2
ANALYZE,stor=6 savg=3:4
ANALYZE,stor=7 savg=5:6
ANALYZE,fill color=200:200:255 grtn=30
ANALYZE,fill color=255:150:0 grtn=45
ANALYZE,fill color=255:255:0 grtn=60
ANALYZE,over fill color=255:150:150 grtn=75
analyze,cont cint=5
STAMP





#850 Moist Converg

ERASE
ANALYZE,STOR=1 SMLT=2:MIXR H850 STOR=2 SMLC=1:1000000 STOR=1 DVRG WIND H850
analyze,STOR=2 SDVC=1:1000

ANALYZE,OVER FILL COLOR=39:165:0 GRTN=0 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:255:235 GRTN=0 SDIF=1:2

ANALYZE,OVER FILL COLOR=29:156:0 GRTN=100 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:255:000 GRTN=100 SDIF=1:2

ANALYZE,OVER FILL COLOR=19:147:0 GRTN=200 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:220:000 GRTN=200 SDIF=1:2

ANALYZE,OVER FILL COLOR=9:117:0 GRTN=300 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:148:148 GRTN=300 SDIF=1:2

ANALYZE,OVER FILL COLOR=0:98:0 GRTN=400 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:014:014 GRTN=400 SDIF=1:2
analyze,cont cint=100

Stamp




#850 mixing ratio and wind

ERASE
ANALYZE,MIXR H850
analyze,fill color=200:200:255 grtn=2
analyze,fill color=100:100:255 grtn=4
analyze,fill color=0:0:255 grtn=6
analyze,fill color=0:0:185 grtn=8
analyze,fill color=200:255:200 grtn=10
analyze,fill color=100:255:100 grtn=12
analyze,over fill color=0:255:0 grtn=15
analyze,cont cint=1 color=125:125:125
ANALYZE, VECT COLOR=0:0:0 WIND h850
stamp

P19
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

Basic Height Info:


#500mb height, wind, plots

ERASE
ANALYZE,cont cint=30 line=2 hght h500
ANALYZE,bknt color=188:188:188 wind h500
product,plf,500
STAMP

#700mb height, wind, plots

ERASE
ANALYZE,cont cint=30 line=2 hght h700
ANALYZE,bknt color=188:188:188 wind h700
product,plf,700
STAMP

#850mb height, wind, plots

ERASE
ANALYZE,cont cint=30 line=2 hght h850
ANALYZE,bknt color=188:188:188 wind h850
product,plf,850
STAMP

#500mb height, wind, plots

ERASE
ANALYZE,cont cint=30 line=2 hght h925
ANALYZE,bknt color=188:188:188 wind h925
product,plf,925
STAMP
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

TQ, VT, and Approximation of 2-6k lapse rate:





#TQ Index

ERASE

ANALYZE,STOR=1 TEMP H850
ANALYZE,STOR=2 DWPT H850
ANALYZE,STOR=3 SSUM=1:2
ANALYZE,STOR=4 TEMP H700
ANALYZE,STOR=5 SMLC=4:1.7
ANALYZE,SDIF=3:5

ANALYZE,OVER FILL COLOR=255:255:100 FILS=0 GRTN=12
ANALYZE,OVER FILL COLOR=255:014:014 FILS=0 GRTN=17

ANALYZE,CONT GRTN 12 CINT=1 DASH COLOR=200:100:100

ANALYZE,VECT COLOR=0:0:255 WIND
PRODUCT,plf,500,Data Plots
STAMP

#Vertical Totals

erase
analyze,SDIF=1:2 STOR=1 TEMP H850 STOR=2 TEMP H500
analyze,fill color=255:175:0 grtn=26
analyze,fill color=255:255:0 grtn=30
analyze,fill color=255:180:180 grtn=32
analyze,over fill color=255:100:100 grtn=34
analyze,CONT DASH COLOR=0:0:90 GRTN=25 CINT=2
stamp

#Total Totals

ERASE
ANALYZE,STOR=1 TEMP H850
ANALYZE,STOR=2 TEMP H500
ANALYZE,STOR=3 DWPT H850
ANALYZE,STOR=4 TEMP H500
ANALYZE,STOR=5 SDIF=1:2
ANALYZE,STOR=6 SDIF=3:4
ANALYZE,SSUM=5:6

ANALYZE,OVER FILL COLOR=255:255:100 FILS=0 GRTN=44
ANALYZE,OVER FILL COLOR=255:240:000 FILS=0 GRTN=46
ANALYZE,OVER FILL COLOR=255:204:000 FILS=0 GRTN=48
ANALYZE,OVER FILL COLOR=255:161:000 FILS=0 GRTN=50
ANALYZE,OVER FILL COLOR=255:097:000 FILS=0 GRTN=52
ANALYZE,OVER FILL COLOR=255:014:014 FILS=0 GRTN=55

ANALYZE,CONT LSTN=53 GRTN=44 CINT=2 DASH COLOR=100:100:100
ANALYZE,CONT GRTN=55 CINT=5 DASH COLOR=100:100:100

ANALYZE,VECT COLOR=0:0:255 WIND
PRODUCT,plf,500,Data Plots
STAMP

#2 to 6 km Lapse Rate APPROXIMATION!!!
ERASE
analyze,stor=6 sdif=4:5 stor=5 temp h500 stor=4 temp h850
analyze,over fill color=255:180:0 grtn=6 sdvc=6:4
analyze,over fill color=255:255:0 grtn=7
analyze,over fill color=255:200:200 grtn=8
analyze,over fill color=255:50:50 grtn=9
analyze,cont cint=1 dots
STAMP
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

The SPEED shear do not show Direction. Vectors are not my strong point. I have tried using SDIF with vect. They often "look" correct, but I am not sure of accuracy. So they are not shown. Anyone, with a greater understanding of vector calculus and knows the coding of DA might be able to help. Web page is provided below from Haby Hints. A great http for explaining meteorology!
If you are looking for charts, models, radar web sites: http://stormhamster.com/models.htm Has the largest collection I have been able to find.
P19



#Temp Advection at selected level
Erase
ANALYZE,cont cint=0.5 grtn=0 color 200:0:0 CONT CINT=0.5 ADVT degf TEMP/WIND
product,tadv
Stamp

#Theta e Advection at selected level

Erase
analyze,over fill grtn=0.4 color=255:50:50 fill grtn=0.3 color=200:100:100 fill grtn=0.2 color=255:150:150 fill grtn=0.1 color=255:200:200 fill color=190:190:255 ADVT THTE/WIND
analyze,cont cint=0.24 color=0:0:0 ADVT THTE/WIND
product,advt
Stamp


#http://www.theweatherprediction.com/habyhints/193/
#SPEED Shear at 850-sfc

ERASE
ANALYZE,OVER FILL GRTN=20 COLOR=255:75:75 OVER FILL GRTN=15 COLOR=255:255:0 SDIF=1:2 STOR=2 VKNT WSPD HSFC STOR=1 VKNT WSPD H850
ANALYZE,CONT CINT=5 COLOR=0:0:0
STAMP


#SPEED Shear mid level 500-700

ERASE
ANALYZE,SDIF=1:2 STOR=2 VKNT WSPD H700 STOR=1 VKNT WSPD H500
ANALYZE,OVER FILL GRTN=0 COLOR=0:255:0
ANALYZE,OVER FILL GRTN=15 COLOR=255:0:0
ANALYZE,OVER FILL GRTN=20 COLOR=255:150:0
ANALYZE,CONT CINT=5 COLOR=0:0:0
STAMP


#upper level speed shear 200-300

ERASE
ANALYZE,OVER FILL GRTN=60 COLOR=255:150:0 OVER FILL GRTN=40 COLOR=255:0:0 OVER FILL GRTN=0 COLOR=0:255:0 SDIF=1:2 STOR=2 VKNT WSPD H300 STOR=1 VKNT WSPD H200
ANALYZE,CONT CINT=20 COLOR=0:0:0
STAMP
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

This will be my last post for a while. Hope the scripts are valid, accurate, and useful.

250 Wind, 500 mb stuff:

#250 wind

Erase
analyze,OVER FILL COLOR=66:85:255 GRTN=40 stor=1 VKNT WSPD HGHT H250

analyze,OVER FILL COLOR=66:255:240 GRTN=50

analyze,OVER FILL COLOR=86:255:66 GRTN=60

analyze,OVER FILL COLOR=255:225:66 GRTN=70

analyze,OVER FILL COLOR=255:26:26 GRTN=80
analyze,OVER FILL COLOR=255:0:0 GRTN=100
analyze,OVER FILL COLOR=192:192:192 GRTN=125
analyze,OVER FILL COLOR=255:255:255 GRTN=150
analyze,STRM WIND COLOR=255:187:221 HGHT H250
analyze,CONT cint=30 COLOR=0:0:0 HILO HGHT H250 LINE=2
Stamp


#500 vorticity and 1000-500 thickness

Erase
ANALYZE,SMLC=1:100000 STOR=1 AVRT WIND H500
ANALYZE,over fill color=175:175:175 lstn=0
analyze,over fill color=255:255:0 grtn=8
analyze,OVER FILL COLOR=255:215:0 GRTN=10
ANALYZE,OVER FILL COLOR=255:165:0 GRTN=12
ANALYZE,OVER FILL COLOR=255:65:0 GRTN=14
analyze,CONT CINT=30 line=2 COLOR=200:0:0 SDIF=1:2 STOR=2 HGHT H700 STOR=1 HGHT H400
Stamp


#500 vort. ADVECTION and height

Erase
analyze,stor=2 ADVT SMLC=1:10000 STOR=1 AVRT WIND H500
analyze,over fill color=200:200:200 lstn=0
analyze,OVER FILL COLOR=255:215:0 GRTN=100
analyze,OVER FILL COLOR=255:165:0 GRTN=200
analyze,OVER FILL COLOR=255:65:0 GRTN=400
analyze,plld color=100:100:100
analyze,cont cint=30 hght h500
Stamp



#500 Vort and height

Erase
analyze,stor=2 SMLC=1:100000 STOR=1 AVRT WIND H500
ANALYZE,over fill color=175:175:175 lstn=0
analyze,over fill color=255:255:0 grtn=8
analyze,OVER FILL COLOR=255:215:0 GRTN=10
ANALYZE,OVER FILL COLOR=255:165:0 GRTN=12
ANALYZE,OVER FILL COLOR=255:65:0 GRTN=14
analyze,CONT CINT=30 COLOR=0:0:200 STOR=1 HGHT H500
Stamp


#850 Temp Advection and 500 height

Erase
ANALYZE,OVER FILL COLOR=255:200:200 GRTN=0 degf ADVT TEMP/WIND H850
ANALYZE,OVER FILL COLOR=200:200:255 LSTN=0 degf ADVT TEMP/WIND H850
ANALYZE,cont cint=0.5 color 200:50:50 dots degf ADVT TEMP/WIND H850
ANALYZE,CONT CINT=30 COLOR=0:180:0 LINE=2 HGHT H500
Stamp

P19
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

Other stuff I forgot about:
1. The two precip scripts are contours, if one station reports 0.3 and no other station reports rain the cont. will show an area of rain where no rain is occuring. I actually use a station plot that shows the rain data. Remember 3hr precip product is not put out on an hourly basis, this will result in zero data on map!!!
2. For SST you could create or load a saved map for the area you want to plot SST!
3. The estimated high temps for cloudy and sunny days uses the rule of thumb, using the 850mb temp. It is a ROUGH estimate, and should be used with the morning UA data.


#3hr Precip

Erase
analyze,over fill color=0:0:255 grtn=0.5 over fill color= 150:150:255 grtn=0.4 over fill color=200:200:255 grtn=0.3 over fill color=0:255:0 grtn=0.2 over fill color=100:255:100 grtn=0.1 over fill color=0:155:0 grtn=0 PC03
analyze,plld CONT cint=0.1 PC03
Stamp


#1hr Precip
Erase
analyze,over fill color=0:0:255 grtn=0.5 over fill color= 150:150:255 grtn=0.4 over fill color=200:200:255 grtn=0.3 over fill color=0:255:0 grtn=0.2 over fill color=100:255:100 grtn=0.1 over fill color=0:155:0 grtn=0 PC01
analyze,plld CONT cint=0.1 PC01
Stamp


#SST
ERASE

analyze,degf tsea
analyze,fill color=125:125:125 grtn=32
analyze,fill color=200:200:200 grtn=50
analyze,fill color=200:200:255 grtn=76
analyze,fill color=100:100:255 grtn=78
analyze,fill color=255:255:0 grtn=80
analyze,fill color=255:200:200 grtn=82
analyze,fill color=255:100:100 grtn=84
analyze,over fill color=255:0:0 grtn=86
analyze,cont cint=2 color=125:125:125 grtn=30
stamp




#925 Temp Inversion
ERASE
ANALYZE,STOR=2 TEMP H925 STOR=1 TEMP H000

ANALYZE,OVER FILL COLOR=100:255:036 GRTN=0 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:255:255 GRTN=0 SDIF=1:2

ANALYZE,OVER FILL COLOR=216:255:000 GRTN=5 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:209:255 GRTN=5 SDIF=1:2

ANALYZE,OVER FILL COLOR=255:240:000 GRTN=10 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:154:255 GRTN=10 SDIF=1:2

ANALYZE,OVER FILL COLOR=255:204:000 GRTN=15 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:080:255 GRTN=15 SDIF=1:2

ANALYZE,OVER FILL COLOR=255:161:000 GRTN=20 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:045:255 GRTN=20 SDIF=1:2

ANALYZE,OVER FILL COLOR=255:127:000 GRTN=25 SDIF=2:1
ANALYZE,OVER FILL COLOR=022:000:255 GRTN=25 SDIF=1:2

ANALYZE,CONT LINE=1 CINT=5 COLOR=160:000:100 GRTN=0 SDIF=2:1
ANALYZE,CONT LINE=1 CINT=5 COLOR=000:000:160 LSTN=0 SDIF=2:1
STAMP



#Delta Theta e sfc - 700mb
#(SFCThetaE - MidLevel ThetaE)
#>= 20 Wet Microbursts Likely
#<= 13 Wet Microbursts Unlikely
#cold pool?



ERASE
analyze,stor=1 thte h700
analyze,stor=2 thte hsfc
analyze,sdif=2:1
analyze,fill grtn=0 color=200:200:255
analyze,fill grtn=13 color=255:255:0
analyze,over fill grtn=20 color=255:155:155
analyze,cont cint=5
stamp



#sunny temp estimate using 850 temp
ERASE
ANALYZE,stor=1 degf temp h850
analyze,sadc=1:26.9
analyze,cont cint=2.5
STAMP



#Cloudy day estimated High temp using 850 temp
ERASE
ANALYZE,stor=1 degf temp h850
analyze,sadc=1:13.5
analyze,cont cint=2.5
STAMP

P19
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

Forgot to mention this earlier. If you want to learn about tornadic storms I recommend the OU SCAMS videos feat. Rich Thompson of SPC. There is also a website to download the power points he used during presentation. Cannot over recommend them, if you are interested in Torn.
OU Videos:
https://www.youtube.com/channel/UCL3CHz ... -UXw79Xnig

PPT and Video page:
http://live.som.ou.edu/

Some of these may be duplicates: Edited

#mixr with labeled cont
ERASE
ANALYZE,MIXR
analyze,fill color=200:200:255 grtn=2
analyze,fill color=100:100:255 grtn=4
analyze,fill color=0:0:255 grtn=6
analyze,fill color=0:0:185 grtn=8
analyze,fill color=200:255:200 grtn=10
analyze,fill color=100:255:100 grtn=12
analyze,fill color=0:255:0 grtn=14
analyze,fill color=0:190:0 grtn=16
analyze,fill color=0:111:0 grtn=18
analyze,fill color=255:200:200 grtn=20
analyze,over fill color=255:111:111 grtn=22
analyze,cont cint=1 color=125:125:125
ANALYZE, VECT COLOR=0:0:0 WIND
product,advt
stamp


#wind 250>45 and 850>30 intersection (overlap of hash) poten for severe storms
ERASE
ANALYZE,OVER FILL COLOR=255:0:0 FILS=6 GRTN=45 VMPH WSPD WIND H250
ANALYZE,FILL COLOR=255:0:0 FILS=5 GRTN=30 VMPH WSPD WIND H850
STAMP

#surface dwpt with labeled cont
ERASE
analyze,FILL COLOR=255:255:230 FILS=0 GRTN=54 DEGF DWPT hsfc
analyze,FILL COLOR=245:245:215 FILS=0 GRTN=57
analyze,FILL COLOR=225:235:200 FILS=0 GRTN=60
analyze,FILL COLOR=205:225:185 FILS=0 GRTN=63
analyze,FILL COLOR=185:215:170 FILS=0 GRTN=66
analyze,FILL COLOR=165:205:155 FILS=0 GRTN=69
analyze,FILL COLOR=145:195:140 FILS=0 GRTN=72
analyze,OVER FILL COLOR=125:185:125 FILS=0 GRTN=75
analyze,cont cint=5 dots degf dwpt hsfc
STAMP

#Ave Rel humidity
ERASE
ANALYZE,stor=1 relh h500
ANALYZE,stor=2 relh h700
ANALYZE,stor=3 relh h850
ANALYZE,stor=4 relh hsfc
ANALYZE,stor=5 savg=1:2
ANALYZE,stor=6 savg=3:4
ANALYZE,stor=7 savg=5:6
ANALYZE,fill color=200:200:255 grtn=30
ANALYZE,fill color=255:150:0 grtn=45
ANALYZE,fill color=255:255:0 grtn=60
ANALYZE,over fill color=255:150:150 grtn=75
analyze,cont cint=5
STAMP

#Dwpt Depression
Erase
analyze,over fill color=255:255:0 grtn=0 smlc=3:125 stor=3 sdif=1:2 stor=2 dwpt stor=1 temp
analyze,over fill color=255:75:75 grtn=1000
analyze,over fill color=175:175:255 grtn=1200
analyze,cont cint=500 grtn=9000 color=25:25:25 cont cint=500 grtn=2500 color=125:125:125 cont cint=500 grtn=0 color=200:0:0 smlc=3:125 stor=3 sdif=1:2 stor=2 dwpt stor=1 temp
Stamp

#convective cloud base in meters
#Very rough estimate of LCL
#colors use roughly 1200 meters as guideline for areas of severe Tstorms
#see ou scams on youtube website
Erase
analyze,over fill color=255:255:0 grtn=0 smlc=3:125 stor=3 sdif=1:2 stor=2 dwpt stor=1 temp hsfc
analyze,over fill color=255:75:75 grtn=1000
analyze,over fill color=175:175:255 grtn=1200
analyze,cont cint=500 grtn=9000 color=25:25:25 cont cint=500 grtn=2500 color=125:125:125 cont cint=500 grtn=0 color=200:0:0 smlc=3:125 stor=3 sdif=1:2 stor=2 dwpt stor=1 temp hsfc
Stamp



P19
MMWeather
Member
Posts: 59
Joined: Thu Jun 28, 2018 2:06 am

Re: Scripts 2018

Post by MMWeather »

These are "one line" analysis that can be added to the analysis drop down list. ***If you do not have the pro version of DA you probably can't add all of these as it would put you over the limit (I haven't counted how many there are below). Before you start, copy the list that came with DA before doing any editing, and SAVE it... otherwise you may or will lose everything!!!!!!!! If you copy what you want from the list below you can add them by clicking on the edit analysis scripts and paste. The categories are fully left justified, the actual scripts are indented 1 space. If you only want to use some of these make sure you understand, left justified is category, 1 space indent will place that item in the category above it. I have not used these since upgrading to the latest version, I do not currently have the pro version. Again, if there are math errors feel free to leave a comment. Also if you are wondering why so few color fills, these were written before the char. limit was increased. Also DA still will not allow you to color fill and then add a contour in these single line analysis. At least I haven't been able to do this. If you want both you need to use the scripting tab on the left side of the window. Hope these are accurate and helpful.

P19
After looking at this in preview mode it does not appear to indent. I have highlighted in bright red the category names, I also deleted the original scripts provided in DA to avoid confusion. This makes saving the original scripts and SAVING them even more important, for new users...and veterans, or people like me who sometimes rush in without fully thinking!
P19




# DIGITAL ATMOSPHERE MENU COMMANDS
#
# The Standard Version is limited to a maximum of 100 menu commands.
# The Professional Version does not have any limits.
#
# Do not create more than 20 main categories
#
# SPECIAL TITLE SUFFIXES
# %1 = Marks the sea-level pressure analysis for toolbar shortcut SLP
# %2 = Marks the temperature (C) analysis for toolbar shortcut DEG C
# %3 = Marks the temperature (F) analysis for toolbar shortcut DEG F
#

Snow
Wetbulb <2.5 C - Snow line |OVER FILL COLOR=0:0:50 FILS=4 LSTN=2.5 BULB
5400 Snowline |CONT EQUA=5400 DASH COLOR=200:0:0 SDIF=1:2 STOR=2 HGHT H000 STOR=1 HGHT H500
Freezing Line |CONT EQUA=32 DASH COLOR=200:0:0 STOR=1 DEGF TEMP HGHT HSFC
My Ind.
Total Totals >50 |CONT CINT=5 SDIF= 5,6 STOR=6 SMLC=3,2 STOR=5 SSUM=1,2 STOR=1 TEMP HGHT H850 STOR=2 DWPT HGHT H850 STOR=3 TEMP HGHT H500
L57 X's 100 |CONT GRTN=7 COLOR=200:0:0 cont cint=0.5 SDVC=3:2.7 STOR=3 SDIF=1:2 STOR=2 TEMP H500 STOR=1 TEMP H700
Lapse Rate 850-500 |CONT GRTN=7 COLOR=200:0:0 cont cint=0.5 SDVC=3:4 STOR=3 SDIF=1:2 STOR=2 TEMP H500 STOR=1 TEMP H850
Lapse Rate 925-700 |CONT GRTN=7 COLOR=245,157,125 CONT GRTN=0 cont cint=0.5 SDVC=3:2.1 STOR=3 SDIF=1:2 STOR=2 TEMP H700 STOR=1 TEMP H925
700mb Temp Cap approx 10-13 |CONT EQUA=10 COLOR=0:0:0 LINE=3 CONT CINT=2 COLOR=150:150:150 TEMP H700
Vertical Totals |CONT CINT=2 DASH COLOR=150,0,50 SDIF=1,2 STOR=2 TEMP H500 STOR=1 TEMP H850
Cross Totals |CONT CINT=2 DASH COLOR=150,0,50 SDIF=1,2 STOR=2 TEMP H500 STOR=1 DWPT H850
Surface Cross Totals |OVER FILL COLOR=75:75:75 FILS=2 GRTN=28 CONT CINT=2 DASH COLOR=150,0,50 SDIF=1,2 STOR=2 TEMP H500 STOR=1 DWPT HSFC
K Index |cont cint=2 analyze, ssum=3,6,7 analyze, stor=7 sdif=1,2 analyze, stor=6 sdif=4,5 analyze, stor=4 temp h850 stor=5 dwpt h850 stor=1 temp h850 stor=2 temp h500 stor=3 dwpt h850
Surface
Alt Setting |CONT CINT=0.05 LINE=2 ALST
Sea level pressure 2mb(no highs/lows)|CONT CINT=2 LINE=2 COLOR=0:125:0 LINE=2 SLPR
Sea level pressure 4mb(no highs/lows)|CONT CINT=4 LINE=2 COLOR=0:125:0 LINE=2 SLPR
Pressure tendency |CONT CINT=2 PTEN
Temp (F) |CONT EQUA=32 LINE=2 COLOR=0:0:0 LINE=3 CONT GRTN=32 CINT=5 COLOR=200:0:0 LINE=1 CONT LSTN=32 CINT=5 COLOR=0:0:200 LINE=1 DEGF TEMP
Vector Temp Advection |CONT CINT=0.2 COLOR=200:0:0 ADVT TEMP/WIND
Theta-e (deg K) |CONT CINT=5 COLOR=200:0:0 THTE
Thet-e Color (deg k) |ANALYZE CONT CINT=2 THTE OVER FILL FILS=0 COLOR=200:100:200 FILL FILS=0 GRTN=360 THTE FILL COLOR=200:100:100 FILS=0 GRTN=350 THTE FILL COLOR=200:200:100 FILS=0 GRTN=340 THTE FILL COLOR=100:200:100 FILS=0 GRTN=330 THTE
Thet-e advection |OVER FILL COLOR=10:10:10 FILS=3 GRTN=0.0 CONT LSTN=0 LINE=2 COLOR= 0:200:0 CONT GRTN=0.1 LINE=2 COLOR= 200:0:0 CONT MXMN CINT=0.2 LINE=2 COLOR=000:000:200 ADVT thte/WIND Hsfc
Divergence (10^-6 s) |CONT MXMN CINT=10 SMTH SMLC=1:1000000 STOR=1 DVRG SMTH WIND HSFC
Moisture Convergence |OVER FILL COLOR=10:10:10 FILS=3 GRTN=0.0 CONT MXMN CINT=0.05 LINE=2 ADVT MIXR/WIND
Relative Humid. >70% |CONT CINT=5 LINE=2 COLOR=50:150:0 RELH
Mixing Ratio Color (g/kg) |CONT LSTN=4 COLOR=200:0:0 CONT CINT=.1 MIXR
Colored dewpoint (deg F) |CONT EQUA=70 COLOR=0:0:0 LINE=3 CONT GRTN=70 CINT=2 COLOR=0:0:200 LINE=1 CONT LSTN=70 CINT=2 COLOR=200:0:0 LINE=1 DEGF DWPT
Dewpoint Depression Deg. F |CONT LSTN=4 LINE=2 COLOR= 100:100:100 CONT CINT=2 LINE=2 COLOR=000:000:200 SDIF=1:2 STOR=1 DEGF TEMP STOR=2 DEGF DWPT
Streamline |STRM WIND HSFC
Wind |BKNT COLOR=0:0:0 WIND HSFC OVER FILL COLOR=200:100:200 FILS=0 GRTN=110 VKNT WSPD FILL COLOR=200:100:100 FILS=0 GRTN=90 VKNT WSPD FILL COLOR=200:200:100 FILS=0 GRTN=70 VKNT WSPD FILL COLOR=100:200:100 FILS=0 GRTN=50 VKNT WSPD HSFC
Wind Speed (Kt) |CONT CINT=2 COLOR=0:200:0 VKNT WSPD HSFC
Possible fog |OVER FILL COLOR=10:10:10 FILS=3 LSTN=31 cont cint=5 STOR=8 SSUM=5,6,7 STOR=7 SDIF=1,2 STOR=6 SDIF=1,4 STOR=1 TEMP HSFC STOR=2 TEMP H850 STOR=4 HSFC DWPT STOR=5 VKNT WSPD H850
Wave Height |CONT CINT=2.5 WSWH
Sea Surf. Temp Deg. C |CONT GRTN=80 LINE=2 COLOR=222:0:0 CONT GRTN=70 LINE=2 COLOR=100:010:011 CONT GRTN=60 LINE=2 COLOR=50:50:100 CONT GRTN=40 LINE=2 COLOR=010:500:150 CONT GRTN=30 LINE=2 COLOR=100:100:150 CONT CINT=5 DEGF TSEA
200 MB
Height (m) |CONT CINT=40 LINE=2 HGHT H200
Streamline |STRM WIND H200
Wind |BKNT COLOR=0:0:0 WIND h200 OVER FILL COLOR=200:100:200 FILS=0 GRTN=110 VKNT WSPD FILL COLOR=200:100:100 FILS=0 GRTN=90 VKNT WSPD FILL COLOR=200:200:100 FILS=0 GRTN=70 VKNT WSPD FILL COLOR=100:200:100 FILS=0 GRTN=50 VKNT WSPD H200
Wind Speed (Kt) |CONT CINT=20 COLOR=180:0:0 VKNT WSPD h200
250 MB
Height (m) |CONT CINT=60 LINE=2 HGHT H250
Streamline |STRM WIND H250
Wind |OVER FILL COLOR=200:100:200 FILS=0 GRTN=110 VKNT WSPD FILL COLOR=200:100:100 FILS=0 GRTN=90 VKNT WSPD FILL COLOR=200:200:100 FILS=0 GRTN=70 VKNT WSPD FILL COLOR=100:200:100 FILS=0 GRTN=50 VKNT WSPDVKNT WSPD H250
Wind Speed (Kt) |CONT CINT=20 LINE=2 COLOR=190:0:0 VKNT WSPD h250
300 MB
Height (m) |CONT CINT=60 LINE=2 HGHT H300
Streamline |STRM WIND H300
Wind |BKNT COLOR=0:0:0 WIND h300 OVER FILL COLOR=200:100:200 FILS=0 GRTN=110 VKNT WSPD FILL COLOR=200:100:100 FILS=0 GRTN=90 VKNT WSPD FILL COLOR=200:200:100 FILS=0 GRTN=70 VKNT WSPD FILL COLOR=100:200:100 FILS=0 GRTN=50 VKNT WSPD H300
Wind Speed (Kt) |CONT CINT=20 COLOR=0:200:0 VKNT WSPD h300
500 MB
Height |CONT CINT=60 LINE=2 HGHT H500
Height 20 mb |CONT CINT=20 LINE=2 HGHT H500
1000-500 Thickness |CONT LSTN=5401 CINT=60 COLOR=0:0:200 CONT CINT=60 LINE=2 DASH COLOR=200:0:0 SDIF=1:2 STOR=2 HGHT H000 STOR=1 HGHT H500
Polar 500mb Long wave |cont cint=100 LINE=2 color=80:80:140 hght h500
Temp |CONT CINT=2 COLOR=200:0:0 DASH DEGF TEMP H500
Divergance |CONT MXMN CINT=5 LINE=2 SMTH SMLC=1:1000000 STOR=1 DVRG SMTH WIND H500
Relative vorticity |MXMN CONT CINT=2 LINE=2 COLOR=250:50:50 SMLC=1:100000 STOR=1 RVRT WIND H500
Vorticity Abs |MXMN CONT CINT=2 LINE=2 COLOR=250:50:50 SMLC=1:100000 STOR=1 AVRT WIND H500
Abs Vort Color |OVER FILL COLOR=255:69:0 FILS=0 GRTN=25 FILL COLOR=255:144:0 FILS=0 GRTN=20 FILL COLOR=255:215:0 FILS=0 GRTN=15 FILL COLOR=255:255:190 FILS=0 GRTN=10 SMLC=1:100000 STOR=1 AVRT WIND H500
Streamline |STRM WIND H500
Wind speed (barbs) (kt) |BKNT COLOR=0:0:200 WIND H500
Wind Speed (Kt) |CONT CINT=10 LINE=2 COLOR=190:0:0 VKNT WSPD h500
500 mb winds |BKNT COLOR=0:0:200 WIND h500 OVER FILL COLOR=200:100:200 FILS=0 GRTN=110 VKNT WSPD FILL COLOR=200:100:100 FILS=0 GRTN=90 VKNT WSPD FILL COLOR=200:200:100 FILS=0 GRTN=70 VKNT WSPD FILL COLOR=100:200:100 FILS=0 GRTN=50 VKNT WSPD h500
Wind Vect. |VECT WIND H500
Temp Advect. |CONT CINT=0.05 ADVT TEMP/WIND H700 VECT ADVT TEMP/WIND H500
700 MB
Height |CONT CINT=30 LINE=2 HGHT H700
Height |CONT CINT=20 LINE=2 HGHT H700
700-500 thick |CONT CINT=30 LINE=2 DASH COLOR=200:0:0 SDIF=1:2 STOR=2 HGHT H700 STOR=1 HGHT H500
1000-700 Thickness (To Track lows) |CONT CINT=40 LINE=2 COLOR=200:0:0 SDIF=1,2 STOR=2 HGHT H000 STOR=1 HGHT H700
Surf. to 700 mb - 70% rel hum |OVER FILL FILL COLOR=150:150:150 FILS=5 GRTN=70 RELH H700 FILL COLOR=150:150:150 FILS=4 GRTN=70 RELH H850 FILL COLOR=150:150:150 FILS=3 GRTN=70 RELH HSFC
Temp |CONT CINT=2 COLOR=200:0:0 DASH DEGF TEMP H700
Humidity |CONT CINT=5 RELH H700
Theta |CONT CINT=2 LINE=2 THTA H700
Divergance |CONT MXMN CINT=5 LINE=2SMTH SMLC=1:1000000 STOR=1 DVRG SMTH WIND H700
Vorticity Rel |MXMN CONT CINT=0.5 LINE=2 COLOR=250:50:50 SMLC=1:100000 STOR=1 RVRT WIND H700
Abs Vort Color |OVER FILL COLOR=255:69:0 FILS=0 GRTN=14 FILL COLOR=255:144:0 FILS=0 GRTN=12 FILL COLOR=255:215:0 FILS=0 GRTN=10 FILL COLOR=255:255:190 FILS=0 GRTN=8 SMLC=1:100000 STOR=1 AVRT WIND H700

Streamline |STRM WIND H700
Wind speed (barbs) (kt) |BKNT COLOR=0:0:200 WIND H700
Wind Speed (Kt) |CONT CINT=20 COLOR=0:200:0 VKNT WSPD H700
Wind Vect. |VECT WIND H700
Temp Advect. |CONT CINT=0.05 LINE=2 COLOR=200:0:0 ADVT TEMP/WIND H700 VECT ADVT TEMP/WIND H700
My Moisture Convergence |OVER FILL COLOR=10:10:10 FILS=3 GRTN=0.0 CONT MXMN CINT=0.2 ADVT MIXR/WIND H700
850 MB
Height |CONT CINT=30 LINE=2 HGHT H850
850-500 mb thickness (m) |CONT CINT=20 DASH COLOR=200:0:0 SDIF=1:2 STOR=2 HGHT H850 STOR=1 HGHT H500
Temp |CONT CINT=5 LINE=2 color=200:0:0 DEGF TEMP H850
Humidity |CONT CINT=5 RELH H850
Theta-e (deg K) |CONT CINT=2 LINE=2 COLOR=0:50:150 THTE H850
Thet-e advection |OVER FILL COLOR=10:10:10 FILS=4 GRTN=0.0 CONT LSTN=0 LINE=2 COLOR= 0:200:0 CONT GRTN=0.1 LINE=2 COLOR= 200:0:0 CONT MXMN CINT=0.1 LINE=2 COLOR=000:000:200 ADVT thte/WIND H850
Temp Advect. |CONT CINT=0.1 COLOR=50:0:0 ADVT TEMP/WIND H850
My Moisture Convergence |OVER FILL COLOR=10:10:10 FILS=3 GRTN=0.0 CONT MXMN CINT=0.2 ADVT MIXR/WIND H850
Divergance |CONT MXMN CINT=5 LINE=2SMTH SMLC=1:1000000 STOR=1 DVRG SMTH WIND H850
Vorticity Rel |MXMN CONT CINT=0.5 LINE=2 COLOR=250:50:50 SMLC=1:100000 STOR=1 RVRT WIND H850
Streamline |STRM WIND H850
Wind speed (barbs) (kt) |BKNT COLOR=0:0:200 WIND H850
Wind Speed (Kt) |CONT CINT=10 LINE=2 COLOR=0:0:240 VKNT WSPD h850
Wind Vect. |VECT WIND H850
850 shows cloud dev |OVER FILL COLOR=10:10:10 FILS=3 LSTN=5 cont cint=5 line=1 sdif=1:2 stor=1 temp h850 stor=2 dwpt h850
Possible clouds >70% |CONT EQUA=70 COLOR=0:0:0 LINE=3 OVER FILL GRTN=70 COLOR=200:200:200 RELH H850
My Moisture Convergence |OVER FILL COLOR=10:10:10 FILS=3 GRTN=0.0 CONT MXMN CINT=0.2 ADVT MIXR/WIND H850
Post Reply