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