Last change
on this file since 69 was
11,
checked in by aslmd, 14 years ago
|
spiga@svn-planeto:ajoute le modele meso-echelle martien
|
-
Property svn:executable set to
*
|
File size:
1019 bytes
|
Line | |
---|
1 | 'reinit' |
---|
2 | 'open real_cart.ctl' |
---|
3 | |
---|
4 | ** need input data on model levels |
---|
5 | |
---|
6 | 'set mpdset hires' |
---|
7 | 'set display color white' |
---|
8 | 'run rgbset.gs' |
---|
9 | |
---|
10 | say 'Create gif images as well (1=yes ; 0=no)' |
---|
11 | pull ans |
---|
12 | frame = 1 |
---|
13 | |
---|
14 | 'q file' |
---|
15 | rec=sublin(result,5) |
---|
16 | _endtime=subwrd(rec,12) |
---|
17 | |
---|
18 | runscript = 1 |
---|
19 | dis_t = 1 |
---|
20 | |
---|
21 | while(runscript) |
---|
22 | 'set t ' dis_t |
---|
23 | 'q dims' |
---|
24 | rec=sublin(result,5) |
---|
25 | _analysis=subwrd(rec,6) |
---|
26 | say 'Time is ' _analysis |
---|
27 | |
---|
28 | 'define tf=(40+tc)*9/5-40' |
---|
29 | |
---|
30 | 'c' |
---|
31 | 'set grads off' |
---|
32 | 'set gxout shaded' |
---|
33 | 'set clevs -20 -15 -10 -5 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80' |
---|
34 | 'set ccols 0 51 53 55 57 58 59 49 47 45 39 37 36 34 22 23 24 25 27 29 29' |
---|
35 | 'set z 1' |
---|
36 | 'd tf' |
---|
37 | 'set gxout contour' |
---|
38 | 'set ccolor 1' |
---|
39 | 'set cthick 7' |
---|
40 | 'set cint 4' |
---|
41 | 'd slvl' |
---|
42 | 'set strsiz .2' |
---|
43 | 'set string 1 l 6' |
---|
44 | 'draw string 2.7 8.35 Surfcae T (F, color), SLP (mb)' |
---|
45 | 'set strsiz .15' |
---|
46 | 'set string 1 l 3' |
---|
47 | 'draw string 7.5 8.0 ' _analysis |
---|
48 | 'run cbar.gs' |
---|
49 | if(ans) |
---|
50 | 'printim surface'frame'.gif gif ' |
---|
51 | frame=frame+1 |
---|
52 | endif |
---|
53 | pull dummy |
---|
54 | |
---|
55 | if ( dis_t=_endtime ) |
---|
56 | runscript=0 |
---|
57 | endif |
---|
58 | dis_t = dis_t + 1 |
---|
59 | endwhile |
---|
60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.