Plotting Dew Point Spread

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
edwoodza
Member
Posts: 34
Joined: Mon Apr 07, 2008 11:42 am

Plotting Dew Point Spread

Post by edwoodza »

can anyone help me plot dewpoint spread
ie: difference between dewpoint and temperature.
Peter
Member
Posts: 97
Joined: Sun Nov 13, 2005 10:03 pm
Location: Mid-Wales

Dew Point Depression script

Post by Peter »

Below is a dew point depression script I use.
It displays the difference between dew point and temperature in deg C

#Dew Point Depression Script at 1 deg C intervals
ERASE
SFCPLOTMODEL,C:\Program Files\DigitalAtmosphereWS\Standard Plot model.sps
ANALYZE,STOR=1 DWPT
ANALYZE,STOR=2 TEMP
ANALYZE, SDIF=2:1
ANALYZE,OVER FILL COLOR= 255:220:060 FILS=0 GRTN=6 OVER FILL COLOR= 255:200:040 FILS=0 GRTN=5 OVER FILL COLOR= 255:161:020 FILS=0 GRTN=4 OVER FILL COLOR= 255:200:000 FILS=0 GRTN=3 OVER FILL COLOR= 255:150:000 FILS=0 GRTN=2 OVER FILL COLOR= 255:090:000 FILS=0 GRTN=1 OVER FILL COLOR= 255:050:000 FILS=0 GRTN=0
ANALYZE,OVER FILL COLOR= 255:255:255 FILS=0 GRTN=12 OVER FILL COLOR= 224:224:224 FILS=0 GRTN=11 OVER FILL COLOR= 224:255:100 FILS=0 GRTN=10 OVER FILL COLOR= 255:224:050 FILS=0 GRTN=9 OVER FILL COLOR= 255:240:000 FILS=0 GRTN=8 OVER FILL COLOR= 255:240:080 FILS=0 GRTN=7
ANALYZE,HILO CONT CINT=1 COLOR=100:100:100 DASH
OVER


The SFCPLOTMODEL line refers to my plot model settings and sets plot model requirements that I use but your could be different therefore that line can be removed or changed as necessary to suit your requirements.

All thresholds and colours can be changes as required by changing the RGB colour settings
Beaware, when you copy the script from the website it inserts a space at the end of the line sometimes.
This space should be removed by you when it is copied into notepad and saved as a .DSF file in DA. In other words DA does not like spaces at the end of the lines.

Look through this forum and you will find may scripts available and I am sure you will find nearly everything you want.

Regards
edwoodza
Member
Posts: 34
Joined: Mon Apr 07, 2008 11:42 am

Post by edwoodza »

hi there
looks good BUT i get H and L, like for pressure.
is there a way we can remove the "high" and "low"signs
otherwise great looking script
Peter
Member
Posts: 97
Joined: Sun Nov 13, 2005 10:03 pm
Location: Mid-Wales

Dew Point Depression script

Post by Peter »

In the last line remove the HILO (marked with <>) and the high and low points will be removed.

ANALYZE, <HILO> CONT CINT=1 COLOR=100:100:100 DASH

Regards
Post Reply