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