source: trunk/MESOSCALE/PLOT/ARWpost/gw.def_ref @ 205

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