1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <meta name="generator" content= |
---|
5 | "HTML Tidy for Mac OS X (vers 1 September 2005), see www.w3.org"> |
---|
6 | <meta http-equiv="Content-Type" content= |
---|
7 | "text/html; charset=us-ascii"> |
---|
8 | <title>Mini Guide for Basic Commands in the XXX Program</title> |
---|
9 | <link rel="stylesheet" href="style.css" type="text/css"> |
---|
10 | <link rel="stylesheet" href="saxo.css" type="text/css"> |
---|
11 | <meta name="generator" content="DocBook XSL Stylesheets V1.70.1"> |
---|
12 | <meta name="keywords" content="idl, SAXO, xxx"> |
---|
13 | </head> |
---|
14 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" |
---|
15 | alink="#0000FF"> |
---|
16 | <div class="article" lang="en"> |
---|
17 | <div class="titlepage"> |
---|
18 | <div> |
---|
19 | <div> |
---|
20 | <h2 class="title"><a name="d0e2" id="d0e2"></a> Mini Guide for |
---|
21 | Basic Commands in the XXX Program</h2> |
---|
22 | </div> |
---|
23 | <div> |
---|
24 | <div class="authorgroup"> |
---|
25 | <div class="author"> |
---|
26 | <h3 class="author"><span class="firstname">Sébastien</span> |
---|
27 | <span class="surname">Masson</span> <code class= |
---|
28 | "email"><<a href="mailto:Sebastien.Masson_at_locean-ipsl.upmc.fr">Sebastien.Masson_at_locean-ipsl.upmc.fr</a>></code></h3> |
---|
29 | </div> |
---|
30 | <div class="author"> |
---|
31 | <h3 class="author"><span class="firstname">Albert</span> |
---|
32 | <span class="surname">Fisher</span></h3> |
---|
33 | </div> |
---|
34 | <div class="author"> |
---|
35 | <h3 class="author"><span class="firstname">Françoise</span> |
---|
36 | <span class="surname">Pinsard</span> <code class= |
---|
37 | "email"><<a href= |
---|
38 | "mailto:Francoise.Pinsard_at_locean-ipsl.upmc.fr">Francoise.Pinsard_at_locean-ipsl.upmc.fr</a>></code></h3> |
---|
39 | </div> |
---|
40 | <div class="author"> |
---|
41 | <h3 class="author"><span class="firstname">Steve</span> |
---|
42 | <span class="surname">Navarro</span></h3> |
---|
43 | </div> |
---|
44 | </div> |
---|
45 | </div> |
---|
46 | <div><span class="pubdate">svn Id of xml source file : $Id: |
---|
47 | mini_notice.xml 176 2006-09-13 14:17:41Z smasson $<br> |
---|
48 | <br></span></div> |
---|
49 | <div> |
---|
50 | <div class="revhistory"> |
---|
51 | <table border="1" width="100%" summary="Revision history"> |
---|
52 | <tr> |
---|
53 | <th align="left" valign="top" colspan="2"><b>Revision |
---|
54 | History</b></th> |
---|
55 | </tr> |
---|
56 | <tr> |
---|
57 | <td align="left">Revision 0.0</td> |
---|
58 | <td align="left">May 29, 2000</td> |
---|
59 | </tr> |
---|
60 | <tr> |
---|
61 | <td align="left" colspan="2">French release by Sébastien |
---|
62 | Masson</td> |
---|
63 | </tr> |
---|
64 | <tr> |
---|
65 | <td align="left">Revision 0.1</td> |
---|
66 | <td align="left">July, 2002</td> |
---|
67 | </tr> |
---|
68 | <tr> |
---|
69 | <td align="left" colspan="2">Translation by Albert Fisher</td> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <td align="left">Revision 0.2</td> |
---|
73 | <td align="left">July 20, 2006</td> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td align="left" colspan="2">HTML to XML/Docbook migration by |
---|
77 | Françoise Pinsard</td> |
---|
78 | </tr> |
---|
79 | <tr> |
---|
80 | <td align="left">Revision 1.0</td> |
---|
81 | <td align="left">August, 2006</td> |
---|
82 | </tr> |
---|
83 | <tr> |
---|
84 | <td align="left" colspan="2">Major update by Steve Navarro</td> |
---|
85 | </tr> |
---|
86 | <tr> |
---|
87 | <td align="left">Revision 1.1</td> |
---|
88 | <td align="left">September, 2006</td> |
---|
89 | </tr> |
---|
90 | <tr> |
---|
91 | <td align="left" colspan="2">Review by Sébastien Masson</td> |
---|
92 | </tr> |
---|
93 | </table> |
---|
94 | </div> |
---|
95 | </div> |
---|
96 | </div> |
---|
97 | <hr></div> |
---|
98 | <div class="toc"> |
---|
99 | <p><b>Table of Contents</b></p> |
---|
100 | <dl> |
---|
101 | <dt><span class="sect1"><a href="#launchxxx">1. Launching |
---|
102 | XXX</a></span></dt> |
---|
103 | <dd> |
---|
104 | <dl> |
---|
105 | <dt><span class="sect2"><a href="#launch_xxx_1">1.1. <code class= |
---|
106 | "prompt">idl></code> <strong class= |
---|
107 | "userinput"><code><span><strong class= |
---|
108 | "command">xxx</strong></span></code></strong></a></span></dt> |
---|
109 | <dt><span class="sect2"><a href="#launch_xxx_2">1.2. <code class= |
---|
110 | "prompt">idl></code> <strong class= |
---|
111 | "userinput"><code><span><strong class= |
---|
112 | "command">xxx</strong></span>, <em class= |
---|
113 | "parameter"><code>/separate</code></em></code></strong></a></span></dt> |
---|
114 | <dt><span class="sect2"><a href="#launch_xxx_3">1.3. <code class= |
---|
115 | "prompt">idl></code> <strong class= |
---|
116 | "userinput"><code><span><strong class= |
---|
117 | "command">xxx</strong></span>, <em class="parameter"><code>restore |
---|
118 | = 'file.dat'</code></em></code></strong></a></span></dt> |
---|
119 | <dt><span class="sect2"><a href="#launch_xxx_4">1.4. <code class= |
---|
120 | "prompt">idl></code> <strong class= |
---|
121 | "userinput"><code><span><strong class= |
---|
122 | "command">xxx</strong></span>, <em class= |
---|
123 | "parameter"><code>'file.nc'</code></em></code></strong></a></span></dt> |
---|
124 | <dt><span class="sect2"><a href="#launch_xxx_5">1.5. <code class= |
---|
125 | "prompt">idl></code> <strong class= |
---|
126 | "userinput"><code><span><strong class= |
---|
127 | "command">xxx</strong></span>, <em class= |
---|
128 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
129 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
130 | "parameter"><code>keywd2 = |
---|
131 | ...</code></em></code></strong></a></span></dt> |
---|
132 | <dt><span class="sect2"><a href="#launch_xxx_6">1.6. <code class= |
---|
133 | "prompt">idl></code> <strong class= |
---|
134 | "userinput"><code><span><strong class= |
---|
135 | "command">xxx</strong></span>, <em class= |
---|
136 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
137 | "parameter"><code>'initgrid'</code></em></code></strong></a></span></dt> |
---|
138 | <dt><span class="sect2"><a href="#launch_xxx_7">1.7. <code class= |
---|
139 | "prompt">idl></code> <strong class= |
---|
140 | "userinput"><code><span><strong class= |
---|
141 | "command">xxx</strong></span>, <em class= |
---|
142 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
143 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
144 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
145 | "parameter"><code>keywd2 = |
---|
146 | ...</code></em></code></strong></a></span></dt> |
---|
147 | <dt><span class="sect2"><a href="#launch_xxx_8">1.8. <code class= |
---|
148 | "prompt">idl></code> <strong class= |
---|
149 | "userinput"><code><span><strong class= |
---|
150 | "command">xxx</strong></span>, <em class= |
---|
151 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
152 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
153 | "parameter"><code>'arg1, arg2, |
---|
154 | ...'</code></em></code></strong></a></span></dt> |
---|
155 | </dl> |
---|
156 | </dd> |
---|
157 | <dt><span class="sect1"><a href="#wigdets">2. Description of XXX |
---|
158 | window</a></span></dt> |
---|
159 | <dd> |
---|
160 | <dl> |
---|
161 | <dt><span class="sect2"><a href="#plottypetxt">2.1. Plot type |
---|
162 | list</a></span></dt> |
---|
163 | <dt><span class="sect2"><a href="#menutxt">2.2. The menu bar made |
---|
164 | up of 3 submenus</a></span></dt> |
---|
165 | <dt><span class="sect2"><a href="#oktxt">2.3. OK |
---|
166 | button</a></span></dt> |
---|
167 | <dt><span class="sect2"><a href="#pagelayouttxt">2.4. Page |
---|
168 | Layout</a></span></dt> |
---|
169 | <dt><span class="sect2"><a href="#variableslisttxt">2.5. |
---|
170 | <span class="guimenuitem">List of variables</span></a></span></dt> |
---|
171 | <dt><span class="sect2"><a href="#fileslisttxt">2.6. <span class= |
---|
172 | "guimenuitem">List of open files</span></a></span></dt> |
---|
173 | <dt><span class="sect2"><a href="#commandtexttxt">2.7. <span class= |
---|
174 | "guimenuitem">Command text</span></a></span></dt> |
---|
175 | <dt><span class="sect2"><a href="#calendartxt">2.8. |
---|
176 | Calendar</a></span></dt> |
---|
177 | <dt><span class="sect2"><a href="#domdeftxt">2.9. Define the |
---|
178 | domain</a></span></dt> |
---|
179 | <dt><span class="sect2"><a href="#specificationstxt">2.10. specify |
---|
180 | your plot</a></span></dt> |
---|
181 | </dl> |
---|
182 | </dd> |
---|
183 | <dt><span class="sect1"><a href="#mouseactions">3. Mouse |
---|
184 | Actions</a></span></dt> |
---|
185 | <dd> |
---|
186 | <dl> |
---|
187 | <dt><span class="sect2"><a href="#mouse">3.1. In the graphics |
---|
188 | window on a horizontal plot</a></span></dt> |
---|
189 | <dt><span class="sect2"><a href="#multipleplots">3.2. Create |
---|
190 | multiple plots on the same sheet and make them |
---|
191 | interact</a></span></dt> |
---|
192 | </dl> |
---|
193 | </dd> |
---|
194 | <dt><span class="sect1"><a href="#crash">4. What should I do when |
---|
195 | it breakdown</a></span></dt> |
---|
196 | </dl> |
---|
197 | </div> |
---|
198 | <div class="sect1" lang="en"> |
---|
199 | <div class="titlepage"> |
---|
200 | <div> |
---|
201 | <div> |
---|
202 | <h2 class="title" style="clear: both"><a name="launchxxx" id= |
---|
203 | "launchxxx"></a>1. Launching XXX</h2> |
---|
204 | </div> |
---|
205 | </div> |
---|
206 | </div> |
---|
207 | <p>There is several ways to launch XXX which we will detail in the |
---|
208 | next sections:</p> |
---|
209 | <pre class="screen"> |
---|
210 | <code class="prompt">idl></code> <strong class= |
---|
211 | "userinput"><code><span><strong class= |
---|
212 | "command">xxx</strong></span></code></strong> |
---|
213 | <code class="prompt">idl></code> <strong class= |
---|
214 | "userinput"><code><span><strong class= |
---|
215 | "command">xxx</strong></span>, <em class= |
---|
216 | "parameter"><code>/separate</code></em></code></strong> |
---|
217 | <code class="prompt">idl></code> <strong class= |
---|
218 | "userinput"><code><span><strong class= |
---|
219 | "command">xxx</strong></span>, <em class= |
---|
220 | "parameter"><code>restore = 'file.dat'</code></em></code></strong> |
---|
221 | <code class="prompt">idl></code> <strong class= |
---|
222 | "userinput"><code><span><strong class= |
---|
223 | "command">xxx</strong></span>, <em class= |
---|
224 | "parameter"><code>'file.nc'</code></em></code></strong> |
---|
225 | <code class="prompt">idl></code> <strong class= |
---|
226 | "userinput"><code><span><strong class= |
---|
227 | "command">xxx</strong></span>, <em class= |
---|
228 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
229 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
230 | "parameter"><code>keywd2 = ...</code></em></code></strong> |
---|
231 | <code class="prompt">idl></code> <strong class= |
---|
232 | "userinput"><code><span><strong class= |
---|
233 | "command">xxx</strong></span>, <em class= |
---|
234 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
235 | "parameter"><code>'initgrid'</code></em></code></strong> |
---|
236 | <code class="prompt">idl></code> <strong class= |
---|
237 | "userinput"><code><span><strong class= |
---|
238 | "command">xxx</strong></span>, <em class= |
---|
239 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
240 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
241 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
242 | "parameter"><code>keywd2 = ...</code></em></code></strong> |
---|
243 | <code class="prompt">idl></code> <strong class= |
---|
244 | "userinput"><code><span><strong class= |
---|
245 | "command">xxx</strong></span>, <em class= |
---|
246 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
247 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
248 | "parameter"><code>'arg1, arg2, ...'</code></em></code></strong> |
---|
249 | |
---|
250 | </pre> |
---|
251 | <div class="sect2" lang="en"> |
---|
252 | <div class="titlepage"> |
---|
253 | <div> |
---|
254 | <div> |
---|
255 | <h3 class="title"><a name="launch_xxx_1" id= |
---|
256 | "launch_xxx_1"></a>1.1. <code class="prompt">idl></code> |
---|
257 | <strong class="userinput"><code><span><strong class= |
---|
258 | "command">xxx</strong></span></code></strong></h3> |
---|
259 | </div> |
---|
260 | </div> |
---|
261 | </div> |
---|
262 | <p>A window will open with 3 parts to consider.</p> |
---|
263 | <div class="figure"><a name="fig_xxx_0101" id="fig_xxx_0101"></a> |
---|
264 | <p class="title"><b>Figure 1. Window xxx 1</b></p> |
---|
265 | <div class="figure-contents"> |
---|
266 | <div class="mediaobjectco"><img border="0" usemap="d0e204" src= |
---|
267 | "figpng/xxx_0101.png?format=raw" alt="Window xxx 1"><map name= |
---|
268 | "d0e204" id="d0e204"> |
---|
269 | <area shape="rect" coords="26,256,485,214"> |
---|
270 | <area shape="rect" coords="78,208,433,157"> |
---|
271 | <area shape="rect" coords="3,150,518,31"></map> |
---|
272 | <div class="calloutlist"> |
---|
273 | <table border="0" summary="Callout list"> |
---|
274 | <tr> |
---|
275 | <td width="5%" valign="top" align="left"><img src= |
---|
276 | "images/callouts/1.png?format=raw" alt="1" border="0"></td> |
---|
277 | <td valign="top" align="left"> |
---|
278 | <p>Data file name</p> |
---|
279 | </td> |
---|
280 | </tr> |
---|
281 | <tr> |
---|
282 | <td width="5%" valign="top" align="left"><img src= |
---|
283 | "images/callouts/2.png?format=raw" alt="2" border="0"></td> |
---|
284 | <td valign="top" align="left"> |
---|
285 | <p>Grid initialization method</p> |
---|
286 | </td> |
---|
287 | </tr> |
---|
288 | <tr> |
---|
289 | <td width="5%" valign="top" align="left"><img src= |
---|
290 | "images/callouts/3.png?format=raw" alt="3" border="0"></td> |
---|
291 | <td valign="top" align="left"> |
---|
292 | <p>Grid initialization parameters</p> |
---|
293 | </td> |
---|
294 | </tr> |
---|
295 | </table> |
---|
296 | </div> |
---|
297 | </div> |
---|
298 | </div> |
---|
299 | </div> |
---|
300 | <p><br class="figure-break"></p> |
---|
301 | <div class="sect3" lang="en"> |
---|
302 | <div class="titlepage"> |
---|
303 | <div> |
---|
304 | <div> |
---|
305 | <h4 class="title"><a name="datafiletxt" id= |
---|
306 | "datafiletxt"></a>1.1.1. Data file name</h4> |
---|
307 | </div> |
---|
308 | </div> |
---|
309 | </div> |
---|
310 | <p>The name of the data file. It can be typed directly in the |
---|
311 | window provided, or selected with the help of the <span class= |
---|
312 | "guibutton">browse</span> button.</p> |
---|
313 | </div> |
---|
314 | <div class="sect3" lang="en"> |
---|
315 | <div class="titlepage"> |
---|
316 | <div> |
---|
317 | <div> |
---|
318 | <h4 class="title"><a name="initmethodtxt" id= |
---|
319 | "initmethodtxt"></a>1.1.2. Grid initialization method</h4> |
---|
320 | </div> |
---|
321 | </div> |
---|
322 | </div> |
---|
323 | <p>For visualising grilled data, you need to <a href= |
---|
324 | "firststeps.html?format=raw#load_grid" target="_top">define the |
---|
325 | grid</a> on which are located the data. By default, "automatic grid |
---|
326 | construction with initncdf.pro" is checked. This means that the |
---|
327 | grid will be defined by using the informations contained in the |
---|
328 | data file (through the IDL prodecure <span><strong class= |
---|
329 | "command">initncdf</strong></span>) without needing any other |
---|
330 | auxillary file. If you checked "grid construction with other IDL |
---|
331 | batch or procedure", this means that you don't want to use the |
---|
332 | default <span><strong class="command">initncdf</strong></span> |
---|
333 | procedure to define the grid and you will provide your own IDL |
---|
334 | procedure or the so-called IDL batch file (a file which is called |
---|
335 | by using @, see IDL documentation).</p> |
---|
336 | </div> |
---|
337 | <div class="sect3" lang="en"> |
---|
338 | <div class="titlepage"> |
---|
339 | <div> |
---|
340 | <div> |
---|
341 | <h4 class="title"><a name="initprogramtxt" id= |
---|
342 | "initprogramtxt"></a>1.1.3. Grid initialization |
---|
343 | parameters</h4> |
---|
344 | </div> |
---|
345 | </div> |
---|
346 | </div> |
---|
347 | <p>This third part allows you to specify the name, the argument and |
---|
348 | the keywords of the routine you want to use to initialize the grid. |
---|
349 | By default the name of the procedure is <span><strong class= |
---|
350 | "command">initncdf</strong></span>, its argument will be |
---|
351 | automatically defined so you cannot change them. If you If you |
---|
352 | checked "grid construction with other IDL batch or procedure", you |
---|
353 | have to select the name of the IDL procedure or batch file and its |
---|
354 | suitable arguments and keywords. Note that if you select an IDL |
---|
355 | batch file you cannot give any parameter or keyword.</p> |
---|
356 | <div class="figure"><a name="fig_xxx_0102" id="fig_xxx_0102"></a> |
---|
357 | <p class="title"><b>Figure 2. Window xxx 1</b></p> |
---|
358 | <div class="figure-contents"> |
---|
359 | <div class="mediaobjectco"><img border="0" usemap="d0e258" src= |
---|
360 | "figpng/xxx_0102.png?format=raw" alt="Window xxx 1"><map name= |
---|
361 | "d0e258" id="d0e258"></map></div> |
---|
362 | </div> |
---|
363 | </div> |
---|
364 | <p><br class="figure-break"></p> |
---|
365 | <p>Once these two lines have been completed, click on <span class= |
---|
366 | "guibutton">let's go</span>.</p> |
---|
367 | <p>For example, we choose the IDL batch file "tst_initlev". Compare |
---|
368 | the result with "automatic grid construction with initncdf.pro" |
---|
369 | checked. Cf <a href="#fig_xxx_0404" title= |
---|
370 | "Figure 18. temperature of the ocean at depth 125 meters without proper land/sea mask"> |
---|
371 | Figure 18, “temperature of the ocean at depth 125 meters |
---|
372 | without proper land/sea mask”</a></p> |
---|
373 | <div class="figure"><a name="fig_xxx_0103" id="fig_xxx_0103"></a> |
---|
374 | <p class="title"><b>Figure 3. Oceania at 125 metters of |
---|
375 | depth with proper grid initialization</b></p> |
---|
376 | <div class="figure-contents"><img src= |
---|
377 | "figpng/xxx_0103.png?format=raw" alt= |
---|
378 | "Oceania at 125 metters of depth with proper grid initialization"></div> |
---|
379 | </div> |
---|
380 | <p><br class="figure-break"></p> |
---|
381 | </div> |
---|
382 | </div> |
---|
383 | <div class="sect2" lang="en"> |
---|
384 | <div class="titlepage"> |
---|
385 | <div> |
---|
386 | <div> |
---|
387 | <h3 class="title"><a name="launch_xxx_2" id= |
---|
388 | "launch_xxx_2"></a>1.2. <code class="prompt">idl></code> |
---|
389 | <strong class="userinput"><code><span><strong class= |
---|
390 | "command">xxx</strong></span>, <em class= |
---|
391 | "parameter"><code>/separate</code></em></code></strong></h3> |
---|
392 | </div> |
---|
393 | </div> |
---|
394 | </div> |
---|
395 | <p>This is the same as the simple <a href="#launch_xxx_1" title= |
---|
396 | "1.1. idl> xxx"><code class="prompt">idl></code> |
---|
397 | <strong class="userinput"><code><span><strong class= |
---|
398 | "command">xxx</strong></span></code></strong></a> except that once |
---|
399 | the xxx window open, you will have 2 separate windows (command and |
---|
400 | plotting window) instead of one.</p> |
---|
401 | </div> |
---|
402 | <div class="sect2" lang="en"> |
---|
403 | <div class="titlepage"> |
---|
404 | <div> |
---|
405 | <div> |
---|
406 | <h3 class="title"><a name="launch_xxx_3" id= |
---|
407 | "launch_xxx_3"></a>1.3. <code class="prompt">idl></code> |
---|
408 | <strong class="userinput"><code><span><strong class= |
---|
409 | "command">xxx</strong></span>, <em class="parameter"><code>restore |
---|
410 | = 'file.dat'</code></em></code></strong></h3> |
---|
411 | </div> |
---|
412 | </div> |
---|
413 | </div> |
---|
414 | <p>In that case xxx window will open directly in the same state as |
---|
415 | it was when the file "file.dat" was created. see <a href= |
---|
416 | "#restore">+++++++</a></p> |
---|
417 | </div> |
---|
418 | <div class="sect2" lang="en"> |
---|
419 | <div class="titlepage"> |
---|
420 | <div> |
---|
421 | <div> |
---|
422 | <h3 class="title"><a name="launch_xxx_4" id= |
---|
423 | "launch_xxx_4"></a>1.4. <code class="prompt">idl></code> |
---|
424 | <strong class="userinput"><code><span><strong class= |
---|
425 | "command">xxx</strong></span>, <em class= |
---|
426 | "parameter"><code>'file.nc'</code></em></code></strong></h3> |
---|
427 | </div> |
---|
428 | </div> |
---|
429 | </div> |
---|
430 | <p>In this case, the xxx window directly open the data file |
---|
431 | 'file.nc' and build the grid automatically with the IDL procedure |
---|
432 | <span><strong class="command">initncdf</strong></span>. For |
---|
433 | example:</p> |
---|
434 | <pre class="screen"> |
---|
435 | <code class="prompt">idl></code> <strong class= |
---|
436 | "userinput"><code><span><strong class= |
---|
437 | "command">xxx</strong></span>, <em class= |
---|
438 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_1x1.nc'</code></em></code></strong> |
---|
439 | |
---|
440 | </pre></div> |
---|
441 | <div class="sect2" lang="en"> |
---|
442 | <div class="titlepage"> |
---|
443 | <div> |
---|
444 | <div> |
---|
445 | <h3 class="title"><a name="launch_xxx_5" id= |
---|
446 | "launch_xxx_5"></a>1.5. <code class="prompt">idl></code> |
---|
447 | <strong class="userinput"><code><span><strong class= |
---|
448 | "command">xxx</strong></span>, <em class= |
---|
449 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
450 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
451 | "parameter"><code>keywd2 = ...</code></em></code></strong></h3> |
---|
452 | </div> |
---|
453 | </div> |
---|
454 | </div> |
---|
455 | <p>In this case, the xxx window directly open the data file |
---|
456 | 'file.nc', build the grid automatically with the IDL procedure |
---|
457 | <span><strong class="command">initncdf</strong></span> and use the |
---|
458 | keywords <strong class="userinput"><code><em class= |
---|
459 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
460 | "parameter"><code>keywd2 = ...</code></em></code></strong> in the |
---|
461 | call of <span><strong class="command">initncdf</strong></span>. For |
---|
462 | example:</p> |
---|
463 | <pre class="screen"> |
---|
464 | <code class="prompt">idl></code> <strong class= |
---|
465 | "userinput"><code><span><strong class= |
---|
466 | "command">xxx</strong></span>, <em class= |
---|
467 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_1x1.nc'</code></em>, <em class="parameter"><code>useasmask = 'votemper'</code></em>, <em class="parameter"><code>missing_value = 31.0720</code></em></code></strong> |
---|
468 | |
---|
469 | </pre></div> |
---|
470 | <div class="sect2" lang="en"> |
---|
471 | <div class="titlepage"> |
---|
472 | <div> |
---|
473 | <div> |
---|
474 | <h3 class="title"><a name="launch_xxx_6" id= |
---|
475 | "launch_xxx_6"></a>1.6. <code class="prompt">idl></code> |
---|
476 | <strong class="userinput"><code><span><strong class= |
---|
477 | "command">xxx</strong></span>, <em class= |
---|
478 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
479 | "parameter"><code>'initgrid'</code></em></code></strong></h3> |
---|
480 | </div> |
---|
481 | </div> |
---|
482 | </div> |
---|
483 | <p>In this case, the xxx window directly open the data file |
---|
484 | 'file.nc' and build the grid directly with the IDL procedure or |
---|
485 | batch file <span><strong class= |
---|
486 | "command">initgrid</strong></span></p> |
---|
487 | <pre class="screen"> |
---|
488 | <code class="prompt">idl></code> <strong class= |
---|
489 | "userinput"><code><span><strong class= |
---|
490 | "command">xxx</strong></span>, <em class= |
---|
491 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc'</code></em>, <em class="parameter"><code>'tst_initorca2'</code></em></code></strong> |
---|
492 | |
---|
493 | </pre></div> |
---|
494 | <div class="sect2" lang="en"> |
---|
495 | <div class="titlepage"> |
---|
496 | <div> |
---|
497 | <div> |
---|
498 | <h3 class="title"><a name="launch_xxx_7" id= |
---|
499 | "launch_xxx_7"></a>1.7. <code class="prompt">idl></code> |
---|
500 | <strong class="userinput"><code><span><strong class= |
---|
501 | "command">xxx</strong></span>, <em class= |
---|
502 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
503 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
504 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
505 | "parameter"><code>keywd2 = ...</code></em></code></strong></h3> |
---|
506 | </div> |
---|
507 | </div> |
---|
508 | </div> |
---|
509 | <p>In this case, the xxx window directly open the data file |
---|
510 | 'file.nc', build the grid directly with the IDL procedure |
---|
511 | <span><strong class="command">initgrid</strong></span> and use the |
---|
512 | keywords <strong class="userinput"><code><em class= |
---|
513 | "parameter"><code>keywd1 = ...</code></em>, <em class= |
---|
514 | "parameter"><code>keywd2 = ...</code></em></code></strong> in the |
---|
515 | call of <span><strong class="command">initgrid</strong></span>.</p> |
---|
516 | </div> |
---|
517 | <div class="sect2" lang="en"> |
---|
518 | <div class="titlepage"> |
---|
519 | <div> |
---|
520 | <div> |
---|
521 | <h3 class="title"><a name="launch_xxx_8" id= |
---|
522 | "launch_xxx_8"></a>1.8. <code class="prompt">idl></code> |
---|
523 | <strong class="userinput"><code><span><strong class= |
---|
524 | "command">xxx</strong></span>, <em class= |
---|
525 | "parameter"><code>'file.nc'</code></em>, <em class= |
---|
526 | "parameter"><code>'initgrid'</code></em>, <em class= |
---|
527 | "parameter"><code>'arg1, arg2, |
---|
528 | ...'</code></em></code></strong></h3> |
---|
529 | </div> |
---|
530 | </div> |
---|
531 | </div> |
---|
532 | <p>In this case, the xxx window directly open the data file |
---|
533 | 'file.nc', build the grid directly with the IDL procedure |
---|
534 | <span><strong class="command">initgrid</strong></span> and use the |
---|
535 | string <strong class="userinput"><code><em class= |
---|
536 | "parameter"><code>'arg1, arg2, ...'</code></em></code></strong> to |
---|
537 | specify the input arguments in the call of <span><strong class= |
---|
538 | "command">initgrid</strong></span>.</p> |
---|
539 | </div> |
---|
540 | </div> |
---|
541 | <div class="sect1" lang="en"> |
---|
542 | <div class="titlepage"> |
---|
543 | <div> |
---|
544 | <div> |
---|
545 | <h2 class="title" style="clear: both"><a name="wigdets" id= |
---|
546 | "wigdets"></a>2. Description of XXX window</h2> |
---|
547 | </div> |
---|
548 | </div> |
---|
549 | </div> |
---|
550 | <div class="figure"><a name="fig_xxx_0201" id="fig_xxx_0201"></a> |
---|
551 | <p class="title"><b>Figure 4. Window xxx 2</b></p> |
---|
552 | <div class="figure-contents"> |
---|
553 | <div class="mediaobjectco"><img border="0" usemap="d0e506" src= |
---|
554 | "figpng/xxx_0201.png?format=raw" alt="Window xxx 2"><map name= |
---|
555 | "d0e506" id="d0e506"> |
---|
556 | <area shape="rect" coords="3,606,97,579"> |
---|
557 | <area shape="rect" coords="108,606,325,577"> |
---|
558 | <area shape="rect" coords="5,571,44,544"> |
---|
559 | <area shape="rect" coords="70,571,193,544"> |
---|
560 | <area shape="rect" coords="209,570,323,545"> |
---|
561 | <area shape="rect" coords="2,535,344,513"> |
---|
562 | <area shape="rect" coords="2,504,346,470"> |
---|
563 | <area shape="rect" coords="2,461,212,414"> |
---|
564 | <area shape="rect" coords="16,403,308,183"> |
---|
565 | <area shape="rect" coords="1,172,345,50"></map> |
---|
566 | <div class="calloutlist"> |
---|
567 | <table border="0" summary="Callout list"> |
---|
568 | <tr> |
---|
569 | <td width="5%" valign="top" align="left"><img src= |
---|
570 | "images/callouts/1.png?format=raw" alt="1" border="0"></td> |
---|
571 | <td valign="top" align="left"> |
---|
572 | <p>Plot type</p> |
---|
573 | </td> |
---|
574 | </tr> |
---|
575 | <tr> |
---|
576 | <td width="5%" valign="top" align="left"><img src= |
---|
577 | "images/callouts/2.png?format=raw" alt="2" border="0"></td> |
---|
578 | <td valign="top" align="left"> |
---|
579 | <p>Menu</p> |
---|
580 | </td> |
---|
581 | </tr> |
---|
582 | <tr> |
---|
583 | <td width="5%" valign="top" align="left"><img src= |
---|
584 | "images/callouts/3.png?format=raw" alt="3" border="0"></td> |
---|
585 | <td valign="top" align="left"> |
---|
586 | <p>OK</p> |
---|
587 | </td> |
---|
588 | </tr> |
---|
589 | <tr> |
---|
590 | <td width="5%" valign="top" align="left"><img src= |
---|
591 | "images/callouts/4.png?format=raw" alt="4" border="0"></td> |
---|
592 | <td valign="top" align="left"> |
---|
593 | <p>Page layout</p> |
---|
594 | </td> |
---|
595 | </tr> |
---|
596 | <tr> |
---|
597 | <td width="5%" valign="top" align="left"><img src= |
---|
598 | "images/callouts/5.png?format=raw" alt="5" border="0"></td> |
---|
599 | <td valign="top" align="left"> |
---|
600 | <p>Variables list</p> |
---|
601 | </td> |
---|
602 | </tr> |
---|
603 | <tr> |
---|
604 | <td width="5%" valign="top" align="left"><img src= |
---|
605 | "images/callouts/6.png?format=raw" alt="6" border="0"></td> |
---|
606 | <td valign="top" align="left"> |
---|
607 | <p>Files list</p> |
---|
608 | </td> |
---|
609 | </tr> |
---|
610 | <tr> |
---|
611 | <td width="5%" valign="top" align="left"><img src= |
---|
612 | "images/callouts/7.png?format=raw" alt="7" border="0"></td> |
---|
613 | <td valign="top" align="left"> |
---|
614 | <p>Command text</p> |
---|
615 | </td> |
---|
616 | </tr> |
---|
617 | <tr> |
---|
618 | <td width="5%" valign="top" align="left"><img src= |
---|
619 | "images/callouts/8.png?format=raw" alt="8" border="0"></td> |
---|
620 | <td valign="top" align="left"> |
---|
621 | <p>Calendar</p> |
---|
622 | </td> |
---|
623 | </tr> |
---|
624 | <tr> |
---|
625 | <td width="5%" valign="top" align="left"><img src= |
---|
626 | "images/callouts/9.png?format=raw" alt="9" border="0"></td> |
---|
627 | <td valign="top" align="left"> |
---|
628 | <p>Domdef</p> |
---|
629 | </td> |
---|
630 | </tr> |
---|
631 | <tr> |
---|
632 | <td width="5%" valign="top" align="left"><img src= |
---|
633 | "images/callouts/10.png?format=raw" alt="10" border="0"></td> |
---|
634 | <td valign="top" align="left"> |
---|
635 | <p>Spefications</p> |
---|
636 | </td> |
---|
637 | </tr> |
---|
638 | </table> |
---|
639 | </div> |
---|
640 | </div> |
---|
641 | </div> |
---|
642 | </div> |
---|
643 | <p><br class="figure-break"></p> |
---|
644 | <div class="sect2" lang="en"> |
---|
645 | <div class="titlepage"> |
---|
646 | <div> |
---|
647 | <div> |
---|
648 | <h3 class="title"><a name="plottypetxt" id= |
---|
649 | "plottypetxt"></a>2.1. Plot type list</h3> |
---|
650 | </div> |
---|
651 | </div> |
---|
652 | </div> |
---|
653 | <p>allows specification of the type of plot desired.</p> |
---|
654 | <div class="figure"><a name="fig_xxx_0202" id="fig_xxx_0202"></a> |
---|
655 | <p class="title"><b>Figure 5. Differents plot types |
---|
656 | avaibles</b></p> |
---|
657 | <div class="figure-contents"><img src= |
---|
658 | "figpng/xxx_0202.png?format=raw" alt= |
---|
659 | "Differents plot types avaibles"></div> |
---|
660 | </div> |
---|
661 | <p><br class="figure-break"></p> |
---|
662 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
663 | <h3 class="title">Note</h3> |
---|
664 | <p>If the type <code class="constant">plt</code> is selected, the |
---|
665 | selection of plot type is made by mouse. Cf <a href="#mouse" title= |
---|
666 | "3.1. In the graphics window on a horizontal plot">Section 3.1, |
---|
667 | “In the graphics window on a horizontal plot”</a></p> |
---|
668 | </div> |
---|
669 | </div> |
---|
670 | <div class="sect2" lang="en"> |
---|
671 | <div class="titlepage"> |
---|
672 | <div> |
---|
673 | <div> |
---|
674 | <h3 class="title"><a name="menutxt" id="menutxt"></a>2.2. The |
---|
675 | menu bar made up of 3 submenus</h3> |
---|
676 | </div> |
---|
677 | </div> |
---|
678 | </div> |
---|
679 | <div class="sect3" lang="en"> |
---|
680 | <div class="titlepage"> |
---|
681 | <div> |
---|
682 | <div> |
---|
683 | <h4 class="title"><a name="filesubmenu" id= |
---|
684 | "filesubmenu"></a>2.2.1. <span class="guisubmenu">File</span> |
---|
685 | submenu</h4> |
---|
686 | </div> |
---|
687 | </div> |
---|
688 | </div> |
---|
689 | <div class="figure"><a name="fig_xxx_0203" id="fig_xxx_0203"></a> |
---|
690 | <p class="title"><b>Figure 6. The File menu</b></p> |
---|
691 | <div class="figure-contents"><img src= |
---|
692 | "figpng/xxx_0203.png?format=raw" alt="The File menu"></div> |
---|
693 | </div> |
---|
694 | <p><br class="figure-break"></p> |
---|
695 | <div class="itemizedlist"> |
---|
696 | <ul type="disc"> |
---|
697 | <li> |
---|
698 | <p><span class="guibutton">Open:</span> to open a new file. Same |
---|
699 | procedure as during the <a href="#launch_xxx_1" title= |
---|
700 | "1.1. idl> xxx">launch of XXX</a>. The new file can be on a |
---|
701 | different grid, with different variables, with a different time |
---|
702 | base...</p> |
---|
703 | </li> |
---|
704 | <li> |
---|
705 | <p><span class="guibutton">New XXX:</span> to open a second XXX |
---|
706 | window identical to the first one.</p> |
---|
707 | </li> |
---|
708 | <li> |
---|
709 | <p><span class="guibutton">Quit:</span> to close the XXX |
---|
710 | window.</p> |
---|
711 | </li> |
---|
712 | </ul> |
---|
713 | </div> |
---|
714 | </div> |
---|
715 | <div class="sect3" lang="en"> |
---|
716 | <div class="titlepage"> |
---|
717 | <div> |
---|
718 | <div> |
---|
719 | <h4 class="title"><a name="saveassubmenu" id= |
---|
720 | "saveassubmenu"></a>2.2.2. <span class="guisubmenu">Save |
---|
721 | As</span> submenu</h4> |
---|
722 | </div> |
---|
723 | </div> |
---|
724 | </div> |
---|
725 | <div class="figure"><a name="fig_xxx_0204" id="fig_xxx_0204"></a> |
---|
726 | <p class="title"><b>Figure 7. The Save As menu</b></p> |
---|
727 | <div class="figure-contents"><img src= |
---|
728 | "figpng/xxx_0204.png?format=raw" alt="The Save As menu"></div> |
---|
729 | </div> |
---|
730 | <p><br class="figure-break"></p> |
---|
731 | <div class="itemizedlist"> |
---|
732 | <ul type="disc"> |
---|
733 | <li> |
---|
734 | <p><span class="guibutton">Postscript:</span> to save the plotting |
---|
735 | window in Postscript format</p> |
---|
736 | </li> |
---|
737 | <li> |
---|
738 | <p><span class="guibutton">Animated gif:</span> to create an |
---|
739 | animation of the plotting window.</p> |
---|
740 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
741 | <h3 class="title">Note</h3> |
---|
742 | <p>The creation of an animation is only possible if none of the |
---|
743 | plots have a time axis, and if the plots are all on the same time |
---|
744 | base (calendar). On the other hand, animations of horizontal and |
---|
745 | vertical plots, with different color palettes (for those not on an |
---|
746 | X-terminal), are possible.</p> |
---|
747 | </div> |
---|
748 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
749 | <h3 class="title">Note</h3> |
---|
750 | <p>the creation of animations has a tendency to saturate the video |
---|
751 | memory of X-terminals, crashing the entire program...</p> |
---|
752 | </div> |
---|
753 | </li> |
---|
754 | <li> |
---|
755 | <p><span class="guibutton">Gif:</span> to save a gif of the |
---|
756 | plotting window.</p> |
---|
757 | </li> |
---|
758 | <li> |
---|
759 | <p><span class="guibutton">IDL procedure:</span> to save the |
---|
760 | command history that has created the plot in an IDL procedure that |
---|
761 | can be reexecuted later. For example if I save the commands in |
---|
762 | <code class="filename">xxx_figure.pro</code> file, when ever I |
---|
763 | want, I can then launch a new IDL session and type:</p> |
---|
764 | <pre class="screen"> |
---|
765 | <code class="prompt">idl></code> <strong class= |
---|
766 | "userinput"><code>@init</code></strong> |
---|
767 | <code class="prompt">idl></code> <strong class= |
---|
768 | "userinput"><code>xxx_figure</code></strong> |
---|
769 | </pre> |
---|
770 | <p>and I'll obtain the saved figure.</p> |
---|
771 | <pre class="screen"> |
---|
772 | <code class="prompt">idl></code> <strong class= |
---|
773 | "userinput"><code>xxx_figure,/post </code></strong> |
---|
774 | </pre> |
---|
775 | <p>or</p> |
---|
776 | <pre class="screen"> |
---|
777 | <code class="prompt">idl></code> <strong class= |
---|
778 | "userinput"><code>@ps</code></strong> |
---|
779 | </pre> |
---|
780 | <p>will then create a Postscript file of the figure.</p> |
---|
781 | </li> |
---|
782 | <li> |
---|
783 | <p><a name="restore" id="restore"></a><span class= |
---|
784 | "guibutton">RESTORE kwd of xxx:</span> to save the xxx widget (all |
---|
785 | buttons and parameters storeed in memory...) in a binary file in |
---|
786 | order to quit xxx and relauch it later with <a href="#launch_xxx_3" |
---|
787 | title="1.3. idl> xxx, restore = 'file.dat'"><code class= |
---|
788 | "prompt">idl></code> <strong class= |
---|
789 | "userinput"><code><span><strong class= |
---|
790 | "command">xxx</strong></span>, <em class="parameter"><code>restore |
---|
791 | = 'file.dat'</code></em></code></strong></a> and get exactly the |
---|
792 | same configuration.</p> |
---|
793 | </li> |
---|
794 | <li> |
---|
795 | <p><span class="guibutton">Print to prompt:</span> lists in the IDL |
---|
796 | window the command history that created the last plot. Useful |
---|
797 | primarily for debugging...</p> |
---|
798 | </li> |
---|
799 | </ul> |
---|
800 | </div> |
---|
801 | </div> |
---|
802 | <div class="sect3" lang="en"> |
---|
803 | <div class="titlepage"> |
---|
804 | <div> |
---|
805 | <div> |
---|
806 | <h4 class="title"><a name="flagsubmenu" id= |
---|
807 | "flagsubmenu"></a>2.2.3. <span class="guisubmenu">Flag |
---|
808 | options</span> submenu</h4> |
---|
809 | </div> |
---|
810 | </div> |
---|
811 | </div> |
---|
812 | <div class="figure"><a name="fig_xxx_0205" id="fig_xxx_0205"></a> |
---|
813 | <p class="title"><b>Figure 8. The Flag Option |
---|
814 | menu</b></p> |
---|
815 | <div class="figure-contents"><img src= |
---|
816 | "figpng/xxx_0205.png?format=raw" alt="The Flag Option menu"></div> |
---|
817 | </div> |
---|
818 | <p><br class="figure-break"></p> |
---|
819 | <div class="itemizedlist"> |
---|
820 | <ul type="disc"> |
---|
821 | <li> |
---|
822 | <p><span class="guibutton">Portrait/Landscape:</span> changes the |
---|
823 | configuration of the plot.</p> |
---|
824 | </li> |
---|
825 | <li> |
---|
826 | <p><span class="guibutton">Overlay:</span> to plot contours of a |
---|
827 | different field on top the one represented as color-filled |
---|
828 | contours. It is necessary to relaunch the entire plot to make this |
---|
829 | work!</p> |
---|
830 | </li> |
---|
831 | <li> |
---|
832 | <p><span class="guibutton">Vecteur:</span> to plot a vector field |
---|
833 | on top of contours. Only works on horizontal plots (<code class= |
---|
834 | "filename">plt.pro</code>). As for Overlay, a relaunch of the |
---|
835 | entire plot is necessary.</p> |
---|
836 | </li> |
---|
837 | <li> |
---|
838 | <p><span class="guibutton">Longitude / x index:</span> switches |
---|
839 | longitude labelling of the plot subdomain from degrees to indices |
---|
840 | following i.</p> |
---|
841 | </li> |
---|
842 | <li> |
---|
843 | <p><span class="guibutton">Latitude / y index:</span> switches |
---|
844 | latitude labelling of the plot subdomain from degrees to indices |
---|
845 | following j.</p> |
---|
846 | </li> |
---|
847 | </ul> |
---|
848 | </div> |
---|
849 | <div class="caution" style= |
---|
850 | "margin-left: 0.5in; margin-right: 0.5in;"> |
---|
851 | <h3 class="title">Caution</h3> |
---|
852 | <p>Careful, a selected option remains selected until it is |
---|
853 | reclicked.</p> |
---|
854 | </div> |
---|
855 | </div> |
---|
856 | </div> |
---|
857 | <div class="sect2" lang="en"> |
---|
858 | <div class="titlepage"> |
---|
859 | <div> |
---|
860 | <div> |
---|
861 | <h3 class="title"><a name="oktxt" id="oktxt"></a>2.3. OK |
---|
862 | button</h3> |
---|
863 | </div> |
---|
864 | </div> |
---|
865 | </div> |
---|
866 | <p>click on this <span class="guibutton">OK</span> button is |
---|
867 | required to make a new plot appear</p> |
---|
868 | </div> |
---|
869 | <div class="sect2" lang="en"> |
---|
870 | <div class="titlepage"> |
---|
871 | <div> |
---|
872 | <div> |
---|
873 | <h3 class="title"><a name="pagelayouttxt" id= |
---|
874 | "pagelayouttxt"></a>2.4. Page Layout</h3> |
---|
875 | </div> |
---|
876 | </div> |
---|
877 | </div> |
---|
878 | <p>specify the number of columns and rows for plots on the sheet of |
---|
879 | paper.</p> |
---|
880 | <div class="figure"><a name="fig_xxx_0206" id="fig_xxx_0206"></a> |
---|
881 | <p class="title"><b>Figure 9. Number of Column</b></p> |
---|
882 | <div class="figure-contents"><img src= |
---|
883 | "figpng/xxx_0206.png?format=raw" alt="Number of Column"></div> |
---|
884 | </div> |
---|
885 | <p><br class="figure-break"></p> |
---|
886 | <div class="figure"><a name="fig_xxx_0206a" id="fig_xxx_0206a"></a> |
---|
887 | <p class="title"><b>Figure 10. Example: For 2 cln and 2 |
---|
888 | row</b></p> |
---|
889 | <div class="figure-contents"><img src= |
---|
890 | "figpng/xxx_0206a.png?format=raw" alt= |
---|
891 | "Example: For 2 cln and 2 row"></div> |
---|
892 | </div> |
---|
893 | <p><br class="figure-break"></p> |
---|
894 | </div> |
---|
895 | <div class="sect2" lang="en"> |
---|
896 | <div class="titlepage"> |
---|
897 | <div> |
---|
898 | <div> |
---|
899 | <h3 class="title"><a name="variableslisttxt" id= |
---|
900 | "variableslisttxt"></a>2.5. <span class="guimenuitem">List of |
---|
901 | variables</span></h3> |
---|
902 | </div> |
---|
903 | </div> |
---|
904 | </div> |
---|
905 | <p>you can choose the variable to work on.</p> |
---|
906 | <div class="figure"><a name="fig_xxx_0207" id="fig_xxx_0207"></a> |
---|
907 | <p class="title"><b>Figure 11. Example of differents |
---|
908 | Variables avaible</b></p> |
---|
909 | <div class="figure-contents"><img src= |
---|
910 | "figpng/xxx_0207.png?format=raw" alt= |
---|
911 | "Example of differents Variables avaible"></div> |
---|
912 | </div> |
---|
913 | <p><br class="figure-break"></p> |
---|
914 | </div> |
---|
915 | <div class="sect2" lang="en"> |
---|
916 | <div class="titlepage"> |
---|
917 | <div> |
---|
918 | <div> |
---|
919 | <h3 class="title"><a name="fileslisttxt" id= |
---|
920 | "fileslisttxt"></a>2.6. <span class="guimenuitem">List of open |
---|
921 | files</span></h3> |
---|
922 | </div> |
---|
923 | </div> |
---|
924 | </div> |
---|
925 | <p>you can choose the file to work on.</p> |
---|
926 | <div class="figure"><a name="fig_xxx_0208" id="fig_xxx_0208"></a> |
---|
927 | <p class="title"><b>Figure 12. Example of list of open |
---|
928 | files</b></p> |
---|
929 | <div class="figure-contents"><img src= |
---|
930 | "figpng/xxx_0208.png?format=raw" alt= |
---|
931 | "Example of list of open files"></div> |
---|
932 | </div> |
---|
933 | <p><br class="figure-break"></p> |
---|
934 | </div> |
---|
935 | <div class="sect2" lang="en"> |
---|
936 | <div class="titlepage"> |
---|
937 | <div> |
---|
938 | <div> |
---|
939 | <h3 class="title"><a name="commandtexttxt" id= |
---|
940 | "commandtexttxt"></a>2.7. <span class="guimenuitem">Command |
---|
941 | text</span></h3> |
---|
942 | </div> |
---|
943 | </div> |
---|
944 | </div> |
---|
945 | <p>To specify in the widget part number 7 the computation you want |
---|
946 | to do on the data</p> |
---|
947 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
948 | <h3 class="title">Note</h3> |
---|
949 | <p>In all cases bellow, the name given to a field (a, b, c,...) is |
---|
950 | of no importance.</p> |
---|
951 | </div> |
---|
952 | <div class="sect3" lang="en"> |
---|
953 | <div class="titlepage"> |
---|
954 | <div> |
---|
955 | <div> |
---|
956 | <h4 class="title"><a name="commandtext1" id= |
---|
957 | "commandtext1"></a>2.7.1. <span class="guimenuitem">Linear |
---|
958 | calculation</span></h4> |
---|
959 | </div> |
---|
960 | </div> |
---|
961 | </div> |
---|
962 | <p>If you want to make basic linear computation (like difference |
---|
963 | between fields, add/multiply by a constant...). you can simply put |
---|
964 | the following commands:</p> |
---|
965 | <pre class="screen"> |
---|
966 | a - b |
---|
967 | </pre> |
---|
968 | <pre class="screen"> |
---|
969 | numb1*a |
---|
970 | </pre> |
---|
971 | <pre class="screen"> |
---|
972 | a + numb |
---|
973 | </pre> |
---|
974 | <p>or any command with the following format</p> |
---|
975 | <pre class="screen"> |
---|
976 | numb1*a + numb2*b + numb3*c ... + numb |
---|
977 | </pre> |
---|
978 | <p>where numb1, numb2,... correspond to numbers and a, b, c... will |
---|
979 | be the data to read.</p> |
---|
980 | </div> |
---|
981 | <div class="sect3" lang="en"> |
---|
982 | <div class="titlepage"> |
---|
983 | <div> |
---|
984 | <div> |
---|
985 | <h4 class="title"><a name="commandtext1" id= |
---|
986 | "commandtext1"></a>2.7.2. <span class="guimenuitem">Any kind |
---|
987 | of computation calculation</span></h4> |
---|
988 | </div> |
---|
989 | </div> |
---|
990 | </div> |
---|
991 | <p>If you want to make a computation more complicated than a basic |
---|
992 | linear you must put designate the data you want to read between "" |
---|
993 | (with anything inbetween the "). For example:</p> |
---|
994 | <pre class="screen"> |
---|
995 | "a"^2 |
---|
996 | </pre> |
---|
997 | <pre class="screen"> |
---|
998 | "a" - abs("b") |
---|
999 | </pre> |
---|
1000 | <pre class="screen"> |
---|
1001 | grad("a", 'x') |
---|
1002 | </pre> |
---|
1003 | <p>...</p> |
---|
1004 | </div> |
---|
1005 | </div> |
---|
1006 | <div class="sect2" lang="en"> |
---|
1007 | <div class="titlepage"> |
---|
1008 | <div> |
---|
1009 | <div> |
---|
1010 | <h3 class="title"><a name="calendartxt" id= |
---|
1011 | "calendartxt"></a>2.8. Calendar</h3> |
---|
1012 | </div> |
---|
1013 | </div> |
---|
1014 | </div> |
---|
1015 | <p>The calendar is made up of two droplists, which allow |
---|
1016 | specification of two dates, the beginning and end of a time series, |
---|
1017 | or the period over which to average before plotting.</p> |
---|
1018 | <div class="figure"><a name="fig_xxx_0301" id="fig_xxx_0301"></a> |
---|
1019 | <p class="title"><b>Figure 13. Example: first plot in |
---|
1020 | January, second plot is from January to December</b></p> |
---|
1021 | <div class="figure-contents"><img src= |
---|
1022 | "figpng/xxx_0301.png?format=raw" alt= |
---|
1023 | "Example: first plot in January, second plot is from January to December"></div> |
---|
1024 | </div> |
---|
1025 | <p><br class="figure-break"></p> |
---|
1026 | </div> |
---|
1027 | <div class="sect2" lang="en"> |
---|
1028 | <div class="titlepage"> |
---|
1029 | <div> |
---|
1030 | <div> |
---|
1031 | <h3 class="title"><a name="domdeftxt" id= |
---|
1032 | "domdeftxt"></a>2.9. Define the domain</h3> |
---|
1033 | </div> |
---|
1034 | </div> |
---|
1035 | </div> |
---|
1036 | <p>A series of widgets that allow specification of the min/max |
---|
1037 | limits of the domain in longitude/x-index, latitude/y-index, and |
---|
1038 | depth in levels or meters.</p> |
---|
1039 | <div class="figure"><a name="fig_xxx_0210" id="fig_xxx_0210"></a> |
---|
1040 | <p class="title"><b>Figure 14. Domain by default</b></p> |
---|
1041 | <div class="figure-contents"><img src= |
---|
1042 | "figpng/xxx_0210.png?format=raw" alt="Domain by default"></div> |
---|
1043 | </div> |
---|
1044 | <p><br class="figure-break"></p> |
---|
1045 | <div class="figure"><a name="fig_xxx_0401" id="fig_xxx_0401"></a> |
---|
1046 | <p class="title"><b>Figure 15. Change Domain area: zoom |
---|
1047 | on Oceania</b></p> |
---|
1048 | <div class="figure-contents"><img src= |
---|
1049 | "figpng/xxx_0401.png?format=raw" alt= |
---|
1050 | "Change Domain area: zoom on Oceania"></div> |
---|
1051 | </div> |
---|
1052 | <p><br class="figure-break"></p> |
---|
1053 | <div class="figure"><a name="fig_xxx_0402" id="fig_xxx_0402"></a> |
---|
1054 | <p class="title"><b>Figure 16. This configuration give |
---|
1055 | us:</b></p> |
---|
1056 | <div class="figure-contents"><img src= |
---|
1057 | "figpng/xxx_0402.png?format=raw" alt= |
---|
1058 | "This configuration give us:"></div> |
---|
1059 | </div> |
---|
1060 | <p><br class="figure-break"></p> |
---|
1061 | <div class="figure"><a name="fig_xxx_0403" id="fig_xxx_0403"></a> |
---|
1062 | <p class="title"><b>Figure 17. Change depth area: between |
---|
1063 | depth 125 and 126</b></p> |
---|
1064 | <div class="figure-contents"><img src= |
---|
1065 | "figpng/xxx_0403.png?format=raw" alt= |
---|
1066 | "Change depth area: between depth 125 and 126"></div> |
---|
1067 | </div> |
---|
1068 | <p><br class="figure-break"></p> |
---|
1069 | <div class="figure"><a name="fig_xxx_0404" id="fig_xxx_0404"></a> |
---|
1070 | <p class="title"><b>Figure 18. temperature of the ocean |
---|
1071 | at depth 125 meters without proper land/sea mask</b></p> |
---|
1072 | <div class="figure-contents"><img src= |
---|
1073 | "figpng/xxx_0404.png?format=raw" alt= |
---|
1074 | "temperature of the ocean at depth 125 meters without proper land/sea mask"></div> |
---|
1075 | </div> |
---|
1076 | <p><br class="figure-break"> |
---|
1077 | As you can see, at this depth, we better define a land/sea mask |
---|
1078 | when loading the grid. Cf <a href="#fig_xxx_0103" title= |
---|
1079 | "Figure 3. Oceania at 125 metters of depth with proper grid initialization"> |
---|
1080 | Figure 3, “Oceania at 125 metters of depth with proper |
---|
1081 | grid initialization”</a></p> |
---|
1082 | </div> |
---|
1083 | <div class="sect2" lang="en"> |
---|
1084 | <div class="titlepage"> |
---|
1085 | <div> |
---|
1086 | <div> |
---|
1087 | <h3 class="title"><a name="specificationstxt" id= |
---|
1088 | "specificationstxt"></a>2.10. specify your plot</h3> |
---|
1089 | </div> |
---|
1090 | </div> |
---|
1091 | </div> |
---|
1092 | <div class="sect3" lang="en"> |
---|
1093 | <div class="titlepage"> |
---|
1094 | <div> |
---|
1095 | <div> |
---|
1096 | <h4 class="title"><a name="minmaxintervaltxt" id= |
---|
1097 | "minmaxintervaltxt"></a>2.10.1. <span class= |
---|
1098 | "guimenuitem">Specify min, max and contour interval</span></h4> |
---|
1099 | </div> |
---|
1100 | </div> |
---|
1101 | </div> |
---|
1102 | <div class="figure"><a name="fig_xxx_0501" id="fig_xxx_0501"></a> |
---|
1103 | <p class="title"><b>Figure 19. min, max, and contour |
---|
1104 | interval specifications</b></p> |
---|
1105 | <div class="figure-contents"><img src= |
---|
1106 | "figpng/xxx_0501.png?format=raw" alt= |
---|
1107 | "min, max, and contour interval specifications"></div> |
---|
1108 | </div> |
---|
1109 | <p><br class="figure-break"> |
---|
1110 | You can restore configuration by default by pressing the "default" |
---|
1111 | button.</p> |
---|
1112 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
1113 | <h3 class="title">Note</h3> |
---|
1114 | <p>The path of the file <a href= |
---|
1115 | "../../ToBeReviewed/WIDGET/AUTOUR_de_XXX/definedefaultextra.pro?format=raw" |
---|
1116 | target="_top"><code class= |
---|
1117 | "filename">definedefaultextra.pro</code></a> that defines the |
---|
1118 | default values for each variable names is displayed when the cursor |
---|
1119 | hovers over the button Default. This file contains a case statement |
---|
1120 | based on the name of the variable and defining the min, max, |
---|
1121 | contour interval and other keywords that should be used as default |
---|
1122 | for the specified variable. You can copy this file in your own |
---|
1123 | <code class="filename"><code class= |
---|
1124 | "envar">${HOME}</code>/My_IDL/</code> directory and easily modify |
---|
1125 | it to suit your favorite default values.</p> |
---|
1126 | </div> |
---|
1127 | </div> |
---|
1128 | <div class="sect3" lang="en"> |
---|
1129 | <div class="titlepage"> |
---|
1130 | <div> |
---|
1131 | <div> |
---|
1132 | <h4 class="title"><a name="colortxt" id= |
---|
1133 | "colortxt"></a>2.10.2. <span class="guimenuitem">Specify the |
---|
1134 | palette to be used</span></h4> |
---|
1135 | </div> |
---|
1136 | </div> |
---|
1137 | </div> |
---|
1138 | <p>For the color palette, you can either specify the name or go |
---|
1139 | search for one among the palettes available.</p> |
---|
1140 | <div class="figure"><a name="fig_xxx_0502" id="fig_xxx_0502"></a> |
---|
1141 | <p class="title"><b>Figure 20. The Color menu</b></p> |
---|
1142 | <div class="figure-contents"><img src= |
---|
1143 | "figpng/xxx_0502.png?format=raw" alt="The Color menu"></div> |
---|
1144 | </div> |
---|
1145 | <p><br class="figure-break"></p> |
---|
1146 | </div> |
---|
1147 | <div class="sect3" lang="en"> |
---|
1148 | <div class="titlepage"> |
---|
1149 | <div> |
---|
1150 | <div> |
---|
1151 | <h4 class="title"><a name="kwdtxt" id= |
---|
1152 | "kwdtxt"></a>2.10.3. <span class="guimenuitem">Add any |
---|
1153 | keyword</span></h4> |
---|
1154 | </div> |
---|
1155 | </div> |
---|
1156 | </div> |
---|
1157 | <p>The "keywords" window allows specification of all desired |
---|
1158 | keywords. There is a few examples of the use of this "keywords" |
---|
1159 | window.</p> |
---|
1160 | <div class="figure"><a name="fig_xxx_0209" id="fig_xxx_0209"></a> |
---|
1161 | <p class="title"><b>Figure 21. Without any additional |
---|
1162 | keyword</b></p> |
---|
1163 | <div class="figure-contents"><img src= |
---|
1164 | "figpng/xxx_0209.png?format=raw" alt= |
---|
1165 | "Without any additional keyword"></div> |
---|
1166 | </div> |
---|
1167 | <p><br class="figure-break"></p> |
---|
1168 | <div class="figure"><a name="fig_xxx_0210a" id="fig_xxx_0210a"></a> |
---|
1169 | <p class="title"><b>Figure 22. add "/realcont" |
---|
1170 | keyword</b></p> |
---|
1171 | <div class="figure-contents"><img src= |
---|
1172 | "figpng/xxx_0210a.png?format=raw" alt= |
---|
1173 | "add "/realcont" keyword"></div> |
---|
1174 | </div> |
---|
1175 | <p><br class="figure-break"></p> |
---|
1176 | <div class="figure"><a name="fig_xxx_0210" id="fig_xxx_0210"></a> |
---|
1177 | <p class="title"><b>Figure 23. Graphic with "/realcont" |
---|
1178 | keyword</b></p> |
---|
1179 | <div class="figure-contents"><img src= |
---|
1180 | "figpng/xxx_0210.png?format=raw" alt= |
---|
1181 | "Graphic with "/realcont" keyword"></div> |
---|
1182 | </div> |
---|
1183 | <p><br class="figure-break"></p> |
---|
1184 | <div class="figure"><a name="fig_xxx_0211a" id="fig_xxx_0211a"></a> |
---|
1185 | <p class="title"><b>Figure 24. add "/realcont, |
---|
1186 | map=[90,0,0], /ortho, cell_fill=2" keywords</b></p> |
---|
1187 | <div class="figure-contents"><img src= |
---|
1188 | "figpng/xxx_0211a.png?format=raw" alt= |
---|
1189 | "add "/realcont, map=[90,0,0], /ortho, cell_fill=2" keywords"></div> |
---|
1190 | </div> |
---|
1191 | <p><br class="figure-break"></p> |
---|
1192 | <div class="figure"><a name="fig_xxx_0211" id="fig_xxx_0211"></a> |
---|
1193 | <p class="title"><b>Figure 25. Graphic with "/realcont, |
---|
1194 | map=[90,0,0], /ortho, cell_fill=2" keywords</b></p> |
---|
1195 | <div class="figure-contents"><img src= |
---|
1196 | "figpng/xxx_0211.png?format=raw" alt= |
---|
1197 | "Graphic with "/realcont, map=[90,0,0], /ortho, cell_fill=2" keywords"></div> |
---|
1198 | </div> |
---|
1199 | <p><br class="figure-break"></p> |
---|
1200 | </div> |
---|
1201 | </div> |
---|
1202 | </div> |
---|
1203 | <div class="sect1" lang="en"> |
---|
1204 | <div class="titlepage"> |
---|
1205 | <div> |
---|
1206 | <div> |
---|
1207 | <h2 class="title" style="clear: both"><a name="mouseactions" id= |
---|
1208 | "mouseactions"></a>3. Mouse Actions</h2> |
---|
1209 | </div> |
---|
1210 | </div> |
---|
1211 | </div> |
---|
1212 | <div class="sect2" lang="en"> |
---|
1213 | <div class="titlepage"> |
---|
1214 | <div> |
---|
1215 | <div> |
---|
1216 | <h3 class="title"><a name="mouse" id="mouse"></a>3.1. In the |
---|
1217 | graphics window on a horizontal plot</h3> |
---|
1218 | </div> |
---|
1219 | </div> |
---|
1220 | </div> |
---|
1221 | <p>Select a domain and select the horizontal plot (<code class= |
---|
1222 | "constant">plt</code>), vertical plot (<code class= |
---|
1223 | "constant">pltz</code>), or the hovmoeller plot (<code class= |
---|
1224 | "constant">pltt</code>):</p> |
---|
1225 | <p>The domain we'd like to select for the plot is determined by one |
---|
1226 | of its diagonals, defined therefore by two points. The first point |
---|
1227 | is defined when the mouse button is pushed, then the mouse is |
---|
1228 | moved, and the second point is defined as the mouse button is |
---|
1229 | released (click-drag). The domains are thus defined by a long click |
---|
1230 | (<abbr class="abbrev">LC</abbr>). To determine which type of plot |
---|
1231 | should be made of selection, use:</p> |
---|
1232 | <p>If the plot selector is on <code class="constant">plt</code></p> |
---|
1233 | <div class="itemizedlist"> |
---|
1234 | <ul type="disc"> |
---|
1235 | <li> |
---|
1236 | <p>the left mouse button to create horizontal plots (<code class= |
---|
1237 | "constant">plt</code>)</p> |
---|
1238 | </li> |
---|
1239 | <li> |
---|
1240 | <p>the middle mouse button to create vertical plots (<code class= |
---|
1241 | "constant">pltz</code>)</p> |
---|
1242 | </li> |
---|
1243 | <li> |
---|
1244 | <p>the right mouse button to create common hovmoellers for xt and |
---|
1245 | yt cuts (<code class="constant">pltt</code>)</p> |
---|
1246 | </li> |
---|
1247 | </ul> |
---|
1248 | </div> |
---|
1249 | <p>In summary:</p> |
---|
1250 | <div class="itemizedlist"> |
---|
1251 | <ul type="disc"> |
---|
1252 | <li> |
---|
1253 | <div class="figure"><a name="fig_mousell" id="fig_mousell"></a> |
---|
1254 | <p class="title"><b>Figure 26. <abbr class= |
---|
1255 | "abbrev">LCL</abbr>---><code class="constant">plt</code></b></p> |
---|
1256 | <div class="figure-contents"> |
---|
1257 | <div class="mediaobjectco"><img border="0" usemap="d0e1058" src= |
---|
1258 | "figpng/xxx_mousell.png?format=raw" alt="LCL--->plt"><map name= |
---|
1259 | "d0e1058" id="d0e1058"></map></div> |
---|
1260 | </div> |
---|
1261 | </div> |
---|
1262 | <p><br class="figure-break"></p> |
---|
1263 | <div class="figure"><a name="fig_xxx_0701" id="fig_xxx_0701"></a> |
---|
1264 | <p class="title"><b>Figure 27. Horizontal Plot</b></p> |
---|
1265 | <div class="figure-contents"><img src= |
---|
1266 | "figpng/xxx_0701.png?format=raw" alt="Horizontal Plot"></div> |
---|
1267 | </div> |
---|
1268 | <p><br class="figure-break"></p> |
---|
1269 | </li> |
---|
1270 | <li> |
---|
1271 | <div class="figure"><a name="fig_mouselm" id="fig_mouselm"></a> |
---|
1272 | <p class="title"><b>Figure 28. <abbr class= |
---|
1273 | "abbrev">LCM</abbr>---><code class= |
---|
1274 | "constant">pltz</code></b></p> |
---|
1275 | <div class="figure-contents"> |
---|
1276 | <div class="mediaobjectco"><img border="0" usemap="d0e1082" src= |
---|
1277 | "figpng/xxx_mouselm.png?format=raw" alt="LCM--->pltz"><map name= |
---|
1278 | "d0e1082" id="d0e1082"></map></div> |
---|
1279 | </div> |
---|
1280 | </div> |
---|
1281 | <p><br class="figure-break"></p> |
---|
1282 | <div class="figure"><a name="fig_xxx_0702" id="fig_xxx_0702"></a> |
---|
1283 | <p class="title"><b>Figure 29. Vertical Plot</b></p> |
---|
1284 | <div class="figure-contents"><img src= |
---|
1285 | "figpng/xxx_0702.png?format=raw" alt="Vertical Plot"></div> |
---|
1286 | </div> |
---|
1287 | <p><br class="figure-break"></p> |
---|
1288 | </li> |
---|
1289 | <li> |
---|
1290 | <div class="figure"><a name="fig_mouselr" id="fig_mouselr"></a> |
---|
1291 | <p class="title"><b>Figure 30. <abbr class= |
---|
1292 | "abbrev">LCR</abbr>---><code class= |
---|
1293 | "constant">pltt</code></b></p> |
---|
1294 | <div class="figure-contents"> |
---|
1295 | <div class="mediaobjectco"><img border="0" usemap="d0e1106" src= |
---|
1296 | "figpng/xxx_mouselr.png?format=raw" alt="LCR--->pltt"><map name= |
---|
1297 | "d0e1106" id="d0e1106"></map></div> |
---|
1298 | </div> |
---|
1299 | </div> |
---|
1300 | <p><br class="figure-break"></p> |
---|
1301 | <div class="figure"><a name="fig_xxx_0703" id="fig_xxx_0703"></a> |
---|
1302 | <p class="title"><b>Figure 31. Common hovmoeller for xt |
---|
1303 | and yt cuts</b></p> |
---|
1304 | <div class="figure-contents"><img src= |
---|
1305 | "figpng/xxx_0703.png?format=raw" alt= |
---|
1306 | "Common hovmoeller for xt and yt cuts"></div> |
---|
1307 | </div> |
---|
1308 | <p><br class="figure-break"></p> |
---|
1309 | </li> |
---|
1310 | </ul> |
---|
1311 | </div> |
---|
1312 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
1313 | <h3 class="title">Note</h3> |
---|
1314 | <p>If the plot selector is on something other than <code class= |
---|
1315 | "constant">plt</code> the indicated plot type is made.</p> |
---|
1316 | </div> |
---|
1317 | </div> |
---|
1318 | <div class="sect2" lang="en"> |
---|
1319 | <div class="titlepage"> |
---|
1320 | <div> |
---|
1321 | <div> |
---|
1322 | <h3 class="title"><a name="multipleplots" id= |
---|
1323 | "multipleplots"></a>3.2. Create multiple plots on the same |
---|
1324 | sheet and make them interact</h3> |
---|
1325 | </div> |
---|
1326 | </div> |
---|
1327 | </div> |
---|
1328 | <p>Select the number of columns and rows for the page.</p> |
---|
1329 | <p>Create a first plot. It will appear in the first frame.</p> |
---|
1330 | <p>To create a plot in another frame double-click in the frame with |
---|
1331 | the middle button (<abbr class="abbrev">DCM</abbr>). A black dotted |
---|
1332 | frame will surround the designated frame, the “<span class= |
---|
1333 | "quote">target</span>” frame. A black frame will surround the |
---|
1334 | first plot. This is the “<span class= |
---|
1335 | "quote">reference</span>” frame, in other words the one that |
---|
1336 | all the XXX widgets refer to. Change for example the date and |
---|
1337 | create a new plot. With a left button double-click in the first |
---|
1338 | frame, all the widgets change and refer again to the first plot. A |
---|
1339 | double-click with the right button in the second frame will erase |
---|
1340 | the plot.</p> |
---|
1341 | <p>In summary:</p> |
---|
1342 | <div class="itemizedlist"> |
---|
1343 | <ul type="disc"> |
---|
1344 | <li> |
---|
1345 | <div class="figure"><a name="fig_mousedl" id="fig_mousedl"></a> |
---|
1346 | <p class="title"><b>Figure 32. <abbr class= |
---|
1347 | "abbrev">DCL</abbr>--->“<span class= |
---|
1348 | "quote">reference</span>” frame</b></p> |
---|
1349 | <div class="figure-contents"> |
---|
1350 | <div class="mediaobjectco"><img border="0" usemap="d0e1159" src= |
---|
1351 | "figpng/xxx_mousedl.png?format=raw" alt= |
---|
1352 | "DCL--->reference frame"><map name="d0e1159" id= |
---|
1353 | "d0e1159"></map></div> |
---|
1354 | </div> |
---|
1355 | </div> |
---|
1356 | <p><br class="figure-break"></p> |
---|
1357 | <div class="figure"><a name="fig_xxx_0801" id="fig_xxx_0801"></a> |
---|
1358 | <p class="title"><b>Figure 33. The reference frame is |
---|
1359 | selected</b></p> |
---|
1360 | <div class="figure-contents"><img src= |
---|
1361 | "figpng/xxx_0801.png?format=raw" alt= |
---|
1362 | "The reference frame is selected"></div> |
---|
1363 | </div> |
---|
1364 | <p><br class="figure-break"></p> |
---|
1365 | </li> |
---|
1366 | <li> |
---|
1367 | <div class="figure"><a name="fig_mousedm" id="fig_mousedm"></a> |
---|
1368 | <p class="title"><b>Figure 34. <abbr class= |
---|
1369 | "abbrev">DCM</abbr>--->“<span class= |
---|
1370 | "quote">target</span>” frame</b></p> |
---|
1371 | <div class="figure-contents"> |
---|
1372 | <div class="mediaobjectco"><img border="0" usemap="d0e1184" src= |
---|
1373 | "figpng/xxx_mousedm.png?format=raw" alt= |
---|
1374 | "DCM--->target frame"><map name="d0e1184" id= |
---|
1375 | "d0e1184"></map></div> |
---|
1376 | </div> |
---|
1377 | </div> |
---|
1378 | <p><br class="figure-break"></p> |
---|
1379 | <div class="figure"><a name="fig_xxx_0802" id="fig_xxx_0802"></a> |
---|
1380 | <p class="title"><b>Figure 35. The target frame is |
---|
1381 | selected</b></p> |
---|
1382 | <div class="figure-contents"><img src= |
---|
1383 | "figpng/xxx_0802.png?format=raw" alt= |
---|
1384 | "The target frame is selected"></div> |
---|
1385 | </div> |
---|
1386 | <p><br class="figure-break"></p> |
---|
1387 | </li> |
---|
1388 | <li> |
---|
1389 | <div class="figure"><a name="fig_mousedr" id="fig_mousedr"></a> |
---|
1390 | <p class="title"><b>Figure 36. <abbr class= |
---|
1391 | "abbrev">DCR</abbr>--->erase the frame</b></p> |
---|
1392 | <div class="figure-contents"> |
---|
1393 | <div class="mediaobjectco"><img border="0" usemap="d0e1206" src= |
---|
1394 | "figpng/xxx_mousedr.png?format=raw" alt= |
---|
1395 | "DCR--->erase the frame"><map name="d0e1206" id= |
---|
1396 | "d0e1206"></map></div> |
---|
1397 | </div> |
---|
1398 | </div> |
---|
1399 | <p><br class="figure-break"></p> |
---|
1400 | </li> |
---|
1401 | </ul> |
---|
1402 | </div> |
---|
1403 | <p>Here's a series of commands to show how this works.</p> |
---|
1404 | <div class="procedure"> |
---|
1405 | <ol type="1"> |
---|
1406 | <li> |
---|
1407 | <p>load xxx with the command:</p> |
---|
1408 | <pre class="screen"> |
---|
1409 | <code class="prompt">idl></code> <strong class= |
---|
1410 | "userinput"><code><span><strong class= |
---|
1411 | "command">xxx</strong></span>, <em class= |
---|
1412 | "parameter"><code>'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc'</code></em>, <em class="parameter"><code>'tst_initorca05'</code></em></code></strong> |
---|
1413 | |
---|
1414 | </pre></li> |
---|
1415 | <li> |
---|
1416 | <p>Select a 3-D field and create 6 frames for the sheet of |
---|
1417 | paper.</p> |
---|
1418 | </li> |
---|
1419 | <li> |
---|
1420 | <p>Create a horizontal plot in Frame 1</p> |
---|
1421 | </li> |
---|
1422 | <li> |
---|
1423 | <p><abbr class="abbrev">DCM</abbr> in frame 2, <abbr class= |
---|
1424 | "abbrev">LCL</abbr> on the plot in frame 1, to create a horizontal |
---|
1425 | zoom in frame 2.</p> |
---|
1426 | <p><abbr class="abbrev">DCM</abbr> in frame 3, <abbr class= |
---|
1427 | "abbrev">LCM</abbr> on the plot in frame 1, to create a vertical |
---|
1428 | cut in frame 3.</p> |
---|
1429 | <p><abbr class="abbrev">DCM</abbr> in frame 4, <abbr class= |
---|
1430 | "abbrev">LCR</abbr> on the plot in frame 1, to create a hovmoeller |
---|
1431 | in frame 4.</p> |
---|
1432 | <div class="figure"><a name="fig_xxx_0901" id="fig_xxx_0901"></a> |
---|
1433 | <p class="title"><b>Figure 37. Frame with four |
---|
1434 | plot</b></p> |
---|
1435 | <div class="figure-contents"><img src= |
---|
1436 | "figpng/xxx_0901.png?format=raw" alt="Frame with four plot"></div> |
---|
1437 | </div> |
---|
1438 | <p><br class="figure-break"></p> |
---|
1439 | </li> |
---|
1440 | </ol> |
---|
1441 | </div> |
---|
1442 | <div class="procedure"> |
---|
1443 | <p>To redo the hovmoeller with the keyword</p> |
---|
1444 | <div class="literallayout"> |
---|
1445 | <p>/nocontour</p> |
---|
1446 | </div> |
---|
1447 | <ol type="1"> |
---|
1448 | <li> |
---|
1449 | <p><abbr class="abbrev">DCL</abbr> in frame 4 which now becomes the |
---|
1450 | reference and target frame.</p> |
---|
1451 | </li> |
---|
1452 | <li> |
---|
1453 | <p>Add the keyword</p> |
---|
1454 | <div class="literallayout"> |
---|
1455 | <p>/nocontour</p> |
---|
1456 | </div> |
---|
1457 | <div class="figure"><a name="fig_xxx_0902a" id="fig_xxx_0902a"></a> |
---|
1458 | <p class="title"><b>Figure 38. Command text area</b></p> |
---|
1459 | <div class="figure-contents"><img src= |
---|
1460 | "figpng/xxx_0902a.png?format=raw" alt="Command text area"></div> |
---|
1461 | </div> |
---|
1462 | <p><br class="figure-break"></p> |
---|
1463 | </li> |
---|
1464 | <li> |
---|
1465 | <p>click <span class="guibutton">OK</span>, and the plot is |
---|
1466 | redone.</p> |
---|
1467 | <div class="figure"><a name="fig_xxx_0902" id="fig_xxx_0902"></a> |
---|
1468 | <p class="title"><b>Figure 39. The fourth plot with the |
---|
1469 | keyword "nocontour"</b></p> |
---|
1470 | <div class="figure-contents"><img src= |
---|
1471 | "figpng/xxx_0902.png?format=raw" alt= |
---|
1472 | "The fourth plot with the keyword "nocontour""></div> |
---|
1473 | </div> |
---|
1474 | <p><br class="figure-break"></p> |
---|
1475 | </li> |
---|
1476 | </ol> |
---|
1477 | </div> |
---|
1478 | <div class="procedure"> |
---|
1479 | <p>in frame 5, let's create the same plot as in frame 2 except we |
---|
1480 | use pltv instead of plt</p> |
---|
1481 | <ol type="1"> |
---|
1482 | <li> |
---|
1483 | <p><abbr class="abbrev">DCL</abbr> on frame 2</p> |
---|
1484 | </li> |
---|
1485 | <li> |
---|
1486 | <p><abbr class="abbrev">DCM</abbr> on frame 5</p> |
---|
1487 | </li> |
---|
1488 | <li> |
---|
1489 | <p>change plt for pltv</p> |
---|
1490 | </li> |
---|
1491 | <li> |
---|
1492 | <p>click on <span class="guibutton">OK</span></p> |
---|
1493 | <div class="figure"><a name="fig_xxx_0903" id="fig_xxx_0903"></a> |
---|
1494 | <p class="title"><b>Figure 40. Frame with five |
---|
1495 | plot</b></p> |
---|
1496 | <div class="figure-contents"><img src= |
---|
1497 | "figpng/xxx_0903.png?format=raw" alt="Frame with five plot"></div> |
---|
1498 | </div> |
---|
1499 | <p><br class="figure-break"></p> |
---|
1500 | </li> |
---|
1501 | </ol> |
---|
1502 | </div> |
---|
1503 | </div> |
---|
1504 | </div> |
---|
1505 | <div class="sect1" lang="en"> |
---|
1506 | <div class="titlepage"> |
---|
1507 | <div> |
---|
1508 | <div> |
---|
1509 | <h2 class="title" style="clear: both"><a name="crash" id= |
---|
1510 | "crash"></a>4. What should I do when it breakdown</h2> |
---|
1511 | </div> |
---|
1512 | </div> |
---|
1513 | </div> |
---|
1514 | <div class="orderedlist"> |
---|
1515 | <ol type="1"> |
---|
1516 | <li> |
---|
1517 | <p>in the IDL window type (as many time you click on a button since |
---|
1518 | a problem occurs in xxx !!!),</p> |
---|
1519 | <pre class="screen"> |
---|
1520 | <code class="prompt">idl></code> <strong class= |
---|
1521 | "userinput"><code>retall</code></strong> |
---|
1522 | </pre></li> |
---|
1523 | <li> |
---|
1524 | <p>in the IDL window, type</p> |
---|
1525 | <pre class="screen"> |
---|
1526 | <code class="prompt">idl></code> <strong class= |
---|
1527 | "userinput"><code>domdef</code></strong> |
---|
1528 | </pre></li> |
---|
1529 | <li> |
---|
1530 | <p><abbr class="abbrev">DCR</abbr> to erase the problem frame.</p> |
---|
1531 | </li> |
---|
1532 | <li> |
---|
1533 | <p>change the orientation of the plot by pressing Flag options |
---|
1534 | -> Portrait/Landscape. Cf <a href="#flagsubmenu" title= |
---|
1535 | "2.2.3. Flag options submenu">Section 2.2.3, |
---|
1536 | “<span class="guisubmenu">Flag options</span> |
---|
1537 | submenu”</a></p> |
---|
1538 | </li> |
---|
1539 | <li> |
---|
1540 | <p>quit XXX cleanly using <span class="guibutton">quit</span> from |
---|
1541 | the <span class="guimenu">File</span> menu. Cf <a href= |
---|
1542 | "#filesubmenu" title="2.2.1. File submenu">Section 2.2.1, |
---|
1543 | “<span class="guisubmenu">File</span> submenu”</a></p> |
---|
1544 | </li> |
---|
1545 | </ol> |
---|
1546 | </div> |
---|
1547 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
1548 | <h3 class="title">Note</h3> |
---|
1549 | <p>Always avoid if at all possible closing and killing the XXX |
---|
1550 | window, but rather select <span class="guibutton">quit</span> from |
---|
1551 | the <span class="guimenu">File</span> menu. XXX uses a large number |
---|
1552 | of pointers, and wantonly killing the window will leave a large |
---|
1553 | number of unused variables in memory, which could in the end |
---|
1554 | overflow. To clean up this memory:</p> |
---|
1555 | <pre class="screen"> |
---|
1556 | <code class="prompt">idl></code> <strong class= |
---|
1557 | "userinput"><code>ptr_free, ptr_valid()</code></strong> |
---|
1558 | </pre></div> |
---|
1559 | </div> |
---|
1560 | </div> |
---|
1561 | </body> |
---|
1562 | </html> |
---|