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