The Weather Forecasting Forum
http://www.weathergraphics.com/forum/

Plotting Dew Point Spread
http://www.weathergraphics.com/forum/viewtopic.php?f=9&t=1413
Page 1 of 1

Author:  edwoodza [ Fri Aug 01, 2008 10:26 am ]
Post subject:  Plotting Dew Point Spread

can anyone help me plot dewpoint spread
ie: difference between dewpoint and temperature.

Author:  Peter [ Fri Aug 01, 2008 2:52 pm ]
Post subject:  Dew Point Depression script

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

Author:  edwoodza [ Sat Aug 02, 2008 3:23 pm ]
Post subject: 

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

Author:  Peter [ Sat Aug 02, 2008 4:33 pm ]
Post subject:  Dew Point Depression script

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/