Last change
on this file since 296 was
85,
checked in by aslmd, 14 years ago
|
LMD_MM_MARS et LMD_LES_MARS: ajout des routines IDL pour tracer les sorties --> voir mesoscale/PLOT
|
File size:
945 bytes
|
Line | |
---|
1 | |
---|
2 | ; |
---|
3 | ; every time you modify gw.def, launch @gwc |
---|
4 | ; |
---|
5 | |
---|
6 | |
---|
7 | ; |
---|
8 | ; START FROM SCRATCH |
---|
9 | ; |
---|
10 | .reset_session |
---|
11 | |
---|
12 | |
---|
13 | ; |
---|
14 | ; USER PARAMETERS |
---|
15 | ; |
---|
16 | print, 'reading user parameters ...' |
---|
17 | SPAWN, 'touch user.idl ; \rm user.idl ; grep -v grep gw.def > user.idl' |
---|
18 | @user.idl |
---|
19 | |
---|
20 | |
---|
21 | ; |
---|
22 | ; PLOT PARAMETERS |
---|
23 | ; |
---|
24 | what_to_do='\rm param_plot.idl ; grep grepALL gw.def > param_plot.idl' |
---|
25 | |
---|
26 | if ((plot eq 'meridional') or (plot eq 'zonal')) then what_to_do=what_to_do+' ; grep grepSEC gw.def >> param_plot.idl' |
---|
27 | if (plot eq 'map') then what_to_do=what_to_do+' ; grep grepMAP gw.def >> param_plot.idl' |
---|
28 | |
---|
29 | SPAWN, what_to_do |
---|
30 | |
---|
31 | SPAWN, 'grep nam2 gw.def >> param_plot.idl' |
---|
32 | |
---|
33 | print, 'done !' |
---|
34 | |
---|
35 | |
---|
36 | ;;;SPAWN, '\rm param_plot.idl ; grep grepALL gw.def > param_plot.idl' |
---|
37 | ;;;if ((plot eq 'meridional') or (plot eq 'zonal')) then SPAWN, 'grep grepSEC gw.def >> param_plot.idl' |
---|
38 | ;;;if (plot eq 'map') then SPAWN, 'grep grepMAP gw.def >> param_plot.idl' |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | ; |
---|
43 | ; ALWAYS RE-COMPILE |
---|
44 | ; |
---|
45 | .compile gw |
---|
46 | .compile map_latlon |
---|
47 | .compile section |
---|
Note: See
TracBrowser
for help on using the repository browser.