source: trunk/MESOSCALE_DEV/PLOT/RESERVE/report.idl_old @ 251

Last change on this file since 251 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

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1;;---------------------------------------
2;  REPORT
3;
4;  set parameters in user.idl then type:
5;
6;  @report.idl
7;
8;;---------------------------------------
9
10@user.idl
11
12denom=plot+'_'+coord+'_'+field1
13
14if (already_data eq 'yes') then SPAWN, 'ln -sf  '+folder+'/'+coord+'.input.ctl input.ctl'
15if (already_data eq 'yes') then SPAWN, 'ln -sf  '+folder+'/'+coord+'.input.dat input.dat'
16
17SPAWN, '\rm map_latlon_user'
18SPAWN, 'tail -15 user.idl > map_latlon_user'
19.compile map_latlon
20
21SPAWN, '\rm section_user'
22SPAWN, 'tail -15 user.idl > section_user'
23.compile section
24
25for i=1,num do $
26        out_wrf, $
27        plot=plot, $
28        field1=field1, $
29        field2=field2, $
30        when=i, $
31        winds=winds, $
32        level=level,$
33        save_data=yeah,$
34        topo=topo,$
35        range=range,$
36        colors=colors, $
37        nlon=nlon, $
38        nlat=nlat
39
40
41SPAWN, '\rm report.comments'
42SPAWN, 'echo '+plot+' > report.comments'
43SPAWN, 'echo '+plot+' >> report.comments'
44;SPAWN, 'echo '+coord+' >> report.comments'     ;;attention avec le _
45SPAWN, 'rm -f '+denom+'_.ps'
46print, 'executing ... ','base '+denom+'??.ps < report.comments'
47SPAWN, 'base '+denom+'??.ps < report.comments'
48SPAWN, 'mv -f base.ps '+denom+'_.ps'
49SPAWN, 'mv -f ./'+denom+'??.ps '+folder+'/'
50SPAWN, 'mv -f ./'+denom+'_.ps '+folder+'/'
51if (backup_data eq 'yes') then SPAWN, 'cp -f namelist.ARWpost '+folder+'/'+coord+'.namelist.ARWpost'
52if (backup_data eq 'yes') then SPAWN, 'cp -f input.ctl '+folder+'/'+coord+'.input.ctl'
53if (backup_data eq 'yes') then SPAWN, 'cp -f input.dat '+folder+'/'+coord+'.input.dat'
54
55SPAWN, 'cp -f user.idl '+folder+'/'+denom+'.idl'
Note: See TracBrowser for help on using the repository browser.