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 1st December 2004), see www.w3.org"> |
---|
6 | <meta http-equiv="Content-Type" content= |
---|
7 | "text/html; charset=us-ascii"> |
---|
8 | <title>First steps with SAXO</title> |
---|
9 | <link href="style.css" rel="stylesheet" type="text/css"> |
---|
10 | <link href="saxo.css" rel="stylesheet" type="text/css"> |
---|
11 | <meta content="DocBook XSL Stylesheets V1.71.1" name="generator"> |
---|
12 | <meta name="keywords" content="IDL, SAXO"> |
---|
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="N10003" id="N10003"></a> First steps |
---|
21 | with <span class="application">SAXO</span></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"> |
---|
29 | Sebastien.Masson_at_locean-ipsl.upmc.fr</a>></code></h3> |
---|
30 | </div> |
---|
31 | <div class="author"> |
---|
32 | <h3 class="author"><span class="firstname">Françoise</span> |
---|
33 | <span class="surname">Pinsard</span> <code class= |
---|
34 | "email"><<a href= |
---|
35 | "mailto:Francoise.Pinsard_at_locean-ipsl.upmc.fr">Francoise.Pinsard_at_locean-ipsl.upmc.fr</a>></code></h3> |
---|
36 | </div> |
---|
37 | </div> |
---|
38 | </div> |
---|
39 | <div><span class="pubdate">svn Id of xml source file : $Id: |
---|
40 | firststeps.xml 193 2006-09-22 10:13:30Z pinsard $<br> |
---|
41 | <br></span></div> |
---|
42 | <div> |
---|
43 | <div class="revhistory"> |
---|
44 | <table summary="Revision history" width="100%" border="1"> |
---|
45 | <tr> |
---|
46 | <th colspan="2" valign="top" align="left"><b>Revision |
---|
47 | History</b></th> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <td align="left">Revision 0.0</td> |
---|
51 | <td align="left">29 July 2005</td> |
---|
52 | </tr> |
---|
53 | <tr> |
---|
54 | <td colspan="2" align="left">First draft</td> |
---|
55 | </tr> |
---|
56 | <tr> |
---|
57 | <td align="left">Revision 0.1</td> |
---|
58 | <td align="left">29 August 2005</td> |
---|
59 | </tr> |
---|
60 | <tr> |
---|
61 | <td colspan="2" align="left">last Japanese version!</td> |
---|
62 | </tr> |
---|
63 | <tr> |
---|
64 | <td align="left">Revision 0.2</td> |
---|
65 | <td align="left">May 2006</td> |
---|
66 | </tr> |
---|
67 | <tr> |
---|
68 | <td colspan="2" align="left">split with getsaxo</td> |
---|
69 | </tr> |
---|
70 | </table> |
---|
71 | </div> |
---|
72 | </div> |
---|
73 | </div> |
---|
74 | <hr></div> |
---|
75 | <div class="toc"> |
---|
76 | <p><b>Table of Contents</b></p> |
---|
77 | <dl> |
---|
78 | <dt><span class="sect1"><a href="#beforefirststeps">1. Before |
---|
79 | this</a></span></dt> |
---|
80 | <dt><span class="sect1"><a href="#first_plots">2. First plots |
---|
81 | …</a></span></dt> |
---|
82 | <dd> |
---|
83 | <dl> |
---|
84 | <dt><span class="sect2"><a href="#start_with_init">2.1. Start IDL |
---|
85 | session: <strong class="userinput"><code><span><strong class= |
---|
86 | "command">@init</strong></span></code></strong></a></span></dt> |
---|
87 | <dt><span class="sect2"><a href="#basic_plots">2.2. basic plots |
---|
88 | …</a></span></dt> |
---|
89 | </dl> |
---|
90 | </dd> |
---|
91 | <dt><span class="sect1"><a href="#gridded_data">3. Explore gridded |
---|
92 | data (model outputs and observations)</a></span></dt> |
---|
93 | <dd> |
---|
94 | <dl> |
---|
95 | <dt><span class="sect2"><a href="#load_grid">3.1. Load the data |
---|
96 | grid</a></span></dt> |
---|
97 | <dt><span class="sect2"><a href="#plt">3.2. horizontal plots and |
---|
98 | maps</a></span></dt> |
---|
99 | <dt><span class="sect2"><a href="#pltz">3.3. vertical |
---|
100 | sections</a></span></dt> |
---|
101 | <dt><span class="sect2"><a href="#pltt">3.4. hovmoellers and time |
---|
102 | series</a></span></dt> |
---|
103 | <dt><span class="sect2"><a href="#plt1d">3.5. 1D |
---|
104 | plots</a></span></dt> |
---|
105 | </dl> |
---|
106 | </dd> |
---|
107 | </dl> |
---|
108 | </div> |
---|
109 | <div class="sect1" lang="en"> |
---|
110 | <div class="titlepage"> |
---|
111 | <div> |
---|
112 | <div> |
---|
113 | <h2 class="title" style="clear: both"><a name="beforefirststeps" |
---|
114 | id="beforefirststeps"></a>1. Before this</h2> |
---|
115 | </div> |
---|
116 | </div> |
---|
117 | </div> |
---|
118 | <p>In this document, we supposed that you followed <a href= |
---|
119 | "./getsaxo.html" target="_top">Get SAXO</a> recommendations.</p> |
---|
120 | </div> |
---|
121 | <div class="sect1" lang="en"> |
---|
122 | <div class="titlepage"> |
---|
123 | <div> |
---|
124 | <div> |
---|
125 | <h2 class="title" style="clear: both"><a name="first_plots" id= |
---|
126 | "first_plots"></a>2. First plots …</h2> |
---|
127 | </div> |
---|
128 | </div> |
---|
129 | </div> |
---|
130 | <div class="sect2" lang="en"> |
---|
131 | <div class="titlepage"> |
---|
132 | <div> |
---|
133 | <div> |
---|
134 | <h3 class="title"><a name="start_with_init" id= |
---|
135 | "start_with_init"></a>2.1. Start IDL session: <strong class= |
---|
136 | "userinput"><code><span><strong class= |
---|
137 | "command">@init</strong></span></code></strong></h3> |
---|
138 | </div> |
---|
139 | </div> |
---|
140 | </div> |
---|
141 | <p>Each IDL session using <span class="application">SAXO</span> |
---|
142 | must always start with: <code class="prompt">idl></code> |
---|
143 | <strong class="userinput"><code><span><strong class= |
---|
144 | "command">@init</strong></span></code></strong>.</p> |
---|
145 | <p><span class="emphasis"><em>The @ is equivalent to an include. It |
---|
146 | is used to execute a set of IDL commands that will be directly |
---|
147 | executed without any compilation (as it is the case for a procedure |
---|
148 | or a function). All variables defined and used in the @… |
---|
149 | file will still be accessible after the execution of the @… |
---|
150 | is finished (which is not the case for procedures and functions |
---|
151 | that ends with the return instruction).</em></span></p> |
---|
152 | <pre class="screen"> |
---|
153 | <code class="prompt">$</code> <strong class= |
---|
154 | "userinput"><code><span><strong class= |
---|
155 | "command">cd</strong></span> <code class="filename"><code class= |
---|
156 | "envar">${HOME}</code>/My_IDL/</code></code></strong> |
---|
157 | <code class="prompt">$</code> <strong class= |
---|
158 | "userinput"><code><span><strong class= |
---|
159 | "command">idl</strong></span></code></strong> |
---|
160 | <code class= |
---|
161 | "computeroutput">IDL Version 6.0, Mac OS X (darwin ppc m32). (c) 2003, Research Systems, Inc.</code> |
---|
162 | <code class="computeroutput">Installation number: 35411.</code> |
---|
163 | <code class= |
---|
164 | "computeroutput">Licensed for personal use by Jean-Philippe BOULANGER only.</code> |
---|
165 | <code class= |
---|
166 | "computeroutput">All other use is strictly prohibited.</code> |
---|
167 | <code class="prompt">idl></code> <strong class= |
---|
168 | "userinput"><code><span><strong class= |
---|
169 | "command">@init</strong></span></code></strong> |
---|
170 | <code class= |
---|
171 | "computeroutput">% Compiled module: KEEP_COMPATIBILITY.</code> |
---|
172 | <code class="computeroutput">% Compiled module: FIND.</code> |
---|
173 | <code class="computeroutput">% Compiled module: PATH_SEP.</code> |
---|
174 | <code class="computeroutput">% Compiled module: STRSPLIT.</code> |
---|
175 | <code class= |
---|
176 | "computeroutput">% Compiled module: DEF_MYUNIQUETMPDIR.</code> |
---|
177 | <code class= |
---|
178 | "computeroutput">We forget the compatibility with the old version</code> |
---|
179 | <code class= |
---|
180 | "computeroutput">% Compiled module: DEMOMODE_COMPATIBILITY.</code> |
---|
181 | <code class= |
---|
182 | "computeroutput">% Compiled module: ISADIRECTORY.</code> |
---|
183 | <code class="computeroutput">% Compiled module: LCT.</code> |
---|
184 | <code class="computeroutput">% Compiled module: RSTRPOS.</code> |
---|
185 | <code class="computeroutput">% Compiled module: REVERSE.</code> |
---|
186 | <code class="computeroutput">% Compiled module: STR_SEP.</code> |
---|
187 | <code class="computeroutput">% Compiled module: LOADCT.</code> |
---|
188 | <code class="prompt">idl></code> |
---|
189 | |
---|
190 | </pre> |
---|
191 | As an IDL session using <span class="application">SAXO</span> must |
---|
192 | always start with <code class="prompt">idl></code> |
---|
193 | <strong class="userinput"><code><span><strong class= |
---|
194 | "command">@init</strong></span></code></strong>, it could be |
---|
195 | convenient to define the environment variable <code class= |
---|
196 | "envar">IDL_STARTUP</code> to <code class="filename"><code class= |
---|
197 | "envar">${HOME}</code>/My_IDL/init.pro</code>. In that way, |
---|
198 | <code class="filename">init.pro</code> will automatically been |
---|
199 | executed when starting IDL. This can be done with the following |
---|
200 | command: |
---|
201 | <div class="variablelist"> |
---|
202 | <dl> |
---|
203 | <dt><span class="term"><span><strong class= |
---|
204 | "command">csh</strong></span></span></dt> |
---|
205 | <dd> |
---|
206 | <pre class="screen"> |
---|
207 | <code class="prompt">$</code> <strong class= |
---|
208 | "userinput"><code><span><strong class= |
---|
209 | "command">setenv</strong></span> <code class= |
---|
210 | "envar">IDL_STARTUP</code> <code class="filename"><code class= |
---|
211 | "envar">${HOME}</code>/My_IDL/init.pro</code></code></strong> |
---|
212 | </pre></dd> |
---|
213 | <dt><span class="term"><span><strong class= |
---|
214 | "command">ksh</strong></span></span></dt> |
---|
215 | <dd> |
---|
216 | <pre class="screen"> |
---|
217 | <code class="prompt">$</code> <strong class= |
---|
218 | "userinput"><code><span><strong class= |
---|
219 | "command">export</strong></span> <code class= |
---|
220 | "envar">IDL_STARTUP</code>=<code class="filename"><code class= |
---|
221 | "envar">${HOME}</code>/My_IDL/init.pro</code></code></strong> |
---|
222 | </pre></dd> |
---|
223 | </dl> |
---|
224 | </div> |
---|
225 | </div> |
---|
226 | <div class="sect2" lang="en"> |
---|
227 | <div class="titlepage"> |
---|
228 | <div> |
---|
229 | <div> |
---|
230 | <h3 class="title"><a name="basic_plots" id= |
---|
231 | "basic_plots"></a>2.2. basic plots …</h3> |
---|
232 | </div> |
---|
233 | </div> |
---|
234 | </div> |
---|
235 | <div class="sect3" lang="en"> |
---|
236 | <div class="titlepage"> |
---|
237 | <div> |
---|
238 | <div> |
---|
239 | <h4 class="title"><a name="basic_splot" id= |
---|
240 | "basic_splot"></a>2.2.1. splot</h4> |
---|
241 | </div> |
---|
242 | </div> |
---|
243 | </div> |
---|
244 | <div class="screenco"> |
---|
245 | <pre class="screen"> |
---|
246 | <code class="prompt">idl></code> <strong class= |
---|
247 | "userinput"><code><span><strong class= |
---|
248 | "command">n = 10</strong></span></code></strong> |
---|
249 | <code class="prompt">idl></code> <strong class= |
---|
250 | "userinput"><code><span><strong class= |
---|
251 | "command">y = findgen(n)</strong></span></code></strong> <img src= |
---|
252 | "images/callouts/1.png" alt="1"> |
---|
253 | <code class="prompt">idl></code> <strong class= |
---|
254 | "userinput"><code><span><strong class= |
---|
255 | "command">plot, y</strong></span></code></strong> <a href= |
---|
256 | "./figpng/basic_plot.png" target="_top"><span class= |
---|
257 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
258 | "show result"></span></a> |
---|
259 | |
---|
260 | </pre> |
---|
261 | <div class="calloutlist"> |
---|
262 | <table summary="Callout list" border="0"> |
---|
263 | <tr> |
---|
264 | <td align="left" valign="top" width="5%"><img border="0" alt="1" |
---|
265 | src="images/callouts/1.png"></td> |
---|
266 | <td align="left" valign="top"> |
---|
267 | <p><span><strong class="command">findgen</strong></span> stands for |
---|
268 | <span class="bold"><strong>f</strong></span>loat <span class= |
---|
269 | "bold"><strong>ind</strong></span>ex <span class= |
---|
270 | "bold"><strong>gen</strong></span>erator.</p> |
---|
271 | <pre class="screen"> |
---|
272 | <code class="prompt">idl></code> <strong class= |
---|
273 | "userinput"><code><span><strong class= |
---|
274 | "command">print, findgen(6)</strong></span></code></strong> |
---|
275 | <code class= |
---|
276 | "computeroutput"> 0.00000 1.00000 2.00000 3.00000 4.00000 5.00000</code> |
---|
277 | |
---|
278 | </pre></td> |
---|
279 | </tr> |
---|
280 | </table> |
---|
281 | </div> |
---|
282 | </div> |
---|
283 | <p>Using IDL <span><strong class="command">plot</strong></span> |
---|
284 | command is quite inconvenient to save the figure as a postscript. |
---|
285 | In addition, positioning the figure on the window/page by using |
---|
286 | <code class="varname">!p.position</code>, <code class= |
---|
287 | "varname">!p.region</code> and <code class= |
---|
288 | "varname">!p.multi</code> is often a nightmare. That's why we |
---|
289 | developed <span><strong class="command">splot</strong></span> (like |
---|
290 | super-plot) which can be used in the same way as plot but is much |
---|
291 | more convenient to make postscript and position the figure.</p> |
---|
292 | <pre class="screen"> |
---|
293 | <code class="prompt">idl></code> <strong class= |
---|
294 | "userinput"><code><span><strong class= |
---|
295 | "command">splot, y</strong></span></code></strong> <a href= |
---|
296 | "./figpng/basic_splot1.png" target="_top"><span class= |
---|
297 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
298 | "show result"></span></a> |
---|
299 | <code class="computeroutput">% Compiled module: SPLOT.</code> |
---|
300 | <code class="computeroutput">% Compiled module: REINITPLT.</code> |
---|
301 | <code class= |
---|
302 | "computeroutput">% Compiled module: PLACEDESSIN.</code> |
---|
303 | <code class="computeroutput">% Compiled module: CALIBRE.</code> |
---|
304 | <code class= |
---|
305 | "computeroutput">% Compiled module: GIVEWINDOWSIZE.</code> |
---|
306 | <code class= |
---|
307 | "computeroutput">% Compiled module: GET_SCREEN_SIZE.</code> |
---|
308 | <code class= |
---|
309 | "computeroutput">% Compiled module: TERMINEDESSIN.</code> |
---|
310 | |
---|
311 | </pre> |
---|
312 | Save the figure seen on the screen as a (real, not a screen |
---|
313 | capture) postscript in only one command. |
---|
314 | <div class="screenco"> |
---|
315 | <pre class="screen"> |
---|
316 | <code class="prompt">idl></code> <strong class= |
---|
317 | "userinput"><code><span><strong class= |
---|
318 | "command">@ps</strong></span></code></strong> |
---|
319 | <code class="computeroutput">% Compiled module: GETFILE.</code> |
---|
320 | <code class="computeroutput">% Compiled module: PUTFILE.</code> |
---|
321 | <code class="computeroutput">% Compiled module: OPENPS.</code> |
---|
322 | <code class="computeroutput">% Compiled module: XQUESTION.</code> |
---|
323 | <code class= |
---|
324 | "computeroutput">Name of the postscript file? (default answer is idl.ps)</code><strong class="userinput"><code>first_ps</code></strong> <img src="images/callouts/1.png" |
---|
325 | alt="1"> |
---|
326 | <code class="computeroutput">% Compiled module: ISAFILE.</code> |
---|
327 | <code class="computeroutput">% Compiled module: XNOTICE.</code> |
---|
328 | <code class="computeroutput">% Compiled module: CLOSEPS.</code> |
---|
329 | <code class="computeroutput">% Compiled module: PRINTPS.</code> |
---|
330 | <code class= |
---|
331 | "computeroutput">% Compiled module: FILE_WHICH.</code> |
---|
332 | <code class="computeroutput">% Compiled module: CW_BGROUP.</code> |
---|
333 | <code class="computeroutput">% Compiled module: XMANAGER.</code> |
---|
334 | |
---|
335 | </pre> |
---|
336 | <div class="calloutlist"> |
---|
337 | <table summary="Callout list" border="0"> |
---|
338 | <tr> |
---|
339 | <td align="left" valign="top" width="5%"><img border="0" alt="1" |
---|
340 | src="images/callouts/1.png"></td> |
---|
341 | <td align="left" valign="top"> |
---|
342 | <p><em><span class="remark">If needed, the name of the postscript |
---|
343 | will automatically be completed with .ps. Just hit return, if you |
---|
344 | want to use the default postscript name: <code class= |
---|
345 | "filename">idl.ps</code>.</span></em></p> |
---|
346 | </td> |
---|
347 | </tr> |
---|
348 | </table> |
---|
349 | </div> |
---|
350 | </div> |
---|
351 | Check that the “<span class="quote"><code class= |
---|
352 | "filename">first_ps.ps</code></span>” file is now existing |
---|
353 | … |
---|
354 | <pre class="screen"> |
---|
355 | <code class="prompt">idl></code> <strong class= |
---|
356 | "userinput"><code><span><strong class= |
---|
357 | "command">print, file_test(psdir + 'first_ps.ps')</strong></span></code></strong> |
---|
358 | <code class="computeroutput"> 1</code> |
---|
359 | <code class="prompt">idl></code> <strong class= |
---|
360 | "userinput"><code><span><strong class= |
---|
361 | "command">help, file_info(psdir + 'first_ps.ps'), /structure</strong></span></code></strong> |
---|
362 | <code class= |
---|
363 | "computeroutput">** Structure FILE_INFO, 21 tags, length=64, data length=63:</code> |
---|
364 | <code class= |
---|
365 | "computeroutput"> NAME STRING '/Users/sebastie/IDL/first_ps.ps'</code> |
---|
366 | <code class= |
---|
367 | "computeroutput"> EXISTS BYTE 1</code> |
---|
368 | <code class= |
---|
369 | "computeroutput"> READ BYTE 1</code> |
---|
370 | <code class= |
---|
371 | "computeroutput"> WRITE BYTE 1</code> |
---|
372 | <code class= |
---|
373 | "computeroutput"> EXECUTE BYTE 0</code> |
---|
374 | <code class= |
---|
375 | "computeroutput"> REGULAR BYTE 1</code> |
---|
376 | <code class= |
---|
377 | "computeroutput"> DIRECTORY BYTE 0</code> |
---|
378 | <code class= |
---|
379 | "computeroutput"> BLOCK_SPECIAL BYTE 0</code> |
---|
380 | <code class="computeroutput"> CHARACTER_SPECIAL</code> |
---|
381 | <code class= |
---|
382 | "computeroutput"> BYTE 0</code> |
---|
383 | <code class= |
---|
384 | "computeroutput"> NAMED_PIPE BYTE 0</code> |
---|
385 | <code class= |
---|
386 | "computeroutput"> SETUID BYTE 0</code> |
---|
387 | <code class= |
---|
388 | "computeroutput"> SETGID BYTE 0</code> |
---|
389 | <code class= |
---|
390 | "computeroutput"> SOCKET BYTE 0</code> |
---|
391 | <code class= |
---|
392 | "computeroutput"> STICKY_BIT BYTE 0</code> |
---|
393 | <code class= |
---|
394 | "computeroutput"> SYMLINK BYTE 0</code> |
---|
395 | <code class="computeroutput"> DANGLING_SYMLINK</code> |
---|
396 | <code class= |
---|
397 | "computeroutput"> BYTE 0</code> |
---|
398 | <code class= |
---|
399 | "computeroutput"> MODE LONG 420</code> |
---|
400 | <code class= |
---|
401 | "computeroutput"> ATIME LONG64 1122424373</code> |
---|
402 | <code class= |
---|
403 | "computeroutput"> CTIME LONG64 1122424373</code> |
---|
404 | <code class= |
---|
405 | "computeroutput"> MTIME LONG64 1122424373</code> |
---|
406 | <code class= |
---|
407 | "computeroutput"> SIZE LONG64 4913</code> |
---|
408 | |
---|
409 | </pre> |
---|
410 | <p><a name="splot_description" id="splot_description"></a> |
---|
411 | <span><strong class="command">splot</strong></span> accepts the |
---|
412 | same keywords as <span><strong class="command">plot</strong></span> |
---|
413 | (<code class="computeroutput"><a name="plot_kwd" id= |
---|
414 | "plot_kwd"></a>/ISOTROPIC, MAX_VALUE=value, MIN_VALUE=value, |
---|
415 | NSUM=value, /POLAR, THICK=value, /XLOG, /YLOG, /YNOZERO</code>), |
---|
416 | including the graphics keywords (<code class= |
---|
417 | "computeroutput"><a name="gr_kwd" id="gr_kwd"></a>BACKGROUND, |
---|
418 | CHARSIZE, CHARTHICK, CLIP, COLOR, DATA, DEVICE, FONT, LINESTYLE, |
---|
419 | NOCLIP, NODATA, NOERASE, NORMAL, POSITION, PSYM, SUBTITLE, SYMSIZE, |
---|
420 | T3D, THICK, TICKLEN, TITLE, [XYZ]CHARSIZE, [XYZ]GRIDSTYLE, |
---|
421 | [XYZ]MARGIN, [XYZ]MINOR, [XYZ]RANGE, [XYZ]STYLE, [XYZ]THICK, |
---|
422 | [XYZ]TICKFORMAT, [XYZ]TICKINTERVAL, [XYZ]TICKLAYOUT, [XYZ]TICKLEN, |
---|
423 | [XYZ]TICKNAME, [XYZ]TICKS, [XYZ]TICKUNITS, [XYZ]TICKV, |
---|
424 | [XYZ]TICK_GET, [XYZ]TITLE, ZVALUE</code>).</p> |
---|
425 | <p>It can therefore be customized <span class="emphasis"><em>as |
---|
426 | much as you want</em></span>. See this short example:</p> |
---|
427 | <pre class="screen"> |
---|
428 | <code class="prompt">idl></code> <strong class= |
---|
429 | "userinput"><code><span><strong class= |
---|
430 | "command">splot, y, y^2, linestyle = 2, thick = 2, title = 'y = x^2', /portrait</strong></span></code></strong> <a href="./figpng/basic_splot2.png" |
---|
431 | target="_top"><span class="inlinemediaobject"><img src= |
---|
432 | "images/showfig.png" alt="show result"></span></a> |
---|
433 | |
---|
434 | </pre> |
---|
435 | <span><strong class="command">splot</strong></span> can be used to |
---|
436 | setup the graphic environment (<code class="varname">!p</code>, |
---|
437 | <code class="varname">!x</code>, <code class="varname">!y</code>, |
---|
438 | <code class="varname">!z</code> variables) needed by procedures |
---|
439 | like <span><strong class="command">oplot</strong></span> |
---|
440 | <pre class="screen"> |
---|
441 | <code class="prompt">idl></code> <strong class= |
---|
442 | "userinput"><code><span><strong class= |
---|
443 | "command">splot, y, yrange = [0, (n-1)^2], title = 'x and x^2'</strong></span></code></strong> |
---|
444 | <code class="prompt">idl></code> <strong class= |
---|
445 | "userinput"><code><span><strong class= |
---|
446 | "command">oplot, y^2, color = 50, linestyle = 2</strong></span></code></strong> <a href="./figpng/basic_splot4.png" |
---|
447 | target="_top"><span class="inlinemediaobject"><img src= |
---|
448 | "images/showfig.png" alt="show result"></span></a> |
---|
449 | |
---|
450 | </pre> |
---|
451 | Use the keyword small to produce multi plots figures. |
---|
452 | <div class="screenco"> |
---|
453 | <pre class="screen"> |
---|
454 | <code class="prompt">idl></code> <strong class= |
---|
455 | "userinput"><code><span><strong class= |
---|
456 | "command">splot, y, y^2, title = 'y = x^2', psym = 2, small <span class="inlinemediaobject"><img src="images/callouts/1.png" |
---|
457 | alt="1"></span> = [1, 2, 1]</strong></span></code></strong> |
---|
458 | <code class="prompt">idl></code> <strong class= |
---|
459 | "userinput"><code><span><strong class= |
---|
460 | "command">splot, findgen(360)/36., findgen(360)*2.*!dtor, /polar $</strong></span></code></strong> |
---|
461 | <code class="prompt">idl></code> <strong class= |
---|
462 | "userinput"><code><span><strong class= |
---|
463 | "command"> , small <span class="inlinemediaobject"><img src= |
---|
464 | "images/callouts/1.png" alt= |
---|
465 | "1"></span> = [1, 2, 2], /noerase <span class= |
---|
466 | "inlinemediaobject"><img src="images/callouts/2.png" alt= |
---|
467 | "2"></span></strong></span></code></strong> <a href= |
---|
468 | "./figpng/basic_splot3.png" target="_top"><span class= |
---|
469 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
470 | "show result"></span></a> |
---|
471 | |
---|
472 | </pre> |
---|
473 | <div class="calloutlist"> |
---|
474 | <table summary="Callout list" border="0"> |
---|
475 | <tr> |
---|
476 | <td align="left" valign="top" width="5%"><img border="0" alt="1" |
---|
477 | src="images/callouts/1.png"></td> |
---|
478 | <td align="left" valign="top"> |
---|
479 | <p>the <code class="computeroutput">small</code> keyword is a 3 |
---|
480 | elements vector which defines how we divide the page and in which |
---|
481 | case we should make the plot: [number of columns, number of rows, |
---|
482 | case number]. The case numbering is starting at 1, from top to |
---|
483 | bottom and left to right.</p> |
---|
484 | </td> |
---|
485 | </tr> |
---|
486 | <tr> |
---|
487 | <td align="left" valign="top" width="5%"><img border="0" alt="2" |
---|
488 | src="images/callouts/2.png"></td> |
---|
489 | <td align="left" valign="top">you must put <code class= |
---|
490 | "computeroutput">/noerase</code> otherwise the second plot will be |
---|
491 | done in a new window.</td> |
---|
492 | </tr> |
---|
493 | </table> |
---|
494 | </div> |
---|
495 | </div> |
---|
496 | </div> |
---|
497 | <div class="sect3" lang="en"> |
---|
498 | <div class="titlepage"> |
---|
499 | <div> |
---|
500 | <div> |
---|
501 | <h4 class="title"><a name="basic_contour" id= |
---|
502 | "basic_contour"></a>2.2.2. scontour</h4> |
---|
503 | </div> |
---|
504 | </div> |
---|
505 | </div> |
---|
506 | <p>Following <span><strong class="command"><a href="#basic_splot" |
---|
507 | title="2.2.1. splot">splot</a></strong></span> example, we |
---|
508 | provide <span><strong class="command">scontour</strong></span> as a |
---|
509 | "super <span><strong class="command">contour</strong></span>".</p> |
---|
510 | <pre class="screen"> |
---|
511 | <code class="prompt">idl></code> <strong class= |
---|
512 | "userinput"><code><span><strong class= |
---|
513 | "command">z = dist(n)</strong></span></code></strong> |
---|
514 | <code class="computeroutput">% Compiled module: DIST.</code> |
---|
515 | <code class="prompt">idl></code> <strong class= |
---|
516 | "userinput"><code><span><strong class= |
---|
517 | "command">scontour, z</strong></span></code></strong> <a href= |
---|
518 | "./figpng/basic_scontour1.png" target="_top"><span class= |
---|
519 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
520 | "show result"></span></a> |
---|
521 | <code class="computeroutput">% Compiled module: SCONTOUR.</code> |
---|
522 | <code class="computeroutput">% Compiled module: CHKSTRU.</code> |
---|
523 | |
---|
524 | </pre> |
---|
525 | <span><strong class="command">scontour</strong></span> accepts the |
---|
526 | same keywords as <span><strong class= |
---|
527 | "command">contour</strong></span> (<code class= |
---|
528 | "computeroutput">C_ANNOTATION=vector_of_strings, C_CHARSIZE=value, |
---|
529 | C_CHARTHICK=integer, C_COLORS=vector, C_LABELS=vector{each element |
---|
530 | 0 or 1}, C_LINESTYLE=vector, { /FILL | /CELL_FILL | |
---|
531 | C_ORIENTATION=degrees}, C_SPACING=value, C_THICK=vector, /CLOSED, |
---|
532 | /DOWNHILL, /FOLLOW, /IRREGULAR, /ISOTROPIC, LEVELS=vector, |
---|
533 | NLEVELS=integer{1 to 60}, MAX_VALUE=value, MIN_VALUE=value, |
---|
534 | /OVERPLOT, {/PATH_DATA_COORDS, PATH_FILENAME=string, |
---|
535 | PATH_INFO=variable, PATH_XY=variable}, TRIANGULATION=variable, |
---|
536 | /PATH_DOUBLE, /XLOG, /YLOG, ZAXIS={0 | 1 | 2 | 3 | 4}</code>), |
---|
537 | including the <a href="#gr_kwd">graphics keywords</a> (except |
---|
538 | <code class="computeroutput">LINESTYLE, PSYM, SYMSIZE</code>). |
---|
539 | <p>It can therefore be customized <span class="emphasis"><em>as |
---|
540 | much as you want</em></span>. See these short examples:</p> |
---|
541 | <pre class="screen"> |
---|
542 | <code class="prompt">idl></code> <strong class= |
---|
543 | "userinput"><code><span><strong class= |
---|
544 | "command">scontour, z, /fill, nlevels = 15, subtitle = 'nicer contour' $</strong></span></code></strong> |
---|
545 | <code class="prompt">idl></code> <strong class= |
---|
546 | "userinput"><code><span><strong class= |
---|
547 | "command"> , xtitle = 'x index', charsize = 1.5</strong></span></code></strong> <a href="./figpng/basic_scontour2.png" |
---|
548 | target="_top"><span class="inlinemediaobject"><img src= |
---|
549 | "images/showfig.png" alt="show result"></span></a> |
---|
550 | |
---|
551 | </pre> |
---|
552 | It can be used in combination with contour to make more complex |
---|
553 | plots: |
---|
554 | <div class="screenco"> |
---|
555 | <pre class="screen"> |
---|
556 | <code class="prompt">idl></code> <strong class= |
---|
557 | "userinput"><code><span><strong class= |
---|
558 | "command">ind = findgen(2*n)/(2.*n)</strong></span></code></strong> |
---|
559 | <code class="prompt">idl></code> <strong class= |
---|
560 | "userinput"><code><span><strong class= |
---|
561 | "command">scontour, z, levels = n*ind, c_orientation = 180*ind, c_spacing = 0.4*ind</strong></span></code></strong> |
---|
562 | <code class="prompt">idl></code> <strong class= |
---|
563 | "userinput"><code><span><strong class= |
---|
564 | "command">contour, z, /overplot, c_label = rebin([1, 0], 2, n) <span class="inlinemediaobject"><img src="images/callouts/1.png" |
---|
565 | alt="1"></span>, levels = n*ind $</strong></span></code></strong> |
---|
566 | <code class="prompt">idl></code> <strong class= |
---|
567 | "userinput"><code><span><strong class= |
---|
568 | "command"> , c_charthick = 2, c_charsize = 1.5, c_colors = 250*ind</strong></span></code></strong> <a href="./figpng/basic_scontour3.png" |
---|
569 | target="_top"><span class="inlinemediaobject"><img src= |
---|
570 | "images/showfig.png" alt="show result"></span></a> |
---|
571 | |
---|
572 | </pre> |
---|
573 | <div class="calloutlist"> |
---|
574 | <table summary="Callout list" border="0"> |
---|
575 | <tr> |
---|
576 | <td align="left" valign="top" width="5%"><img border="0" alt="1" |
---|
577 | src="images/callouts/1.png"></td> |
---|
578 | <td align="left" valign="top"> |
---|
579 | <p><span><strong class="command">rebin</strong></span> is used to |
---|
580 | build an array containing an alternation of 1 and 0 in order to |
---|
581 | label one contour every two contours.</p> |
---|
582 | <pre class="screen"> |
---|
583 | <code class="prompt">idl></code> <strong class= |
---|
584 | "userinput"><code><span><strong class= |
---|
585 | "command">print, rebin([1, 0], 2, 3)</strong></span></code></strong> |
---|
586 | <code class="computeroutput"> 1 0</code> |
---|
587 | <code class="computeroutput"> 1 0</code> |
---|
588 | <code class="computeroutput"> 1 0</code> |
---|
589 | |
---|
590 | </pre></td> |
---|
591 | </tr> |
---|
592 | </table> |
---|
593 | </div> |
---|
594 | </div> |
---|
595 | <span><strong class="command">scontour</strong></span> is |
---|
596 | compatible with the positioning method associated with the |
---|
597 | <code class="computeroutput">small</code> keyword. See for example |
---|
598 | the test file <a href="../../Tests/tst_basic.pro" target= |
---|
599 | "_top"><code class="filename">tst_basic.pro</code></a>: |
---|
600 | <pre class="screen"> |
---|
601 | <code class="prompt">idl></code> <strong class= |
---|
602 | "userinput"><code><span><strong class= |
---|
603 | "command">tst_basic</strong></span></code></strong> <a href= |
---|
604 | "./figpng/tst_basic.png" target="_top"><span class= |
---|
605 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
606 | "show result"></span></a> |
---|
607 | |
---|
608 | </pre></div> |
---|
609 | <div class="sect3" lang="en"> |
---|
610 | <div class="titlepage"> |
---|
611 | <div> |
---|
612 | <div> |
---|
613 | <h4 class="title"><a name="tvplus" id="tvplus"></a>2.2.3. |
---|
614 | Quick look and explore 2D arrays: tvplus</h4> |
---|
615 | </div> |
---|
616 | </div> |
---|
617 | </div> |
---|
618 | <p><span><strong class="command">tvplus</strong></span> is a |
---|
619 | enhanced version of tvscl and allow you to have a quick look and |
---|
620 | perform basic exploration of 2D arrays.</p> |
---|
621 | <pre class="screen"> |
---|
622 | <code class="prompt">idl></code> <strong class= |
---|
623 | "userinput"><code><span><strong class= |
---|
624 | "command">tvplus, dist(20)</strong></span></code></strong> <a href= |
---|
625 | "./figpng/tvplus.png" target="_top"><span class= |
---|
626 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
627 | "show result"></span></a> |
---|
628 | <code class= |
---|
629 | "computeroutput">left button : mouse position and associated array value</code> |
---|
630 | <code class= |
---|
631 | "computeroutput">middle button: use it twice to define a zoom box</code> |
---|
632 | <code class="computeroutput">right button : quit</code> |
---|
633 | <code class= |
---|
634 | "computeroutput">(x, y) = ( 5, 5), value = 7.07107</code> |
---|
635 | <code class= |
---|
636 | "computeroutput">(x, y) = ( 12, 8), value = 11.3137</code> |
---|
637 | |
---|
638 | </pre> |
---|
639 | For more informations on <span><strong class= |
---|
640 | "command">tvplus</strong></span>, try: |
---|
641 | <pre class="screen"> |
---|
642 | <code class="prompt">idl></code> <strong class= |
---|
643 | "userinput"><code><span><strong class= |
---|
644 | "command">xhelp, 'tvplus'</strong></span></code></strong> |
---|
645 | |
---|
646 | </pre> |
---|
647 | To see the source code of <span><strong class= |
---|
648 | "command">tvplus</strong></span>, try: |
---|
649 | <pre class="screen"> |
---|
650 | <code class="prompt">idl></code> <strong class= |
---|
651 | "userinput"><code><span><strong class= |
---|
652 | "command">xfile, 'tvplus'</strong></span></code></strong> |
---|
653 | |
---|
654 | </pre> |
---|
655 | <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> |
---|
656 | <h3 class="title">New Feature</h3> |
---|
657 | <p>If you use an IDL 6.2 or later revision, you can simply get the |
---|
658 | help of any command by typing ?<em class= |
---|
659 | "replaceable"><code>command_name</code></em>, for example:</p> |
---|
660 | <pre class="screen"> |
---|
661 | <code class="prompt">idl></code> <strong class= |
---|
662 | "userinput"><code><span><strong class= |
---|
663 | "command">?tvplus</strong></span></code></strong> |
---|
664 | |
---|
665 | </pre></div> |
---|
666 | </div> |
---|
667 | <div class="sect3" lang="en"> |
---|
668 | <div class="titlepage"> |
---|
669 | <div> |
---|
670 | <div> |
---|
671 | <h4 class="title"><a name="pltv" id="pltv"></a>2.2.4. Formal |
---|
672 | quick look at 2D arrays: pltv</h4> |
---|
673 | </div> |
---|
674 | </div> |
---|
675 | </div> |
---|
676 | <p><span><strong class="command">pltv</strong></span> is a mix |
---|
677 | between <a href="#tvplus" title= |
---|
678 | "2.2.3. Quick look and explore 2D arrays: tvplus">tvplus</a> |
---|
679 | and <a href="#plt" title= |
---|
680 | "3.2. horizontal plots and maps">plt</a> and allow you to |
---|
681 | have formal quick look of 2D arrays.</p> |
---|
682 | <pre class="screen"> |
---|
683 | <code class="prompt">idl></code> <strong class= |
---|
684 | "userinput"><code><span><strong class= |
---|
685 | "command">pltv, dist(20)</strong></span></code></strong> <a href= |
---|
686 | "./figpng/pltv.png" target="_top"><span class= |
---|
687 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
688 | "show result"></span></a> |
---|
689 | |
---|
690 | </pre></div> |
---|
691 | </div> |
---|
692 | </div> |
---|
693 | <div class="sect1" lang="en"> |
---|
694 | <div class="titlepage"> |
---|
695 | <div> |
---|
696 | <div> |
---|
697 | <h2 class="title" style="clear: both"><a name="gridded_data" id= |
---|
698 | "gridded_data"></a>3. Explore gridded data (model outputs and |
---|
699 | observations)</h2> |
---|
700 | </div> |
---|
701 | </div> |
---|
702 | </div> |
---|
703 | <p>This section briefly describes the main functionalities offered |
---|
704 | by SAXO to explore gridded data on regular or irregular grid.</p> |
---|
705 | <div class="sect2" lang="en"> |
---|
706 | <div class="titlepage"> |
---|
707 | <div> |
---|
708 | <div> |
---|
709 | <h3 class="title"><a name="load_grid" id="load_grid"></a>3.1. |
---|
710 | Load the data grid</h3> |
---|
711 | </div> |
---|
712 | </div> |
---|
713 | </div> |
---|
714 | <p>As we focus in this section on the gridded data, we must first |
---|
715 | load the grid informations before reading and plotting the data. |
---|
716 | Loading the grid independently of the data allow you to reload the |
---|
717 | grid only when it is strictly necessary and not every time you |
---|
718 | access the data. In <code class="filename"><code class= |
---|
719 | "envar">${HOME}</code>/SAXO_DIR/Tests/</code>, we provide several |
---|
720 | examples to load a grid.</p> |
---|
721 | <div class="sect3" lang="en"> |
---|
722 | <div class="titlepage"> |
---|
723 | <div> |
---|
724 | <div> |
---|
725 | <h4 class="title"><a name="load_fromdata" id= |
---|
726 | "load_fromdata"></a>3.1.1. Easiest solution: load data grid |
---|
727 | (regular or not) directly from the data file.</h4> |
---|
728 | </div> |
---|
729 | </div> |
---|
730 | </div> |
---|
731 | <p>Example of Levitus temperature on a regular 1x1 grid.</p> |
---|
732 | <pre class="screen"> |
---|
733 | <code class="prompt">idl></code> <strong class= |
---|
734 | "userinput"><code><span><strong class= |
---|
735 | "command">@tst_initlev</strong></span></code></strong> |
---|
736 | <code class="computeroutput">% Compiled module: INITNCDF.</code> |
---|
737 | <code class="computeroutput">% Compiled module: ISAFILE.</code> |
---|
738 | <code class="computeroutput">% Compiled module: UNIQ.</code> |
---|
739 | <code class="computeroutput">% Loaded DLM: NCDF.</code> |
---|
740 | <code class= |
---|
741 | "computeroutput">% Compiled module: COMPUTEGRID.</code> |
---|
742 | <code class="computeroutput">% Compiled module: DOMDEF.</code> |
---|
743 | <code class="computeroutput">% Compiled module: INTER.</code> |
---|
744 | <code class="computeroutput">% Compiled module: TRIANGULE.</code> |
---|
745 | <code class= |
---|
746 | "computeroutput">% Compiled module: TRIANGULE_C.</code> |
---|
747 | <code class="computeroutput">% Compiled module: UNDEFINE.</code> |
---|
748 | <code class="computeroutput">% Compiled module: TESTVAR.</code> |
---|
749 | <code class="computeroutput">% Compiled module: DIFFERENT.</code> |
---|
750 | <code class="computeroutput">% Compiled module: DEFINETRI.</code> |
---|
751 | |
---|
752 | </pre> |
---|
753 | This <a href="../../Tests/tst_initlev.pro" target= |
---|
754 | "_top"><span><strong class= |
---|
755 | "command">@tst_initlev</strong></span></a> command allows us to |
---|
756 | define: |
---|
757 | <div class="itemizedlist"> |
---|
758 | <ul type="disc"> |
---|
759 | <li>domain dimensions, stored in <code class="varname">jpi, jpj and |
---|
760 | jpk</code></li> |
---|
761 | <li>points abscissa, stored in 2D array glamt</li> |
---|
762 | <li>points ordinates, stored in 2D array gphit</li> |
---|
763 | <li>points depths, stored in 1D array gdept</li> |
---|
764 | <li>cells corners abscissa, stored in 2D array glamf</li> |
---|
765 | <li>cells corners ordinates, stored in 2D array gphif</li> |
---|
766 | <li>cells upper boundary depth, stored in 1D array gdepw</li> |
---|
767 | <li>land-sea mask, stored in <code class= |
---|
768 | "varname">tmask</code></li> |
---|
769 | <li>the cells size in the longitudinal direction, stored in 2D |
---|
770 | array e1t</li> |
---|
771 | <li>the cells size in the latitudinal direction, stored in 2D array |
---|
772 | e2t</li> |
---|
773 | <li>the cells size in the vertical direction, stored in 1D array |
---|
774 | e3t</li> |
---|
775 | <li>the triangulation used to fill the land points, stored in |
---|
776 | triangles_list</li> |
---|
777 | </ul> |
---|
778 | </div> |
---|
779 | <pre class="screen"> |
---|
780 | <code class="prompt">idl></code> <strong class= |
---|
781 | "userinput"><code><span><strong class= |
---|
782 | "command">help, jpi,jpj,jpk</strong></span></code></strong> |
---|
783 | <code class= |
---|
784 | "computeroutput">JPI (LOCAL_COORD) LONG = 360</code> |
---|
785 | <code class= |
---|
786 | "computeroutput">JPJ (LOCAL_COORD) LONG = 180</code> |
---|
787 | <code class= |
---|
788 | "computeroutput">JPK (LOCAL_COORD) LONG = 33</code> |
---|
789 | <code class="prompt">idl></code> <strong class= |
---|
790 | "userinput"><code><span><strong class= |
---|
791 | "command">help, glamt, gphit,glamf, gphif</strong></span></code></strong> |
---|
792 | <code class= |
---|
793 | "computeroutput">GLAMT (LONGITUDES) FLOAT = Array[360, 180]</code> |
---|
794 | <code class= |
---|
795 | "computeroutput">GPHIT (LATITUDES) FLOAT = Array[360, 180]</code> |
---|
796 | <code class= |
---|
797 | "computeroutput">GLAMF (LONGITUDES) FLOAT = Array[360, 180]</code> |
---|
798 | <code class= |
---|
799 | "computeroutput">GPHIF (LATITUDES) FLOAT = Array[360, 180]</code> |
---|
800 | <code class="prompt">idl></code> <strong class= |
---|
801 | "userinput"><code><span><strong class= |
---|
802 | "command">help, gdept, gdepw</strong></span></code></strong> |
---|
803 | <code class= |
---|
804 | "computeroutput">GDEPT (VERTICAL) FLOAT = Array[33]</code> |
---|
805 | <code class= |
---|
806 | "computeroutput">GDEPW (VERTICAL) FLOAT = Array[33]</code> |
---|
807 | <code class="prompt">idl></code> <strong class= |
---|
808 | "userinput"><code><span><strong class= |
---|
809 | "command">help, e1t, e2t, e3t</strong></span></code></strong> |
---|
810 | <code class= |
---|
811 | "computeroutput">E1T (SCALE_FACTORS) FLOAT = Array[360, 180]</code> |
---|
812 | <code class= |
---|
813 | "computeroutput">E2T (SCALE_FACTORS) FLOAT = Array[360, 180]</code> |
---|
814 | <code class= |
---|
815 | "computeroutput">E3T (VERTICAL) FLOAT = Array[33]</code> |
---|
816 | <code class="prompt">idl></code> <strong class= |
---|
817 | "userinput"><code><span><strong class= |
---|
818 | "command">help, tmask</strong></span></code></strong> |
---|
819 | <code class= |
---|
820 | "computeroutput">TMASK (MASKS) BYTE = Array[360, 180, 33]</code> |
---|
821 | <code class="prompt">idl></code> <strong class= |
---|
822 | "userinput"><code><span><strong class= |
---|
823 | "command">help, triangles_list</strong></span></code></strong> |
---|
824 | <code class= |
---|
825 | "computeroutput">TRIANGLES_LIST (LIEES_A_TRIANGULE) LONG = Array[3, 128880]</code> |
---|
826 | <code class="prompt">idl></code> <strong class= |
---|
827 | "userinput"><code><span><strong class= |
---|
828 | "command">tvplus, glamt*tmask[*,*,0]</strong></span></code></strong> |
---|
829 | <code class="prompt">idl></code> <strong class= |
---|
830 | "userinput"><code><span><strong class= |
---|
831 | "command">tvplus, gphit*tmask[*,*,0]</strong></span></code></strong> |
---|
832 | |
---|
833 | </pre> |
---|
834 | We provide other initialization methods/examples |
---|
835 | <div class="itemizedlist"> |
---|
836 | <ul type="disc"> |
---|
837 | <li><a href="../../Tests/tst_initorca2_short.pro" target= |
---|
838 | "_top">@tst_initorca2_short</a> : ORCA2 example</li> |
---|
839 | <li><a href="../../Tests/tst_initorca05_short.pro" target= |
---|
840 | "_top">@tst_initorca05_short</a> : ORCA05 example</li> |
---|
841 | <li><a href="../../Tests/tst_initlev_stride.pro" target= |
---|
842 | "_top">@tst_initlev_stride</a> : same as @tst_initlev but we skip |
---|
843 | on point over 2 in x and y direction</li> |
---|
844 | <li><a href="../../Tests/tst_initorca2_short_stride.pro" target= |
---|
845 | "_top">@tst_initorca2_short_stride</a> : ORCA2 with stride</li> |
---|
846 | <li><a href="../../Tests/tst_initorca05_short_stride.pro" target= |
---|
847 | "_top">@tst_initorca05_short_stride</a> : ORCA05 with stride</li> |
---|
848 | <li><a href="../../Tests/tst_initlev_index.pro" target= |
---|
849 | "_top">@tst_initlev_index</a> : in that case we load the grid using |
---|
850 | points index as axis instead of the longitude/latitude |
---|
851 | position</li> |
---|
852 | <li><a href="../../Tests/tst_initorca2_index.pro" target= |
---|
853 | "_top">@tst_initorca2_index</a> : load ORCA2 as it see by the |
---|
854 | model</li> |
---|
855 | <li><a href="../../Tests/tst_initorca05_index.pro" target= |
---|
856 | "_top">@tst_initorca05_index</a> : load ORCA05 as it see by the |
---|
857 | model</li> |
---|
858 | <li><a href="../../Tests/tst_initlev_index_stride.pro" target= |
---|
859 | "_top">@tst_initlev_index_stride</a> : @tst_initlev_index with |
---|
860 | stride</li> |
---|
861 | <li><a href="../../Tests/tst_initorca2_index_stride.pro" target= |
---|
862 | "_top">@tst_initorca2_index_stride</a> : ORCA2 in index with |
---|
863 | stride</li> |
---|
864 | <li><a href="../../Tests/tst_initorca05_index_stride.pro" target= |
---|
865 | "_top">@tst_initorca05_index_stride</a> : ORCA05 in index with |
---|
866 | stride</li> |
---|
867 | </ul> |
---|
868 | </div> |
---|
869 | </div> |
---|
870 | <div class="sect3" lang="en"> |
---|
871 | <div class="titlepage"> |
---|
872 | <div> |
---|
873 | <div> |
---|
874 | <h4 class="title"><a name="load_meshmask" id= |
---|
875 | "load_meshmask"></a>3.1.2. Load the grid from OPA |
---|
876 | <code class="filename">meshmask</code> file</h4> |
---|
877 | </div> |
---|
878 | </div> |
---|
879 | </div> |
---|
880 | <p>When the grid is really irregular (its abscissa and ordinate |
---|
881 | cannot be descried by a vector), loading the grid directly from the |
---|
882 | data forces us to make an approximation when computing the grid |
---|
883 | corners position and the cells size. In that case, it can be |
---|
884 | preferable to load the grid from the meshmask file created by OPA. |
---|
885 | As OPA use a Arakawa-C discretization, loading the grid from the |
---|
886 | meshmask will also define all parameters related to the U, V and F |
---|
887 | grids (glam[uv],gphi[uv], e[12][uvf]). Note that, when using a |
---|
888 | simple <a href="#load_fromdata" title= |
---|
889 | "3.1.1. Easiest solution: load data grid (regular or not) directly from the data file."> |
---|
890 | grid definition from the data itself</a> (with <code class= |
---|
891 | "filename">initncdf</code> or <code class= |
---|
892 | "filename">computegrid</code>), adding the keyword /FULLCGRID leads |
---|
893 | also to the definition of all U, V and F grids parameters. There is |
---|
894 | the examples to load ORCA grids from OPA meshmask.</p> |
---|
895 | <div class="itemizedlist"> |
---|
896 | <ul type="disc"> |
---|
897 | <li><a href="../../Tests/tst_initorca2.pro" target= |
---|
898 | "_top">@tst_initorca2</a> : ORCA2</li> |
---|
899 | <li><a href="../../Tests/tst_initorca05.pro" target= |
---|
900 | "_top">@tst_initorca05</a> : ORCA05</li> |
---|
901 | <li><a href="../../Tests/tst_initorca2_stride.pro" target= |
---|
902 | "_top">@tst_initorca2_stride</a> : ORCA2 with stride</li> |
---|
903 | <li><a href="../../Tests/tst_initorca05_stride.pro" target= |
---|
904 | "_top">@tst_initorca05_stride</a> : ORCA05 with stride</li> |
---|
905 | <li><a href="../../Tests/tst_initorca2_index.pro" target= |
---|
906 | "_top">@tst_initorca2_index</a> : load ORCA2 as it see by the |
---|
907 | model</li> |
---|
908 | <li><a href="../../Tests/tst_initorca05_index.pro" target= |
---|
909 | "_top">@tst_initorca05_index</a> : load ORCA05 as it see by the |
---|
910 | model</li> |
---|
911 | <li><a href="../../Tests/tst_initorca2_index_stride.pro" target= |
---|
912 | "_top">@tst_initorca2_index_stride</a> : ORCA2 in index with |
---|
913 | stride</li> |
---|
914 | <li><a href="../../Tests/tst_initorca05_index_stride.pro" target= |
---|
915 | "_top">@tst_initorca05_index_stride</a> : ORCA05 in index with |
---|
916 | stride</li> |
---|
917 | </ul> |
---|
918 | </div> |
---|
919 | </div> |
---|
920 | </div> |
---|
921 | <div class="sect2" lang="en"> |
---|
922 | <div class="titlepage"> |
---|
923 | <div> |
---|
924 | <div> |
---|
925 | <h3 class="title"><a name="plt" id="plt"></a>3.2. horizontal |
---|
926 | plots and maps</h3> |
---|
927 | </div> |
---|
928 | </div> |
---|
929 | </div> |
---|
930 | <p>A quick presentation of horizontal plots and maps is shown in |
---|
931 | <a href="../../Tests/tst_plt.pro" target="_top">tst_plt</a>. After |
---|
932 | loading any of the grid (for example with one of the <a href= |
---|
933 | "#load_grid" title="3.1. Load the data grid">above |
---|
934 | examples</a>). Just try:</p> |
---|
935 | <pre class="screen"> |
---|
936 | <code class="prompt">idl></code> <strong class= |
---|
937 | "userinput"><code><span><strong class= |
---|
938 | "command">tst_plt</strong></span></code></strong> |
---|
939 | |
---|
940 | </pre> |
---|
941 | <p><span class="emphasis"><em>Beware, the command is |
---|
942 | <span><strong class="command">tst_plt</strong></span> and not |
---|
943 | <span><strong class="command">@tst_plt</strong></span> as |
---|
944 | <code class="filename">tst_plt.pro</code> is a procedure and not an |
---|
945 | include.</em></span></p> |
---|
946 | <p>See the results with</p> |
---|
947 | <div class="itemizedlist"> |
---|
948 | <ul type="disc"> |
---|
949 | <li><span><strong class="command">@tst_initlev</strong></span> |
---|
950 | <a href="figpng/tst_plt_lev_01.png" target="_top"><span class= |
---|
951 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
952 | "show result"></span></a> <a href="figpng/tst_plt_lev_02.png" |
---|
953 | target="_top"><span class="inlinemediaobject"><img src= |
---|
954 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
955 | "figpng/tst_plt_lev_03.png" target="_top"><span class= |
---|
956 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
957 | "show result"></span></a> <a href="figpng/tst_plt_lev_04.png" |
---|
958 | target="_top"><span class="inlinemediaobject"><img src= |
---|
959 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
960 | "figpng/tst_plt_lev_05.png" target="_top"><span class= |
---|
961 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
962 | "show result"></span></a> <a href="figpng/tst_plt_lev_06.png" |
---|
963 | target="_top"><span class="inlinemediaobject"><img src= |
---|
964 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
965 | "figpng/tst_plt_lev_07.png" target="_top"><span class= |
---|
966 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
967 | "show result"></span></a> <a href="figpng/tst_plt_lev_08.png" |
---|
968 | target="_top"><span class="inlinemediaobject"><img src= |
---|
969 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
970 | "figpng/tst_plt_lev_09.png" target="_top"><span class= |
---|
971 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
972 | "show result"></span></a> <a href="figpng/tst_plt_lev_10.png" |
---|
973 | target="_top"><span class="inlinemediaobject"><img src= |
---|
974 | "images/showfig.png" alt="show result"></span></a></li> |
---|
975 | <li><span><strong class="command">@tst_initorca2</strong></span> |
---|
976 | <a href="figpng/tst_plt_orca2_01.png" target="_top"><span class= |
---|
977 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
978 | "show result"></span></a> <a href="figpng/tst_plt_orca2_02.png" |
---|
979 | target="_top"><span class="inlinemediaobject"><img src= |
---|
980 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
981 | "figpng/tst_plt_orca2_03.png" target="_top"><span class= |
---|
982 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
983 | "show result"></span></a> <a href="figpng/tst_plt_orca2_04.png" |
---|
984 | target="_top"><span class="inlinemediaobject"><img src= |
---|
985 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
986 | "figpng/tst_plt_orca2_05.png" target="_top"><span class= |
---|
987 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
988 | "show result"></span></a> <a href="figpng/tst_plt_orca2_06.png" |
---|
989 | target="_top"><span class="inlinemediaobject"><img src= |
---|
990 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
991 | "figpng/tst_plt_orca2_07.png" target="_top"><span class= |
---|
992 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
993 | "show result"></span></a> <a href="figpng/tst_plt_orca2_08.png" |
---|
994 | target="_top"><span class="inlinemediaobject"><img src= |
---|
995 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
996 | "figpng/tst_plt_orca2_09.png" target="_top"><span class= |
---|
997 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
998 | "show result"></span></a> <a href="figpng/tst_plt_orca2_10.png" |
---|
999 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1000 | "images/showfig.png" alt="show result"></span></a></li> |
---|
1001 | <li><span><strong class="command">@tst_initorca05</strong></span> |
---|
1002 | <a href="figpng/tst_plt_orca05_01.png" target="_top"><span class= |
---|
1003 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1004 | "show result"></span></a> <a href="figpng/tst_plt_orca05_02.png" |
---|
1005 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1006 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1007 | "figpng/tst_plt_orca05_03.png" target="_top"><span class= |
---|
1008 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1009 | "show result"></span></a> <a href="figpng/tst_plt_orca05_04.png" |
---|
1010 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1011 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1012 | "figpng/tst_plt_orca05_05.png" target="_top"><span class= |
---|
1013 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1014 | "show result"></span></a> <a href="figpng/tst_plt_orca05_06.png" |
---|
1015 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1016 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1017 | "figpng/tst_plt_orca05_07.png" target="_top"><span class= |
---|
1018 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1019 | "show result"></span></a> <a href="figpng/tst_plt_orca05_08.png" |
---|
1020 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1021 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1022 | "figpng/tst_plt_orca05_09.png" target="_top"><span class= |
---|
1023 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1024 | "show result"></span></a> <a href="figpng/tst_plt_orca05_10.png" |
---|
1025 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1026 | "images/showfig.png" alt="show result"></span></a></li> |
---|
1027 | <li><span><strong class= |
---|
1028 | "command">@tst_initlev_stride</strong></span> <a href= |
---|
1029 | "figpng/tst_plt_lev_stride_01.png" target="_top"><span class= |
---|
1030 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1031 | "show result"></span></a> <a href= |
---|
1032 | "figpng/tst_plt_lev_stride_02.png" target="_top"><span class= |
---|
1033 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1034 | "show result"></span></a> <a href= |
---|
1035 | "figpng/tst_plt_lev_stride_03.png" target="_top"><span class= |
---|
1036 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1037 | "show result"></span></a> <a href= |
---|
1038 | "figpng/tst_plt_lev_stride_04.png" target="_top"><span class= |
---|
1039 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1040 | "show result"></span></a> <a href= |
---|
1041 | "figpng/tst_plt_lev_stride_05.png" target="_top"><span class= |
---|
1042 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1043 | "show result"></span></a> <a href= |
---|
1044 | "figpng/tst_plt_lev_stride_06.png" target="_top"><span class= |
---|
1045 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1046 | "show result"></span></a> <a href= |
---|
1047 | "figpng/tst_plt_lev_stride_07.png" target="_top"><span class= |
---|
1048 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1049 | "show result"></span></a> <a href= |
---|
1050 | "figpng/tst_plt_lev_stride_08.png" target="_top"><span class= |
---|
1051 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1052 | "show result"></span></a> <a href= |
---|
1053 | "figpng/tst_plt_lev_stride_09.png" target="_top"><span class= |
---|
1054 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1055 | "show result"></span></a> <a href= |
---|
1056 | "figpng/tst_plt_lev_stride_10.png" target="_top"><span class= |
---|
1057 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1058 | "show result"></span></a></li> |
---|
1059 | <li><span><strong class= |
---|
1060 | "command">@tst_initorca2_stride</strong></span> <a href= |
---|
1061 | "figpng/tst_plt_orca2_stride_01.png" target="_top"><span class= |
---|
1062 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1063 | "show result"></span></a> <a href= |
---|
1064 | "figpng/tst_plt_orca2_stride_02.png" target="_top"><span class= |
---|
1065 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1066 | "show result"></span></a> <a href= |
---|
1067 | "figpng/tst_plt_orca2_stride_03.png" target="_top"><span class= |
---|
1068 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1069 | "show result"></span></a> <a href= |
---|
1070 | "figpng/tst_plt_orca2_stride_04.png" target="_top"><span class= |
---|
1071 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1072 | "show result"></span></a> <a href= |
---|
1073 | "figpng/tst_plt_orca2_stride_05.png" target="_top"><span class= |
---|
1074 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1075 | "show result"></span></a> <a href= |
---|
1076 | "figpng/tst_plt_orca2_stride_06.png" target="_top"><span class= |
---|
1077 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1078 | "show result"></span></a> <a href= |
---|
1079 | "figpng/tst_plt_orca2_stride_07.png" target="_top"><span class= |
---|
1080 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1081 | "show result"></span></a> <a href= |
---|
1082 | "figpng/tst_plt_orca2_stride_08.png" target="_top"><span class= |
---|
1083 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1084 | "show result"></span></a> <a href= |
---|
1085 | "figpng/tst_plt_orca2_stride_09.png" target="_top"><span class= |
---|
1086 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1087 | "show result"></span></a> <a href= |
---|
1088 | "figpng/tst_plt_orca2_stride_10.png" target="_top"><span class= |
---|
1089 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1090 | "show result"></span></a></li> |
---|
1091 | <li><span><strong class= |
---|
1092 | "command">@tst_initorca05_stride</strong></span> <a href= |
---|
1093 | "figpng/tst_plt_orca05_stride_01.png" target="_top"><span class= |
---|
1094 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1095 | "show result"></span></a> <a href= |
---|
1096 | "figpng/tst_plt_orca05_stride_02.png" target="_top"><span class= |
---|
1097 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1098 | "show result"></span></a> <a href= |
---|
1099 | "figpng/tst_plt_orca05_stride_03.png" target="_top"><span class= |
---|
1100 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1101 | "show result"></span></a> <a href= |
---|
1102 | "figpng/tst_plt_orca05_stride_04.png" target="_top"><span class= |
---|
1103 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1104 | "show result"></span></a> <a href= |
---|
1105 | "figpng/tst_plt_orca05_stride_05.png" target="_top"><span class= |
---|
1106 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1107 | "show result"></span></a> <a href= |
---|
1108 | "figpng/tst_plt_orca05_stride_06.png" target="_top"><span class= |
---|
1109 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1110 | "show result"></span></a> <a href= |
---|
1111 | "figpng/tst_plt_orca05_stride_07.png" target="_top"><span class= |
---|
1112 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1113 | "show result"></span></a> <a href= |
---|
1114 | "figpng/tst_plt_orca05_stride_08.png" target="_top"><span class= |
---|
1115 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1116 | "show result"></span></a> <a href= |
---|
1117 | "figpng/tst_plt_orca05_stride_09.png" target="_top"><span class= |
---|
1118 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1119 | "show result"></span></a> <a href= |
---|
1120 | "figpng/tst_plt_orca05_stride_10.png" target="_top"><span class= |
---|
1121 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1122 | "show result"></span></a></li> |
---|
1123 | </ul> |
---|
1124 | </div> |
---|
1125 | </div> |
---|
1126 | <div class="sect2" lang="en"> |
---|
1127 | <div class="titlepage"> |
---|
1128 | <div> |
---|
1129 | <div> |
---|
1130 | <h3 class="title"><a name="pltz" id="pltz"></a>3.3. vertical |
---|
1131 | sections</h3> |
---|
1132 | </div> |
---|
1133 | </div> |
---|
1134 | </div> |
---|
1135 | <p>A quick presentation of vertical sections is shown in <a href= |
---|
1136 | "../../Tests/tst_pltz.pro" target="_top">tst_pltz</a>. After |
---|
1137 | loading any of the grid (for example with one of the <a href= |
---|
1138 | "#load_grid" title="3.1. Load the data grid">above |
---|
1139 | examples</a>). Just try:</p> |
---|
1140 | <pre class="screen"> |
---|
1141 | <code class="prompt">idl></code> <strong class= |
---|
1142 | "userinput"><code><span><strong class= |
---|
1143 | "command">tst_pltz</strong></span></code></strong> |
---|
1144 | |
---|
1145 | </pre> |
---|
1146 | <p><span class="emphasis"><em>Beware, the command is |
---|
1147 | <span><strong class="command">tst_pltz</strong></span> and not |
---|
1148 | <span><strong class="command">@tst_pltz</strong></span> as |
---|
1149 | <code class="filename">tst_pltz.pro</code> is a procedure and not |
---|
1150 | an include.</em></span></p> |
---|
1151 | <p>See the results with</p> |
---|
1152 | <div class="itemizedlist"> |
---|
1153 | <ul type="disc"> |
---|
1154 | <li><span><strong class="command">@tst_initlev</strong></span> |
---|
1155 | <a href="figpng/tst_pltz_lev_01.png" target="_top"><span class= |
---|
1156 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1157 | "show result"></span></a> <a href="figpng/tst_pltz_lev_02.png" |
---|
1158 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1159 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1160 | "figpng/tst_pltz_lev_03.png" target="_top"><span class= |
---|
1161 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1162 | "show result"></span></a> <a href="figpng/tst_pltz_lev_04.png" |
---|
1163 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1164 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1165 | "figpng/tst_pltz_lev_05.png" target="_top"><span class= |
---|
1166 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1167 | "show result"></span></a> <a href="figpng/tst_pltz_lev_06.png" |
---|
1168 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1169 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1170 | "figpng/tst_pltz_lev_07.png" target="_top"><span class= |
---|
1171 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1172 | "show result"></span></a> <a href="figpng/tst_pltz_lev_08.png" |
---|
1173 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1174 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1175 | "figpng/tst_pltz_lev_09.png" target="_top"><span class= |
---|
1176 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1177 | "show result"></span></a> <a href="figpng/tst_pltz_lev_10.png" |
---|
1178 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1179 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1180 | "figpng/tst_pltz_lev_11.png" target="_top"><span class= |
---|
1181 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1182 | "show result"></span></a></li> |
---|
1183 | <li><span><strong class="command">@tst_initorca2</strong></span> |
---|
1184 | <a href="figpng/tst_pltz_orca2_01.png" target="_top"><span class= |
---|
1185 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1186 | "show result"></span></a> <a href="figpng/tst_pltz_orca2_02.png" |
---|
1187 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1188 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1189 | "figpng/tst_pltz_orca2_03.png" target="_top"><span class= |
---|
1190 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1191 | "show result"></span></a> <a href="figpng/tst_pltz_orca2_04.png" |
---|
1192 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1193 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1194 | "figpng/tst_pltz_orca2_05.png" target="_top"><span class= |
---|
1195 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1196 | "show result"></span></a> <a href="figpng/tst_pltz_orca2_06.png" |
---|
1197 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1198 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1199 | "figpng/tst_pltz_orca2_07.png" target="_top"><span class= |
---|
1200 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1201 | "show result"></span></a> <a href="figpng/tst_pltz_orca2_08.png" |
---|
1202 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1203 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1204 | "figpng/tst_pltz_orca2_09.png" target="_top"><span class= |
---|
1205 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1206 | "show result"></span></a> <a href="figpng/tst_pltz_orca2_10.png" |
---|
1207 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1208 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1209 | "figpng/tst_pltz_orca2_11.png" target="_top"><span class= |
---|
1210 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1211 | "show result"></span></a> <a href="figpng/tst_pltz_orca2_12.png" |
---|
1212 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1213 | "images/showfig.png" alt="show result"></span></a></li> |
---|
1214 | <li><span><strong class="command">@tst_initorca05</strong></span> |
---|
1215 | <a href="figpng/tst_pltz_orca05_01.png" target="_top"><span class= |
---|
1216 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1217 | "show result"></span></a> <a href="figpng/tst_pltz_orca05_02.png" |
---|
1218 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1219 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1220 | "figpng/tst_pltz_orca05_03.png" target="_top"><span class= |
---|
1221 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1222 | "show result"></span></a> <a href="figpng/tst_pltz_orca05_04.png" |
---|
1223 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1224 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1225 | "figpng/tst_pltz_orca05_05.png" target="_top"><span class= |
---|
1226 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1227 | "show result"></span></a> <a href="figpng/tst_pltz_orca05_06.png" |
---|
1228 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1229 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1230 | "figpng/tst_pltz_orca05_07.png" target="_top"><span class= |
---|
1231 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1232 | "show result"></span></a> <a href="figpng/tst_pltz_orca05_08.png" |
---|
1233 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1234 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1235 | "figpng/tst_pltz_orca05_09.png" target="_top"><span class= |
---|
1236 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1237 | "show result"></span></a> <a href="figpng/tst_pltz_orca05_10.png" |
---|
1238 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1239 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1240 | "figpng/tst_pltz_orca05_11.png" target="_top"><span class= |
---|
1241 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1242 | "show result"></span></a> <a href="figpng/tst_pltz_orca05_12.png" |
---|
1243 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1244 | "images/showfig.png" alt="show result"></span></a></li> |
---|
1245 | <li><span><strong class= |
---|
1246 | "command">@tst_initlev_stride</strong></span> <a href= |
---|
1247 | "figpng/tst_pltz_lev_stride_01.png" target="_top"><span class= |
---|
1248 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1249 | "show result"></span></a> <a href= |
---|
1250 | "figpng/tst_pltz_lev_stride_02.png" target="_top"><span class= |
---|
1251 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1252 | "show result"></span></a> <a href= |
---|
1253 | "figpng/tst_pltz_lev_stride_03.png" target="_top"><span class= |
---|
1254 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1255 | "show result"></span></a> <a href= |
---|
1256 | "figpng/tst_pltz_lev_stride_04.png" target="_top"><span class= |
---|
1257 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1258 | "show result"></span></a> <a href= |
---|
1259 | "figpng/tst_pltz_lev_stride_05.png" target="_top"><span class= |
---|
1260 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1261 | "show result"></span></a> <a href= |
---|
1262 | "figpng/tst_pltz_lev_stride_06.png" target="_top"><span class= |
---|
1263 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1264 | "show result"></span></a> <a href= |
---|
1265 | "figpng/tst_pltz_lev_stride_07.png" target="_top"><span class= |
---|
1266 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1267 | "show result"></span></a> <a href= |
---|
1268 | "figpng/tst_pltz_lev_stride_08.png" target="_top"><span class= |
---|
1269 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1270 | "show result"></span></a> <a href= |
---|
1271 | "figpng/tst_pltz_lev_stride_09.png" target="_top"><span class= |
---|
1272 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1273 | "show result"></span></a> <a href= |
---|
1274 | "figpng/tst_pltz_lev_stride_10.png" target="_top"><span class= |
---|
1275 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1276 | "show result"></span></a> <a href= |
---|
1277 | "figpng/tst_pltz_lev_stride_11.png" target="_top"><span class= |
---|
1278 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1279 | "show result"></span></a></li> |
---|
1280 | <li><span><strong class= |
---|
1281 | "command">@tst_initorca2_stride</strong></span> <a href= |
---|
1282 | "figpng/tst_pltz_orca2_stride_01.png" target="_top"><span class= |
---|
1283 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1284 | "show result"></span></a> <a href= |
---|
1285 | "figpng/tst_pltz_orca2_stride_02.png" target="_top"><span class= |
---|
1286 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1287 | "show result"></span></a> <a href= |
---|
1288 | "figpng/tst_pltz_orca2_stride_03.png" target="_top"><span class= |
---|
1289 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1290 | "show result"></span></a> <a href= |
---|
1291 | "figpng/tst_pltz_orca2_stride_04.png" target="_top"><span class= |
---|
1292 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1293 | "show result"></span></a> <a href= |
---|
1294 | "figpng/tst_pltz_orca2_stride_05.png" target="_top"><span class= |
---|
1295 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1296 | "show result"></span></a> <a href= |
---|
1297 | "figpng/tst_pltz_orca2_stride_06.png" target="_top"><span class= |
---|
1298 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1299 | "show result"></span></a> <a href= |
---|
1300 | "figpng/tst_pltz_orca2_stride_07.png" target="_top"><span class= |
---|
1301 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1302 | "show result"></span></a> <a href= |
---|
1303 | "figpng/tst_pltz_orca2_stride_08.png" target="_top"><span class= |
---|
1304 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1305 | "show result"></span></a> <a href= |
---|
1306 | "figpng/tst_pltz_orca2_stride_09.png" target="_top"><span class= |
---|
1307 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1308 | "show result"></span></a> <a href= |
---|
1309 | "figpng/tst_pltz_orca2_stride_10.png" target="_top"><span class= |
---|
1310 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1311 | "show result"></span></a> <a href= |
---|
1312 | "figpng/tst_pltz_orca2_stride_11.png" target="_top"><span class= |
---|
1313 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1314 | "show result"></span></a></li> |
---|
1315 | <li><span><strong class= |
---|
1316 | "command">@tst_initorca05_stride</strong></span> <a href= |
---|
1317 | "figpng/tst_pltz_orca05_stride_01.png" target="_top"><span class= |
---|
1318 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1319 | "show result"></span></a> <a href= |
---|
1320 | "figpng/tst_pltz_orca05_stride_02.png" target="_top"><span class= |
---|
1321 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1322 | "show result"></span></a> <a href= |
---|
1323 | "figpng/tst_pltz_orca05_stride_03.png" target="_top"><span class= |
---|
1324 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1325 | "show result"></span></a> <a href= |
---|
1326 | "figpng/tst_pltz_orca05_stride_04.png" target="_top"><span class= |
---|
1327 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1328 | "show result"></span></a> <a href= |
---|
1329 | "figpng/tst_pltz_orca05_stride_05.png" target="_top"><span class= |
---|
1330 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1331 | "show result"></span></a> <a href= |
---|
1332 | "figpng/tst_pltz_orca05_stride_06.png" target="_top"><span class= |
---|
1333 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1334 | "show result"></span></a> <a href= |
---|
1335 | "figpng/tst_pltz_orca05_stride_07.png" target="_top"><span class= |
---|
1336 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1337 | "show result"></span></a> <a href= |
---|
1338 | "figpng/tst_pltz_orca05_stride_08.png" target="_top"><span class= |
---|
1339 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1340 | "show result"></span></a> <a href= |
---|
1341 | "figpng/tst_pltz_orca05_stride_09.png" target="_top"><span class= |
---|
1342 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1343 | "show result"></span></a> <a href= |
---|
1344 | "figpng/tst_pltz_orca05_stride_10.png" target="_top"><span class= |
---|
1345 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1346 | "show result"></span></a> <a href= |
---|
1347 | "figpng/tst_pltz_orca05_stride_11.png" target="_top"><span class= |
---|
1348 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1349 | "show result"></span></a></li> |
---|
1350 | </ul> |
---|
1351 | </div> |
---|
1352 | </div> |
---|
1353 | <div class="sect2" lang="en"> |
---|
1354 | <div class="titlepage"> |
---|
1355 | <div> |
---|
1356 | <div> |
---|
1357 | <h3 class="title"><a name="pltt" id="pltt"></a>3.4. |
---|
1358 | hovmoellers and time series</h3> |
---|
1359 | </div> |
---|
1360 | </div> |
---|
1361 | </div> |
---|
1362 | <p>A quick presentation of hovmoellers and time series is shown in |
---|
1363 | <a href="../../Tests/tst_pltt.pro" target="_top">tst_pltt</a>. |
---|
1364 | After loading any of the grid (for example with one of the <a href= |
---|
1365 | "#load_grid" title="3.1. Load the data grid">above |
---|
1366 | examples</a>). Just try:</p> |
---|
1367 | <pre class="screen"> |
---|
1368 | <code class="prompt">idl></code> <strong class= |
---|
1369 | "userinput"><code><span><strong class= |
---|
1370 | "command">tst_pltt</strong></span></code></strong> |
---|
1371 | |
---|
1372 | </pre> |
---|
1373 | <p><span class="emphasis"><em>Beware, the command is |
---|
1374 | <span><strong class="command">tst_pltt</strong></span> and not |
---|
1375 | <span><strong class="command">@tst_pltt</strong></span> as |
---|
1376 | <code class="filename">tst_pltt.pro</code> is a procedure and not |
---|
1377 | an include.</em></span></p> |
---|
1378 | <p>See the results with</p> |
---|
1379 | <div class="itemizedlist"> |
---|
1380 | <ul type="disc"> |
---|
1381 | <li><span><strong class="command">@tst_initlev</strong></span> |
---|
1382 | <a href="figpng/tst_pltt_lev_01.png" target="_top"><span class= |
---|
1383 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1384 | "show result"></span></a> <a href="figpng/tst_pltt_lev_02.png" |
---|
1385 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1386 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1387 | "figpng/tst_pltt_lev_03.png" target="_top"><span class= |
---|
1388 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1389 | "show result"></span></a> <a href="figpng/tst_pltt_lev_04.png" |
---|
1390 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1391 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1392 | "figpng/tst_pltt_lev_05.png" target="_top"><span class= |
---|
1393 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1394 | "show result"></span></a> <a href="figpng/tst_pltt_lev_06.png" |
---|
1395 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1396 | "images/showfig.png" alt="show result"></span></a></li> |
---|
1397 | <li><span><strong class="command">@tst_initorca2</strong></span> |
---|
1398 | <a href="figpng/tst_pltt_orca2_01.png" target="_top"><span class= |
---|
1399 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1400 | "show result"></span></a> <a href="figpng/tst_pltt_orca2_02.png" |
---|
1401 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1402 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1403 | "figpng/tst_pltt_orca2_03.png" target="_top"><span class= |
---|
1404 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1405 | "show result"></span></a> <a href="figpng/tst_pltt_orca2_04.png" |
---|
1406 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1407 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1408 | "figpng/tst_pltt_orca2_05.png" target="_top"><span class= |
---|
1409 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1410 | "show result"></span></a> <a href="figpng/tst_pltt_orca2_06.png" |
---|
1411 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1412 | "images/showfig.png" alt="show result"></span></a></li> |
---|
1413 | <li><span><strong class="command">@tst_initorca05</strong></span> |
---|
1414 | <a href="figpng/tst_pltt_orca05_01.png" target="_top"><span class= |
---|
1415 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1416 | "show result"></span></a> <a href="figpng/tst_pltt_orca05_02.png" |
---|
1417 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1418 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1419 | "figpng/tst_pltt_orca05_03.png" target="_top"><span class= |
---|
1420 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1421 | "show result"></span></a> <a href="figpng/tst_pltt_orca05_04.png" |
---|
1422 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1423 | "images/showfig.png" alt="show result"></span></a> <a href= |
---|
1424 | "figpng/tst_pltt_orca05_05.png" target="_top"><span class= |
---|
1425 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1426 | "show result"></span></a> <a href="figpng/tst_pltt_orca05_06.png" |
---|
1427 | target="_top"><span class="inlinemediaobject"><img src= |
---|
1428 | "images/showfig.png" alt="show result"></span></a></li> |
---|
1429 | <li><span><strong class= |
---|
1430 | "command">@tst_initlev_stride</strong></span> <a href= |
---|
1431 | "figpng/tst_pltt_lev_stride_01.png" target="_top"><span class= |
---|
1432 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1433 | "show result"></span></a> <a href= |
---|
1434 | "figpng/tst_pltt_lev_stride_02.png" target="_top"><span class= |
---|
1435 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1436 | "show result"></span></a> <a href= |
---|
1437 | "figpng/tst_pltt_lev_stride_03.png" target="_top"><span class= |
---|
1438 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1439 | "show result"></span></a> <a href= |
---|
1440 | "figpng/tst_pltt_lev_stride_04.png" target="_top"><span class= |
---|
1441 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1442 | "show result"></span></a> <a href= |
---|
1443 | "figpng/tst_pltt_lev_stride_05.png" target="_top"><span class= |
---|
1444 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1445 | "show result"></span></a> <a href= |
---|
1446 | "figpng/tst_pltt_lev_stride_06.png" target="_top"><span class= |
---|
1447 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1448 | "show result"></span></a></li> |
---|
1449 | <li><span><strong class= |
---|
1450 | "command">@tst_initorca2_stride</strong></span> <a href= |
---|
1451 | "figpng/tst_pltt_orca2_stride_01.png" target="_top"><span class= |
---|
1452 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1453 | "show result"></span></a> <a href= |
---|
1454 | "figpng/tst_pltt_orca2_stride_02.png" target="_top"><span class= |
---|
1455 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1456 | "show result"></span></a> <a href= |
---|
1457 | "figpng/tst_pltt_orca2_stride_03.png" target="_top"><span class= |
---|
1458 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1459 | "show result"></span></a> <a href= |
---|
1460 | "figpng/tst_pltt_orca2_stride_04.png" target="_top"><span class= |
---|
1461 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1462 | "show result"></span></a> <a href= |
---|
1463 | "figpng/tst_pltt_orca2_stride_05.png" target="_top"><span class= |
---|
1464 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1465 | "show result"></span></a> <a href= |
---|
1466 | "figpng/tst_pltt_orca2_stride_06.png" target="_top"><span class= |
---|
1467 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1468 | "show result"></span></a></li> |
---|
1469 | <li><span><strong class= |
---|
1470 | "command">@tst_initorca05_stride</strong></span> <a href= |
---|
1471 | "figpng/tst_pltt_orca05_stride_01.png" target="_top"><span class= |
---|
1472 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1473 | "show result"></span></a> <a href= |
---|
1474 | "figpng/tst_pltt_orca05_stride_02.png" target="_top"><span class= |
---|
1475 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1476 | "show result"></span></a> <a href= |
---|
1477 | "figpng/tst_pltt_orca05_stride_03.png" target="_top"><span class= |
---|
1478 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1479 | "show result"></span></a> <a href= |
---|
1480 | "figpng/tst_pltt_orca05_stride_04.png" target="_top"><span class= |
---|
1481 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1482 | "show result"></span></a> <a href= |
---|
1483 | "figpng/tst_pltt_orca05_stride_05.png" target="_top"><span class= |
---|
1484 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1485 | "show result"></span></a> <a href= |
---|
1486 | "figpng/tst_pltt_orca05_stride_06.png" target="_top"><span class= |
---|
1487 | "inlinemediaobject"><img src="images/showfig.png" alt= |
---|
1488 | "show result"></span></a></li> |
---|
1489 | </ul> |
---|
1490 | </div> |
---|
1491 | </div> |
---|
1492 | <div class="sect2" lang="en"> |
---|
1493 | <div class="titlepage"> |
---|
1494 | <div> |
---|
1495 | <div> |
---|
1496 | <h3 class="title"><a name="plt1d" id="plt1d"></a>3.5. 1D |
---|
1497 | plots</h3> |
---|
1498 | </div> |
---|
1499 | </div> |
---|
1500 | </div> |
---|
1501 | <p>To be continued …</p> |
---|
1502 | </div> |
---|
1503 | </div> |
---|
1504 | </div> |
---|
1505 | </body> |
---|
1506 | </html> |
---|