source: trunk/MESOSCALE_DEV/SRC/ARWpost/scripts/grav2d.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.1 KB
Line 
1'reinit'
2'open grav2d.ctl'
3
4** need normal model level data
5
6'set display color white'
7'run rgbset.gs'
8
9say 'Create gif images as well (1=yes ; 0=no)'
10pull ans
11frame = 1
12
13'q file'
14rec=sublin(result,5)
15_endtime=subwrd(rec,12)
16
17runscript = 1
18dis_t = 1
19
20'set xlab off'
21'set ylab off'
22'set z 1 35 '
23
24while(runscript)
25
26'set t ' dis_t
27'q dims'
28rec=sublin(result,5)
29_analysis=subwrd(rec,6)
30
31say 'Time is ' _analysis
32'c'
33'set grads off'
34'set gxout shaded'
35'd theta'
36'set gxout contour'
37'd u'
38'set strsiz .2'
39'set string 1 l 6'
40'draw string 4.0 8.35   Theta (color), u(m/s)'
41'set strsiz .15'
42'set string 1 l 3'
43'draw string 8.5 8.1 ' _analysis
44'run cbar.gs'
45if(ans)
46'printim grav2d'frame'.gif gif '
47frame=frame+1
48endif
49pull dummy
50'c'
51'set grads off'
52'set gxout shaded'
53'd theta'
54'set gxout contour'
55'd w'
56'set strsiz .2'
57'set string 1 l 6'
58'draw string 4.0.7 8.35   Theta (color), w (m/s)'
59'set strsiz .15'
60'set string 1 l 3'
61'draw string 8.5 8.1 ' _analysis
62'run cbar.gs'
63if(ans)
64'printim grav2d'frame'.gif gif '
65frame=frame+1
66endif
67pull dummy
68if ( dis_t=_endtime )
69 runscript=0
70endif
71dis_t = dis_t + 1
72
73endwhile
74
Note: See TracBrowser for help on using the repository browser.