source: trunk/MESOSCALE_DEV/SRC/ARWpost/scripts/sqx.gs @ 207

Last change on this file since 207 was 207, checked in by aslmd, 13 years ago

MESOSCALE: A GENERAL CLEAN-UP FOLLOWING UPDATING THE USER MANUAL. EVERYTHING ESSENTIAL IS IN MESOSCALE (much lighter than before). EVERYTHING FOR DEVELOPPERS OR EXPERTS IS IN MESOSCALE_DEV.

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1'reinit'
2'open sqx.ctl'
3
4'set display color white'
5'run rgbset.gs'
6
7say 'Create gif images as well (1=yes ; 0=no)'
8pull ans
9frame = 1
10
11'q file'
12rec=sublin(result,5)
13_endtime=subwrd(rec,12)
14
15runscript = 1
16dis_t = 1
17
18'set xlab off'
19'set ylab off'
20
21while(runscript)
22
23'set t ' dis_t
24'q dims'
25rec=sublin(result,5)
26_analysis=subwrd(rec,6)
27
28say 'Time is ' _analysis
29'c'
30'set grads off'
31'set gxout shaded'
32'd qvapor*1000.0'
33'set strsiz .2'
34'set string 1 l 6'
35'draw string 4.0 8.35   Water Vapor (g/kg)'
36'set strsiz .15'
37'set string 1 l 3'
38'draw string 8.5 8.1 ' _analysis
39'run cbar.gs'
40if(ans)
41'printim sqx'frame'.gif gif '
42frame=frame+1
43endif
44pull dummy
45'c'
46'set grads off'
47'set gxout shaded'
48'd qcloud*1000.0'
49'set gxout contour'
50'set cmin 0.01'
51'd qrain*1000.0'
52'set strsiz .2'
53'set string 1 l 6'
54'draw string 4.0.7 8.35   Cloud (color) and rain (g/kg)'
55'set strsiz .15'
56'set string 1 l 3'
57'draw string 8.5 8.1 ' _analysis
58'run cbar.gs'
59if(ans)
60'printim sqx'frame'.gif gif '
61frame=frame+1
62endif
63pull dummy
64
65if ( dis_t=_endtime )
66 runscript=0
67endif
68dis_t = dis_t + 1
69endwhile
70
Note: See TracBrowser for help on using the repository browser.