source: trunk/MESOSCALE_DEV/PLOT/RESERVE/obsolete/report.idl @ 207

Last change on this file since 207 was 86, checked in by aslmd, 14 years ago

*
mars + LMD_MM_MARS
* Precompilation flag MESOSCALE for better transparency

* in shared phymars between GCM and mesoscale model

*

M 85 mars/libf/phymars/meso_physiq.F
M 85 mars/libf/phymars/meso_inifis.F
Added a pre-compilation flag MESOSCALE so that the LMDZ.MARS GCM
will compile without stating errors because of mesoscale routines.

M 85 mars/libf/phymars/newcondens.F
M 85 mars/libf/phymars/testphys1d.F
M 85 mars/libf/phymars/dustlift.F
D 85 mars/libf/phymars/meso_testphys1d.F
D 85 mars/libf/phymars/meso_dustlift.F
D 85 mars/libf/phymars/meso_newcondens.F
Now, this MESOSCALE precompilation flag can be used to lower
the number of meso_* routines when adaptations for mesoscale
applications are not very extended.
--> Three meso_* routines were deleted and changes are
now impacted under the MESOSCALE flag in the original GCM routines
--> Completely transparent for GCM compilation since it is devoid
of the -DMESOSCALE option
--> Very good for syncing because changes in dustlift, newcondens
will be directly available in the mesoscale model

M 84 mesoscale/LMD_MM_MARS/makemeso
Changed meso_testphys1d in testphys1d

M 84 mesoscale/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_pgf
M 84 mesoscale/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_mpifort
M 84 mesoscale/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_ifort
M 84 mesoscale/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_g95
M 84 mesoscale/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_mpi
Added the option -DMESOSCALE in these scripts

*
LMD_MM_MARS
* Various minor changes related to water cycle and plotting routines

* Also included the GW test case

*

A 0 mesoscale/LMDZ.MARS.new/myGCM/DEFS_JB/callphys.def.orig
M 84 mesoscale/NOTES.txt
D 84 mesoscale/LMD_MM_MARS/SRC/ARWpost/idl
M 84 mesoscale/LMD_MM_MARS/SRC/WRFV2/Registry/Registry.EM
M 84 mesoscale/LMD_MM_MARS/SIMU/gnome_launch.meso
M 85 mesoscale/PLOT/MINIMAL/map_latlon.pro
D 85 mesoscale/PLOT/SPEC/LES/getget.pro
M 85 mesoscale/PLOT/SPEC/MAP/map_uvt.pro
A + - mesoscale/PLOT/SPEC/getget.pro
A 0 mesoscale/PLOT/RESERVE/obsolete
A 0 mesoscale/TESTS/TESTGW.tar.gz
M 84 000-USERS

File size: 2.6 KB
Line 
1;;---------------------------------------
2;  REPORT
3;
4;  **** DO NOT MODIFY ****
5;
6;  set parameters in plot.def then type:
7;
8;  @report.idl
9;
10;;---------------------------------------
11
12
13field1='' & field2='' & winds=''
14backup_data='no' & already_data='no'   
15datafolder='./' & plotfolder='./'
16topo=0
17extract='no'
18
19textitle='plot'
20texcomments='plot'     
21
22SPAWN, '\rm user.idl'
23SPAWN, 'grep -v grep plot.def > user.idl'
24
25;; to avoid dumb and useless warnings from IDL
26space=0. & altitude=0. & lon=0. & lat=0.
27what_I_plot=0. & title_user='' & missing_value=0.
28
29@user.idl
30if (nam5 eq " interp_method = 0 ") then coord='model_level'
31if ((nam5 eq " interp_method = 1 ") and (tabnam(0) lt tabnam(1))) then coord='height'
32
33.compile call_arwpost
34if (extract eq 'yes') then call_arwpost, nam1, nam2, nam3, nam4, nam5, tabnam
35
36denom=plot+'_'+coord+'_'+field1
37if ((field2 ne '') and (topo eq 0)) then denom=denom+'_'+field2
38if (topo eq 1) then denom=denom+'_HGT'
39if (winds(0) ne '') then denom=denom+'_'+winds(0)+winds(1)
40
41if (already_data eq 'yes') then SPAWN, 'ln -sf  '+datafolder+'/'+coord+'.input.ctl input.ctl'
42if (already_data eq 'yes') then SPAWN, 'ln -sf  '+datafolder+'/'+coord+'.input.dat input.dat'
43
44SPAWN, '\rm param_plot.idl'
45SPAWN, 'grep grepALL plot.def > param_plot.idl'
46if ((plot eq 'meridional') or (plot eq 'zonal')) then SPAWN, 'grep grepSEC plot.def >> param_plot.idl'
47if (plot eq 'map') then SPAWN, 'grep grepMAP plot.def >> param_plot.idl'
48.compile map_latlon
49.compile section
50
51!p.charthick = 2.0
52!p.thick = 3.0
53!x.thick = 2.0
54!y.thick = 2.0
55
56for i=1,num do $
57        out_wrf, $
58        plot=plot, $
59        field1=field1, $
60        field2=field2, $
61        when=i, $
62        winds=winds, $
63        level=level,$
64        save_data=yeah,$        ;; data is loaded only once
65        topo=topo,$
66;        range=range,$
67        colors=colors, $
68        nlon=nlon, $
69        nlat=nlat, $
70        save_ps=denom+string(1000+i,'(I0)')
71
72SPAWN, 'touch report.comments'
73SPAWN, '\rm report.comments'
74SPAWN, 'echo '+textitle+' > report.comments'
75SPAWN, 'echo '+texcomments+' >> report.comments'
76SPAWN, 'rm -f '+denom+'_.ps'
77print, 'executing ... ','base '+denom+'????.ps < report.comments'
78SPAWN, 'base '+denom+'????.ps < report.comments'
79SPAWN, 'mv -f base.ps '+denom+'_.ps'
80
81SPAWN, 'mv -f ./'+denom+'????.ps '+plotfolder+'/'
82SPAWN, 'mv -f ./'+denom+'_.ps '+plotfolder+'/'
83if (backup_data eq 'yes') then SPAWN, 'cp -f namelist.ARWpost '+datafolder+'/'+coord+'.namelist.ARWpost'
84if (backup_data eq 'yes') then SPAWN, 'cp -f input.ctl '+datafolder+'/'+coord+'.input.ctl'
85if (backup_data eq 'yes') then SPAWN, 'cp -f input.dat '+datafolder+'/'+coord+'.input.dat'
86
87SPAWN, 'cp -f plot.def '+plotfolder+'/'+denom+'.def'
Note: See TracBrowser for help on using the repository browser.