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 | |
---|
9 | say 'Create gif images as well (1=yes ; 0=no)' |
---|
10 | pull ans |
---|
11 | frame = 1 |
---|
12 | |
---|
13 | 'q file' |
---|
14 | rec=sublin(result,5) |
---|
15 | _endtime=subwrd(rec,12) |
---|
16 | |
---|
17 | runscript = 1 |
---|
18 | dis_t = 1 |
---|
19 | |
---|
20 | 'set xlab off' |
---|
21 | 'set ylab off' |
---|
22 | 'set z 1 35 ' |
---|
23 | |
---|
24 | while(runscript) |
---|
25 | |
---|
26 | 'set t ' dis_t |
---|
27 | 'q dims' |
---|
28 | rec=sublin(result,5) |
---|
29 | _analysis=subwrd(rec,6) |
---|
30 | |
---|
31 | say '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' |
---|
45 | if(ans) |
---|
46 | 'printim grav2d'frame'.gif gif ' |
---|
47 | frame=frame+1 |
---|
48 | endif |
---|
49 | pull 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' |
---|
63 | if(ans) |
---|
64 | 'printim grav2d'frame'.gif gif ' |
---|
65 | frame=frame+1 |
---|
66 | endif |
---|
67 | pull dummy |
---|
68 | if ( dis_t=_endtime ) |
---|
69 | runscript=0 |
---|
70 | endif |
---|
71 | dis_t = dis_t + 1 |
---|
72 | |
---|
73 | endwhile |
---|
74 | |
---|
Note: See
TracBrowser
for help on using the repository browser.