source: trunk/MESOSCALE_DEV/PLOT/ARWpost/gw.def @ 207

Last change on this file since 207 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: 7.1 KB
Line 
1;;---------------------------------------
2;
3;  fill here plot parameters then type:
4;
5;  @trace.idl
6;  -or- @report.idl
7;  -or- @movie.idl
8;
9;  this file will be saved !
10;
11;;---------------------------------------
12
13
14;-------------------------------------;
15; DATA LOCATION and PLOT DESTINATION  ;
16; default is ./                       ;
17;-------------------------------------;
18datafolder='/d5/aslmd/WRF_Mars/EN_COURS/OM40_ls170/'   
19plotfolder=datafolder
20;; for web anim and tex report (default is 'plot')
21textitle='OM40_month72'
22texcomments='sol3'
23
24;;; load/save ARWpost-generated text files ? default is no
25;backup_data='yes'
26;already_data='yes'
27
28;-------------------------------
29;-------------------------------
30; namelist.ARWPOST parameters
31;-------------------------------
32;-------------------------------
33
34nam1=" fields = 'tk,HGT,W' "           
35;; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
36;; CHANGE HERE FIELDS TO BE EXTRACTED
37;; ex: tk,HGT,PSFC,U,V,W,T,tk,ICETOT,RAVE,QH2O_ICE,QH2O,PTOT,TSURF
38
39nam2=" start_date = '2024-06-37_20:00:10' "
40nam3=" end_date   = '2024-06-37_23:00:10' "
41;; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
42;; CHANGE HERE START/END DATE
43
44nam4=" interval_seconds = 11100 "               
45;; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
46;; SET INTERVAL   2h: 7400s, 4h: 14800s, 6h: 22200s, 12h: 44400s       
47
48nam5=" interp_method = 1 "     
49;nam5=" interp_method = 0 "
50;; ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^             
51;; SET VERT. COORD. 0: eta levels, 1: height (inc) or pressure (dec)
52
53tabnam=[-5.,40.,0.5]   ;[2.,30.,0.3]   
54;; ^ ^ ^ ^ ^ ^ ^ ^ ^
55;; SET HEIGHT/PRESSURE LEVELS WITH [first alt, last alt, step]
56
57;nest='d03' 
58;; ^ ^ ^ ^
59;; SET NEST
60
61
62
63;----------------------------------------------------
64;----------------------------------------------------
65; what do you want to plot ?
66; THIS MUST BE SET ACCORDINGLY TO PREVIOUS SECTION
67;   - do not plot a field not extracted
68;   - do not ask for more plot than data available
69;----------------------------------------------------
70;----------------------------------------------------
71
72num=2                   ;; how many plots ?
73
74
75field1='tk'             ;; FILLED
76field2='tk'             ;; CONTOURED
77;winds=['U','V']        ;; VECTORS
78;topo=1
79
80
81;;; VORTICITY
82;field1='HGT' & winds=['U','V'] & topo=1
83
84
85;----------------------------------
86;----------------------------------
87; what kind of plot do you want ?
88;----------------------------------
89;----------------------------------
90
91;; first is 1
92;plot='map' & level=15         
93plot='meridional' & nlon=30
94;plot='zonal' & nlat=66
95
96
97;---------;
98; special ;
99;---------;
100;;; SEA-LEVEL PRESSURE
101;field1='PSFC' & winds=['tk','HGT'] & topo=1 & plot='map' & level=7
102;;; HORIZONTAL WIND VELOCITY
103;field1='U' & winds=['U','V'] & topo=1 & plot='map' & level=9
104
105;;useidlfile='true' ;; if you are just changing what is below...
106;;extract='no' ;; SPECIFIC FOR ATLAS
107
108;----------------------------
109;----------------------------
110; change plot settings
111;----------------------------
112;----------------------------
113
114;; uncomment to modify default plot settings
115;; | | | | | | | | | | | | | | | | | | | | |
116;; v v v v v v v v v v v v v v v v v v v v v
117
118;;;
119;;; PLOT TITLES
120;;;
121;subtitle_user='-- LMD Martian Mesoscale Model --'            ;; grepALL
122;title_user='Vertical Wind (!Nm!N.s!U-1!N)'     ;; grepALL
123;title_axis=['x coord (km)','y coord (km)']     ;; grepALL
124
125;;;
126;;; COLOR TABLES
127;;;
128;flag_cb='false'                ;; grepALL
129;format='(I0)'                  ;; grepALL
130colors=64                       ;; grepALL
131pal=39                          ;; grepALL
132;; GOOD COLOR TABLES: 4, 18, 22, 16, 37, 33, 39
133
134;;;
135;;; FILL LIMITS
136;;;
137minfield_init=150.      ;; grepALL
138maxfield_init=250.      ;; grepALL
139
140lim_max = maxfield_init & w=where((what_I_plot ge lim_max) and (what_I_plot le 1e9)) & if (w[0] ne -1) then what_I_plot[w]=lim_max ;; grepALL
141lim_min = minfield_init & w=where(what_I_plot le lim_min) & if (w[0] ne -1) then what_I_plot[w]=lim_min ;; grepALL
142;lim_blank = 2. & w=where(abs(what_I_plot) le lim_blank) & if (w[0] ne -1) then what_I_plot[w]=missing_value ;; grepALL
143
144;;;
145;;; WINDS
146;;;
147;windex=40.     ;; grepALL
148;stride=1.      ;; grepALL
149
150;;;
151;;; CONTOUR
152;;;
153;overcontour=overcontour-mean(overcontour)      ;; grepALL
154lev=130. + 10.*findgen(20) ;; grepALL
155
156;;;
157;;; AXIS
158;;;
159;isotropic='false'       ;; grepALL
160intervalx=5.            ;; grepALL
161intervaly=5.             ;; grepALL
162
163;;;
164;;; MAP LIMITS
165;;;
166;windowx=[-150.,-120.]        ;; grepMAP
167;windowy=[5.,35.]       ;; grepMAP
168
169
170;;;
171;;; VERTICAL SECTION LIMITS
172;;;
173minalt=-5.              ;; grepSEC
174maxalt=40.              ;; grepSEC
175minspace=0.0            ;; grepSEC
176maxspace=35.0           ;; grepSEC
177
178;;;
179;;; METRIC UNITS FOR VERTICAL SECTION
180;;;
181;factor=10.        ;; grepSEC
182;space=space*60. & spacekm='true'       ;; grepSEC
183;minspace=minspace*60./factor           ;; grepSEC
184;maxspace=maxspace*60./factor           ;; grepSEC
185;intervalx=round(intervalx*60./factor)   ;; grepSEC
186
187
188;;;
189;;; TRICKS
190;;;
191
192;; pour tracer juste les vecteurs sur un fond uni ou vide
193;pal=0                                          ;; 1/4 grepMAP
194;what_I_plot(*,*)=what_I_plot(*,*)*0.+0.2       ;; 2/4 grepMAP
195;what_I_plot(0,0)=0.                            ;; 3/4 grepMAP
196;flag_cb='false'                                        ;; 4/4 grepMAP
197
198;;; truc pour tracer juste les contours et une zone grisee de topo
199;pal=0                                           ;; 1/9 grepALL
200;w=where(abs(what_I_plot) lt missing_value)     ;; 2/9 grepALL
201;what_I_plot[w]=0.                              ;; 3/9 grepALL
202;w=where(abs(what_I_plot) gt missing_value)     ;; 4/9 grepALL
203;what_I_plot[w]=0.75                            ;; 5/9 grepALL
204;w=where(what_I_plot eq 0.)                     ;; 6/9 grepALL
205;what_I_plot[w]=missing_value                           ;; 7/9 grepALL
206;what_I_plot(0,0)=1. & what_I_plot(1,0)=0.      ;; 8/9 grepALL
207;flag_cb='false'                                ;; 9/9 grepALL
208
209
210
211;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
212;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
213;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
214;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
216
217
218;;; POUBELLE
219
220
221;; DEFAULT: ARWPOST.EXE ALREADY RUN (i.e. input.ctl and input.dat already there)
222;; UNCOMMENT FOLLOWING LINE TO EXTRACT FILES
223;extract='yes'   ;;   EXECUTE ARWPOST.EXE
224                ;;   WITH THE FOLLOWING PARAMETERS :
225
226
227;@map_sea_level.idl
228;@map_ertel_vorticity.idl
229;field1='HGT'
230;field2='U'
231;winds=['U','V']
232;topo=1
233
234
235;winds=['U','V'] & field1='SWDOWN' & topo=1
236;winds=['V','W'] & field1='V'
237;field1='ICETOT' & topo=1
238;field1='RAVE' & topo=1
239;field1='QH2O_ICE' & topo=1
240;field1='QH2O' & winds=['U','W']
241;field1='QH2O' & field2='W'
242;field1='QH2O' & winds=['U','W']
243;field1='QH2O_ICE' & field2='tk'
244;field1='tk' & topo=1
245;field1='V' & field2='V'
246;field1='W' & winds=['V','W']
247;field1='tk' & winds=['V','W']
248;field1='tk'
249;field1='W' & topo=1
250;field1='TSK' & topo=1
251;field1='U' & winds=['U','V'] & topo=1
252;winds=['V','W'] & field1='V'
253;winds=['V','W'] & field1='W'
254;field1='U' & winds=['U','V'] & topo=1
255;field1='HGT' & field2='HGT'
256;field1='U' & winds=['U','V'] ;& topo=1
257;field1='PSFC' & winds=['U','V'] & field2='W'
258;field1='W' & winds=['U','V'] & field2='PSFC'
259;field1='TSURF' & topo=1 ;& winds=['U','V']
260;field1='T' & topo=1 & winds=['U','V']
261;field1='PSFC' & winds=['tk','HGT'] & topo=1
262;field1='tk' & topo=1
263;field1='tk' & winds=['U','V'] & topo=1
264;field1='T' & field2='T'
265;field1='T' & winds=['U','V']
266;field1='HGT' & winds=['HGT','HGT']
267
Note: See TracBrowser for help on using the repository browser.