source: trunk/mesoscale/LMD_MM_MARS/SRC/ARWpost/scripts/real_surf.gs @ 69

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
10say 'Create gif images as well (1=yes ; 0=no)'
11pull ans
12frame = 1
13
14'q file'
15rec=sublin(result,5)
16_endtime=subwrd(rec,12)
17
18runscript = 1
19dis_t = 1
20
21while(runscript)
22'set t ' dis_t
23'q dims'
24rec=sublin(result,5)
25_analysis=subwrd(rec,6)
26say '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'
49if(ans)
50'printim surface'frame'.gif gif '
51frame=frame+1
52endif
53pull dummy
54
55if ( dis_t=_endtime )
56 runscript=0
57endif
58dis_t = dis_t + 1
59endwhile
60
Note: See TracBrowser for help on using the repository browser.