1 | = First steps with SAXO = |
---|
2 | [[PageOutline]] |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | == Before this == |
---|
10 | |
---|
11 | In this document, we supposed that you followed [wiki:GetSaxo Get SAXO] recommendations. |
---|
12 | |
---|
13 | == First plots ⊠== |
---|
14 | |
---|
15 | === Start IDL session: @init === |
---|
16 | |
---|
17 | Each IDL session using SAXO must always start with: |
---|
18 | |
---|
19 | {{{ |
---|
20 | #!html |
---|
21 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
22 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">@init</strong></span></code></strong> |
---|
23 | </pre> |
---|
24 | }}} |
---|
25 | ''The @ is equivalent to an include. It is used to execute a set of IDL commands that will be directly executed without any compilation (as it is the case for a procedure or a function). All variables defined and used in the @⊠file will still be accessible after the execution of the @⊠is finished (which is not the case for procedures and functions that ends with the return instruction).'' |
---|
26 | {{{ |
---|
27 | #!html |
---|
28 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
29 | <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">cd</strong></span> ${HOME}/My_IDL/</code></strong> |
---|
30 | <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">idl</strong></span></code></strong> |
---|
31 | <code class="computeroutput">IDL Version 6.0, Mac OS X (darwin ppc m32). (c) 2003, Research Systems, Inc.</code> |
---|
32 | <code class="computeroutput">Installation number: 35411.</code> |
---|
33 | <code class="computeroutput">Licensed for personal use by Jean-Philippe BOULANGER only.</code> |
---|
34 | <code class="computeroutput">All other use is strictly prohibited.</code> |
---|
35 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">@init</strong></span></code></strong> |
---|
36 | <code class="computeroutput">% Compiled module: KEEP_COMPATIBILITY.</code> |
---|
37 | <code class="computeroutput">% Compiled module: FIND.</code> |
---|
38 | <code class="computeroutput">% Compiled module: PATH_SEP.</code> |
---|
39 | <code class="computeroutput">% Compiled module: STRSPLIT.</code> |
---|
40 | <code class="computeroutput">% Compiled module: DEF_MYUNIQUETMPDIR.</code> |
---|
41 | <code class="computeroutput">We forget the compatibility with the old version</code> |
---|
42 | <code class="computeroutput">% Compiled module: DEMOMODE_COMPATIBILITY.</code> |
---|
43 | <code class="computeroutput">% Compiled module: ISADIRECTORY.</code> |
---|
44 | <code class="computeroutput">% Compiled module: LCT.</code> |
---|
45 | <code class="computeroutput">% Compiled module: RSTRPOS.</code> |
---|
46 | <code class="computeroutput">% Compiled module: REVERSE.</code> |
---|
47 | <code class="computeroutput">% Compiled module: STR_SEP.</code> |
---|
48 | <code class="computeroutput">% Compiled module: LOADCT.</code> |
---|
49 | <code class="prompt">idl></code> |
---|
50 | </pre> |
---|
51 | }}} |
---|
52 | |
---|
53 | As an IDL session using SAXO must always start with : |
---|
54 | |
---|
55 | {{{ |
---|
56 | #!html |
---|
57 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
58 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">@init</strong></span></code></strong> |
---|
59 | </pre> |
---|
60 | }}} |
---|
61 | |
---|
62 | , it could be convenient to define the environment variable IDL_STARTUP to {{{${HOME}/My_IDL/init.pro}}}. In that way, {{{init.pro}}} will automatically been executed when starting IDL. This can be done with the following command: |
---|
63 | |
---|
64 | |
---|
65 | '''csh''' |
---|
66 | {{{ |
---|
67 | #!html |
---|
68 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"><code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">setenv</strong></span> IDL_STARTUP ${HOME}/My_IDL/init.pro</code></strong></pre> |
---|
69 | }}} |
---|
70 | |
---|
71 | |
---|
72 | '''ksh''' |
---|
73 | {{{ |
---|
74 | #!html |
---|
75 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"><code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">export</strong></span> IDL_STARTUP=${HOME}/My_IDL/init.pro</code></strong></pre> |
---|
76 | }}} |
---|
77 | |
---|
78 | |
---|
79 | === Basic plots ⊠=== |
---|
80 | |
---|
81 | ==== splot ==== |
---|
82 | |
---|
83 | |
---|
84 | |
---|
85 | |
---|
86 | |
---|
87 | {{{ |
---|
88 | #!html |
---|
89 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
90 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">n = 10</strong></span></code></strong> |
---|
91 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">y = findgen(n)</strong></span></code></strong> [[Image(source:/trunk/SRC/Documentation/xmldoc/images/callouts/1.png)]]1 |
---|
92 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">plot, y</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_plot.png show result] |
---|
93 | </pre> |
---|
94 | }}} |
---|
95 | |
---|
96 | |
---|
97 | [[Image(source:/trunk/SRC/Documentation/xmldoc/images/callouts/1.png)]] |
---|
98 | {{{findgen}}} stands for '''f'''loat '''ind'''ex '''gen'''erator. |
---|
99 | |
---|
100 | {{{ |
---|
101 | #!html |
---|
102 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
103 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">print, findgen(6)</strong></span></code></strong> |
---|
104 | <code class="computeroutput"> 0.00000 1.00000 2.00000 3.00000 4.00000 5.00000</code> |
---|
105 | </pre> |
---|
106 | }}} |
---|
107 | |
---|
108 | |
---|
109 | |
---|
110 | |
---|
111 | Using IDL {{{plot}}} command is quite inconvenient to save the figure as a postscript. In addition, positioning the figure on the window/page by using {{{!p.position}}}, {{{!p.region}}} and {{{!p.multi}}} is often a nightmare. That's why we developed {{{splot}}} (like super-plot) which can be used in the same way as plot but is much more convenient to make postscript and position the figure. |
---|
112 | |
---|
113 | {{{ |
---|
114 | #!html |
---|
115 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
116 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">splot, y</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_splot1.png show result] |
---|
117 | <code class="computeroutput">% Compiled module: SPLOT.</code> |
---|
118 | <code class="computeroutput">% Compiled module: REINITPLT.</code> |
---|
119 | <code class="computeroutput">% Compiled module: PLACEDESSIN.</code> |
---|
120 | <code class="computeroutput">% Compiled module: CALIBRE.</code> |
---|
121 | <code class="computeroutput">% Compiled module: GIVEWINDOWSIZE.</code> |
---|
122 | <code class="computeroutput">% Compiled module: GET_SCREEN_SIZE.</code> |
---|
123 | <code class="computeroutput">% Compiled module: TERMINEDESSIN.</code> |
---|
124 | </pre> |
---|
125 | }}} |
---|
126 | |
---|
127 | Save the figure seen on the screen as a (real, not a screen capture) postscript in only one command. |
---|
128 | |
---|
129 | |
---|
130 | |
---|
131 | |
---|
132 | |
---|
133 | {{{ |
---|
134 | #!html |
---|
135 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
136 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">@ps</strong></span></code></strong> |
---|
137 | <code class="computeroutput">% Compiled module: GETFILE.</code> |
---|
138 | <code class="computeroutput">% Compiled module: PUTFILE.</code> |
---|
139 | <code class="computeroutput">% Compiled module: OPENPS.</code> |
---|
140 | <code class="computeroutput">% Compiled module: XQUESTION.</code> |
---|
141 | <code class="computeroutput">Name of the postscript file? (default answer is idl.ps)</code><strong class="userinput"><code>first_ps</code></strong> [[Image(source:/trunk/SRC/Documentation/xmldoc/images/callouts/1.png)]]1 |
---|
142 | <code class="computeroutput">% Compiled module: ISAFILE.</code> |
---|
143 | <code class="computeroutput">% Compiled module: XNOTICE.</code> |
---|
144 | <code class="computeroutput">% Compiled module: CLOSEPS.</code> |
---|
145 | <code class="computeroutput">% Compiled module: PRINTPS.</code> |
---|
146 | <code class="computeroutput">% Compiled module: FILE_WHICH.</code> |
---|
147 | <code class="computeroutput">% Compiled module: CW_BGROUP.</code> |
---|
148 | <code class="computeroutput">% Compiled module: XMANAGER.</code> |
---|
149 | </pre> |
---|
150 | }}} |
---|
151 | |
---|
152 | |
---|
153 | [[Image(source:/trunk/SRC/Documentation/xmldoc/images/callouts/1.png)]] |
---|
154 | |
---|
155 | If needed, the name of the postscript will automatically be completed with .ps. Just hit return, if you want to use the default postscript name: {{{idl.ps}}}. |
---|
156 | |
---|
157 | |
---|
158 | |
---|
159 | |
---|
160 | Check that the "first_ps.ps" file is now existing ⊠|
---|
161 | |
---|
162 | {{{ |
---|
163 | #!html |
---|
164 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
165 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">print, file_test(psdir + 'first_ps.ps')</strong></span></code></strong> |
---|
166 | <code class="computeroutput"> 1</code> |
---|
167 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">help, file_info(psdir + 'first_ps.ps'), /structure</strong></span></code></strong> |
---|
168 | <code class="computeroutput">** Structure FILE_INFO, 21 tags, length=64, data length=63:</code> |
---|
169 | <code class="computeroutput"> NAME STRING '/Users/sebastie/IDL/first_ps.ps'</code> |
---|
170 | <code class="computeroutput"> EXISTS BYTE 1</code> |
---|
171 | <code class="computeroutput"> READ BYTE 1</code> |
---|
172 | <code class="computeroutput"> WRITE BYTE 1</code> |
---|
173 | <code class="computeroutput"> EXECUTE BYTE 0</code> |
---|
174 | <code class="computeroutput"> REGULAR BYTE 1</code> |
---|
175 | <code class="computeroutput"> DIRECTORY BYTE 0</code> |
---|
176 | <code class="computeroutput"> BLOCK_SPECIAL BYTE 0</code> |
---|
177 | <code class="computeroutput"> CHARACTER_SPECIAL</code> |
---|
178 | <code class="computeroutput"> BYTE 0</code> |
---|
179 | <code class="computeroutput"> NAMED_PIPE BYTE 0</code> |
---|
180 | <code class="computeroutput"> SETUID BYTE 0</code> |
---|
181 | <code class="computeroutput"> SETGID BYTE 0</code> |
---|
182 | <code class="computeroutput"> SOCKET BYTE 0</code> |
---|
183 | <code class="computeroutput"> STICKY_BIT BYTE 0</code> |
---|
184 | <code class="computeroutput"> SYMLINK BYTE 0</code> |
---|
185 | <code class="computeroutput"> DANGLING_SYMLINK</code> |
---|
186 | <code class="computeroutput"> BYTE 0</code> |
---|
187 | <code class="computeroutput"> MODE LONG 420</code> |
---|
188 | <code class="computeroutput"> ATIME LONG64 1122424373</code> |
---|
189 | <code class="computeroutput"> CTIME LONG64 1122424373</code> |
---|
190 | <code class="computeroutput"> MTIME LONG64 1122424373</code> |
---|
191 | <code class="computeroutput"> SIZE LONG64 4913</code> |
---|
192 | </pre> |
---|
193 | }}} |
---|
194 | {{{splot}}} accepts the same keywords as {{{plot}}} (/ISOTROPIC, MAX_VALUE=value, MIN_VALUE=value, NSUM=value, /POLAR, THICK=value, /XLOG, /YLOG, /YNOZERO), including the graphics keywords (BACKGROUND, CHARSIZE, CHARTHICK, CLIP, COLOR, DATA, DEVICE, FONT, LINESTYLE, NOCLIP, NODATA, NOERASE, NORMAL, POSITION, PSYM, SUBTITLE, SYMSIZE, T3D, THICK, TICKLEN, TITLE, [XYZ]CHARSIZE, [XYZ]GRIDSTYLE, [XYZ]MARGIN, [XYZ]MINOR, [XYZ]RANGE, [XYZ]STYLE, [XYZ]THICK, [XYZ]TICKFORMAT, [XYZ]TICKINTERVAL, [XYZ]TICKLAYOUT, [XYZ]TICKLEN, [XYZ]TICKNAME, [XYZ]TICKS, [XYZ]TICKUNITS, [XYZ]TICKV, [XYZ]TICK_GET, [XYZ]TITLE, ZVALUE). |
---|
195 | |
---|
196 | It can therefore be customized ''as much as you want''. See this short example: |
---|
197 | |
---|
198 | {{{ |
---|
199 | #!html |
---|
200 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
201 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">splot, y, y^2, linestyle = 2, thick = 2, title = 'y = x^2', /portrait</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_splot2.png show result] |
---|
202 | </pre> |
---|
203 | }}} |
---|
204 | {{{splot}}} can be used to setup the graphic environment ({{{!p}}}, {{{!x}}}, {{{!y}}}, {{{!z}}} variables) needed by procedures like {{{oplot}}} |
---|
205 | {{{ |
---|
206 | #!html |
---|
207 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
208 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">splot, y, yrange = [0, (n-1)^2], title = 'x and x^2'</strong></span></code></strong> |
---|
209 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">oplot, y^2, color = 50, linestyle = 2</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_splot4.png show result] |
---|
210 | </pre> |
---|
211 | }}} |
---|
212 | |
---|
213 | Use the keyword small to produce multi plots figures. |
---|
214 | |
---|
215 | |
---|
216 | |
---|
217 | |
---|
218 | |
---|
219 | |
---|
220 | |
---|
221 | |
---|
222 | |
---|
223 | {{{ |
---|
224 | #!html |
---|
225 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
226 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">splot, y, y^2, title = 'y = x^2', psym = 2, small 1 = [1, 2, 1]</strong></span></code></strong> |
---|
227 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">splot, findgen(360)/36., findgen(360)*2.*!dtor, /polar $</strong></span></code></strong> |
---|
228 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command"> , small 1 = [1, 2, 2], /noerase 2</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_splot3.png show result] |
---|
229 | </pre> |
---|
230 | }}} |
---|
231 | |
---|
232 | |
---|
233 | [[Image(source:/trunk/SRC/Documentation/xmldoc/images/callouts/1.png)]] |
---|
234 | |
---|
235 | the small keyword is a 3 elements vector which defines how we divide the page and in which case we should make the plot: [number of columns, number of rows, case number]. The case numbering is starting at 1, from top to bottom and left to right. |
---|
236 | |
---|
237 | |
---|
238 | [[Image(source:/trunk/SRC/Documentation/xmldoc/images/callouts/2.png)]] |
---|
239 | |
---|
240 | you must put /noerase otherwise the second plot will be done in a new window. |
---|
241 | |
---|
242 | |
---|
243 | |
---|
244 | |
---|
245 | ==== scontour ==== |
---|
246 | |
---|
247 | Following {{{splot}}} example, we provide {{{scontour}}} as a "super contour". |
---|
248 | |
---|
249 | {{{ |
---|
250 | #!html |
---|
251 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
252 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">z = dist(n)</strong></span></code></strong> |
---|
253 | <code class="computeroutput">% Compiled module: DIST.</code> |
---|
254 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">scontour, z</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_scontour1.png show result] |
---|
255 | <code class="computeroutput">% Compiled module: SCONTOUR.</code> |
---|
256 | <code class="computeroutput">% Compiled module: CHKSTRU.</code> |
---|
257 | </pre> |
---|
258 | }}} |
---|
259 | {{{scontour}}} accepts the same keywords as {{{contour}}} (C_ANNOTATION=vector_of_strings, C_CHARSIZE=value, C_CHARTHICK=integer, C_COLORS=vector, C_LABELS=vector{each element 0 or 1}, C_LINESTYLE=vector, { /FILL | /CELL_FILL | C_ORIENTATION=degrees}, C_SPACING=value, C_THICK=vector, /CLOSED, /DOWNHILL, /FOLLOW, /IRREGULAR, /ISOTROPIC, LEVELS=vector, NLEVELS=integer{1 to 60}, MAX_VALUE=value, MIN_VALUE=value, /OVERPLOT, {/PATH_DATA_COORDS, PATH_FILENAME=string, PATH_INFO=variable, PATH_XY=variable}, TRIANGULATION=variable, /PATH_DOUBLE, /XLOG, /YLOG, ZAXIS={0 | 1 | 2 | 3 | 4}), including the [#FirststepswithSAXO] (except LINESTYLE, PSYM, SYMSIZE). |
---|
260 | It can therefore be customized ''as much as you want''. See these short examples: |
---|
261 | {{{ |
---|
262 | #!html |
---|
263 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
264 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">scontour, z, /fill, nlevels = 15, subtitle = 'nicer contour' $</strong></span></code></strong> |
---|
265 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command"> , xtitle = 'x index', charsize = 1.5</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_scontour2.png show result] |
---|
266 | </pre> |
---|
267 | }}} |
---|
268 | |
---|
269 | It can be used in combination with contour to make more complex plots: |
---|
270 | |
---|
271 | |
---|
272 | |
---|
273 | |
---|
274 | |
---|
275 | {{{ |
---|
276 | #!html |
---|
277 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
278 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">ind = findgen(2*n)/(2.*n)</strong></span></code></strong> |
---|
279 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">scontour, z, levels = n*ind, c_orientation = 180*ind, c_spacing = 0.4*ind</strong></span></code></strong> |
---|
280 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">contour, z, /overplot, c_label = rebin([1, 0], 2, n) 1, levels = n*ind $</strong></span></code></strong> |
---|
281 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command"> , c_charthick = 2, c_charsize = 1.5, c_colors = 250*ind</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/basic_scontour3.png show result] |
---|
282 | </pre> |
---|
283 | }}} |
---|
284 | |
---|
285 | |
---|
286 | [[Image(source:/trunk/SRC/Documentation/xmldoc/images/callouts/1.png)]] |
---|
287 | {{{rebin}}} is used to build an array containing an alternation of 1 and 0 in order to label one contour every two contours. |
---|
288 | |
---|
289 | {{{ |
---|
290 | #!html |
---|
291 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
292 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">print, rebin([1, 0], 2, 3)</strong></span></code></strong> |
---|
293 | <code class="computeroutput"> 1 0</code> |
---|
294 | <code class="computeroutput"> 1 0</code> |
---|
295 | <code class="computeroutput"> 1 0</code> |
---|
296 | </pre> |
---|
297 | }}} |
---|
298 | |
---|
299 | |
---|
300 | |
---|
301 | {{{scontour}}} is compatible with the positioning method associated with the small keyword. See for example the test file [source:/trunk/SRC/Tests/tst_basic.pro tst_basic.pro]: |
---|
302 | |
---|
303 | {{{ |
---|
304 | #!html |
---|
305 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
306 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">tst_basic</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/tst_basic.png show result] |
---|
307 | </pre> |
---|
308 | }}} |
---|
309 | |
---|
310 | ==== Quick look and explore 2D arrays: tvplus ==== |
---|
311 | {{{tvplus}}} is a enhanced version of {{{tvscl}}} and allow you to have a quick look and perform basic exploration of 2D arrays. |
---|
312 | |
---|
313 | {{{ |
---|
314 | #!html |
---|
315 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
316 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">tvplus, dist(20)</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/tvplus.png show result] |
---|
317 | <code class="computeroutput">left button : mouse position and associated array value</code> |
---|
318 | <code class="computeroutput">middle button: use it twice to define a zoom box</code> |
---|
319 | <code class="computeroutput">right button : quit</code> |
---|
320 | <code class="computeroutput">(x, y) = ( 5, 5), value = 7.07107</code> |
---|
321 | <code class="computeroutput">(x, y) = ( 12, 8), value = 11.3137</code> |
---|
322 | </pre> |
---|
323 | }}} |
---|
324 | |
---|
325 | For more informations on {{{tvplus}}}, try: |
---|
326 | |
---|
327 | {{{ |
---|
328 | #!html |
---|
329 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
330 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">xhelp, 'tvplus'</strong></span></code></strong> |
---|
331 | </pre> |
---|
332 | }}} |
---|
333 | |
---|
334 | To see the source code of {{{tvplus}}}, try: |
---|
335 | |
---|
336 | {{{ |
---|
337 | #!html |
---|
338 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
339 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">xfile, 'tvplus'</strong></span></code></strong> |
---|
340 | </pre> |
---|
341 | }}} |
---|
342 | |
---|
343 | |
---|
344 | '''Note''' |
---|
345 | |
---|
346 | New Feature |
---|
347 | |
---|
348 | If you use an IDL 6.2 or later revision, you can simply get the help of any command by typing ?'''''command_name''''', for example: |
---|
349 | |
---|
350 | {{{ |
---|
351 | #!html |
---|
352 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
353 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">?tvplus</strong></span></code></strong> |
---|
354 | </pre> |
---|
355 | }}} |
---|
356 | |
---|
357 | |
---|
358 | ==== Formal quick look at 2D arrays: pltv ==== |
---|
359 | {{{pltv}}} is a mix between [#FirststepswithSAXO] and [#FirststepswithSAXO] and allow you to have formal quick look of 2D arrays. |
---|
360 | |
---|
361 | {{{ |
---|
362 | #!html |
---|
363 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
364 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">pltv, dist(20)</strong></span></code></strong> [source:/trunk/SRC/Documentation/xmldoc/figpng/pltv.png show result] |
---|
365 | </pre> |
---|
366 | }}} |
---|
367 | |
---|
368 | == Explore gridded data (model outputs and observations) == |
---|
369 | |
---|
370 | This section briefly describes the main functionalities offered by SAXO to explore gridded data on regular or irregular grid. |
---|
371 | |
---|
372 | === Load the data grid === |
---|
373 | |
---|
374 | As we focus in this section on the gridded data, we must first load the grid informations before reading and plotting the data. Loading the grid independently of the data allow you to reload the grid only when it is strictly necessary and not every time you access the data. In {{{${HOME}/SAXO_DIR/Tests/}}}, we provide several examples to load a grid. |
---|
375 | |
---|
376 | ==== Easiest solution: load data grid (regular or not) directly from the data file ==== |
---|
377 | |
---|
378 | Example of Levitus temperature on a regular 1x1 grid. |
---|
379 | |
---|
380 | {{{ |
---|
381 | #!html |
---|
382 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
383 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">@tst_initlev</strong></span></code></strong> |
---|
384 | <code class="computeroutput">% Compiled module: INITNCDF.</code> |
---|
385 | <code class="computeroutput">% Compiled module: ISAFILE.</code> |
---|
386 | <code class="computeroutput">% Compiled module: UNIQ.</code> |
---|
387 | <code class="computeroutput">% Loaded DLM: NCDF.</code> |
---|
388 | <code class="computeroutput">% Compiled module: COMPUTEGRID.</code> |
---|
389 | <code class="computeroutput">% Compiled module: DOMDEF.</code> |
---|
390 | <code class="computeroutput">% Compiled module: INTER.</code> |
---|
391 | <code class="computeroutput">% Compiled module: TRIANGULE.</code> |
---|
392 | <code class="computeroutput">% Compiled module: TRIANGULE_C.</code> |
---|
393 | <code class="computeroutput">% Compiled module: UNDEFINE.</code> |
---|
394 | <code class="computeroutput">% Compiled module: TESTVAR.</code> |
---|
395 | <code class="computeroutput">% Compiled module: DIFFERENT.</code> |
---|
396 | <code class="computeroutput">% Compiled module: DEFINETRI.</code> |
---|
397 | </pre> |
---|
398 | }}} |
---|
399 | |
---|
400 | This [source:/trunk/SRC/Tests/tst_initlev.pro @tst_initlev] command allows us to define: |
---|
401 | |
---|
402 | * domain dimensions, stored in {{{jpi, jpj and jpk}}} |
---|
403 | * points abscissa, stored in 2D array {{{}}}glamt |
---|
404 | * points ordinates, stored in 2D array {{{}}}gphit |
---|
405 | * points depths, stored in 1D array {{{}}}gdept |
---|
406 | * cells corners abscissa, stored in 2D array {{{}}}glamf |
---|
407 | * cells corners ordinates, stored in 2D array {{{}}}gphif |
---|
408 | * cells upper boundary depth, stored in 1D array {{{}}}gdepw |
---|
409 | * land-sea mask, stored in {{{tmask}}} |
---|
410 | * the cells size in the longitudinal direction, stored in 2D array {{{}}}e1t |
---|
411 | * the cells size in the latitudinal direction, stored in 2D array {{{}}}e2t |
---|
412 | * the cells size in the vertical direction, stored in 1D array {{{}}}e3t |
---|
413 | * the triangulation used to fill the land points, stored in {{{}}}triangles_list |
---|
414 | {{{ |
---|
415 | #!html |
---|
416 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
417 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">help, jpi,jpj,jpk</strong></span></code></strong> |
---|
418 | <code class="computeroutput">JPI (LOCAL_COORD) LONG = 360</code> |
---|
419 | <code class="computeroutput">JPJ (LOCAL_COORD) LONG = 180</code> |
---|
420 | <code class="computeroutput">JPK (LOCAL_COORD) LONG = 33</code> |
---|
421 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">help, glamt, gphit,glamf, gphif</strong></span></code></strong> |
---|
422 | <code class="computeroutput">GLAMT (LONGITUDES) FLOAT = Array[360, 180]</code> |
---|
423 | <code class="computeroutput">GPHIT (LATITUDES) FLOAT = Array[360, 180]</code> |
---|
424 | <code class="computeroutput">GLAMF (LONGITUDES) FLOAT = Array[360, 180]</code> |
---|
425 | <code class="computeroutput">GPHIF (LATITUDES) FLOAT = Array[360, 180]</code> |
---|
426 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">help, gdept, gdepw</strong></span></code></strong> |
---|
427 | <code class="computeroutput">GDEPT (VERTICAL) FLOAT = Array[33]</code> |
---|
428 | <code class="computeroutput">GDEPW (VERTICAL) FLOAT = Array[33]</code> |
---|
429 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">help, e1t, e2t, e3t</strong></span></code></strong> |
---|
430 | <code class="computeroutput">E1T (SCALE_FACTORS) FLOAT = Array[360, 180]</code> |
---|
431 | <code class="computeroutput">E2T (SCALE_FACTORS) FLOAT = Array[360, 180]</code> |
---|
432 | <code class="computeroutput">E3T (VERTICAL) FLOAT = Array[33]</code> |
---|
433 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">help, tmask</strong></span></code></strong> |
---|
434 | <code class="computeroutput">TMASK (MASKS) BYTE = Array[360, 180, 33]</code> |
---|
435 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">help, triangles_list</strong></span></code></strong> |
---|
436 | <code class="computeroutput">TRIANGLES_LIST (LIEES_A_TRIANGULE) LONG = Array[3, 128880]</code> |
---|
437 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">tvplus, glamt*tmask[*,*,0]</strong></span></code></strong> |
---|
438 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">tvplus, gphit*tmask[*,*,0]</strong></span></code></strong> |
---|
439 | </pre> |
---|
440 | }}} |
---|
441 | |
---|
442 | We provide other initialization methods/examples |
---|
443 | |
---|
444 | * [source:/trunk/SRC/Tests/tst_initorca2_short.pro @tst_initorca2_short] : ORCA2 example |
---|
445 | * [source:/trunk/SRC/Tests/tst_initorca05_short.pro @tst_initorca05_short] : ORCA05 example |
---|
446 | * [source:/trunk/SRC/Tests/tst_initlev_stride.pro @tst_initlev_stride] : same as @tst_initlev but we skip on point over 2 in x and y direction |
---|
447 | * [source:/trunk/SRC/Tests/tst_initorca2_short_stride.pro @tst_initorca2_short_stride] : ORCA2 with stride |
---|
448 | * [source:/trunk/SRC/Tests/tst_initorca05_short_stride.pro @tst_initorca05_short_stride] : ORCA05 with stride |
---|
449 | * [source:/trunk/SRC/Tests/tst_initlev_index.pro @tst_initlev_index] : in that case we load the grid using points index as axis instead of the longitude/latitude position |
---|
450 | * [source:/trunk/SRC/Tests/tst_initorca2_index.pro @tst_initorca2_index] : load ORCA2 as it see by the model |
---|
451 | * [source:/trunk/SRC/Tests/tst_initorca05_index.pro @tst_initorca05_index] : load ORCA05 as it see by the model |
---|
452 | * [source:/trunk/SRC/Tests/tst_initlev_index_stride.pro @tst_initlev_index_stride] : @tst_initlev_index with stride |
---|
453 | * [source:/trunk/SRC/Tests/tst_initorca2_index_stride.pro @tst_initorca2_index_stride] : ORCA2 in index with stride |
---|
454 | * [source:/trunk/SRC/Tests/tst_initorca05_index_stride.pro @tst_initorca05_index_stride] : ORCA05 in index with stride |
---|
455 | ==== Load the grid from OPA meshmask file ==== |
---|
456 | |
---|
457 | When the grid is really irregular (its abscissa and ordinate cannot be descried by a vector), loading the grid directly from the data forces us to make an approximation when computing the grid corners position and the cells size. In that case, it can be preferable to load the grid from the meshmask file created by OPA. As OPA use a Arakawa-C discretization, loading the grid from the meshmask will also define all parameters related to the U, V and F grids (glam[uv],gphi[uv], e[12][uvf]). Note that, when using a simple [#FirststepswithSAXO] (with {{{initncdf}}} or {{{computegrid}}}), adding the keyword /FULLCGRID leads also to the definition of all U, V and F grids parameters. There is the examples to load ORCA grids from OPA meshmask. |
---|
458 | |
---|
459 | * [source:/trunk/SRC/Tests/tst_initorca2.pro @tst_initorca2] : ORCA2 |
---|
460 | * [source:/trunk/SRC/Tests/tst_initorca05.pro @tst_initorca05] : ORCA05 |
---|
461 | * [source:/trunk/SRC/Tests/tst_initorca2_stride.pro @tst_initorca2_stride] : ORCA2 with stride |
---|
462 | * [source:/trunk/SRC/Tests/tst_initorca05_stride.pro @tst_initorca05_stride] : ORCA05 with stride |
---|
463 | * [source:/trunk/SRC/Tests/tst_initorca2_index.pro @tst_initorca2_index] : load ORCA2 as it see by the model |
---|
464 | * [source:/trunk/SRC/Tests/tst_initorca05_index.pro @tst_initorca05_index] : load ORCA05 as it see by the model |
---|
465 | * [source:/trunk/SRC/Tests/tst_initorca2_index_stride.pro @tst_initorca2_index_stride] : ORCA2 in index with stride |
---|
466 | * [source:/trunk/SRC/Tests/tst_initorca05_index_stride.pro @tst_initorca05_index_stride] : ORCA05 in index with stride |
---|
467 | === Horizontal plots and maps === |
---|
468 | |
---|
469 | A quick presentation of horizontal plots and maps is shown in [source:/trunk/SRC/Tests/tst_plt.pro tst_plt]. After loading any of the grid (for example with one of the [#FirststepswithSAXO]). Just try: |
---|
470 | |
---|
471 | {{{ |
---|
472 | #!html |
---|
473 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
474 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">tst_plt</strong></span></code></strong> |
---|
475 | </pre> |
---|
476 | }}} |
---|
477 | ''Beware, the command is tst_plt and not @tst_plt as tst_plt.pro is a procedure and not an include.'' |
---|
478 | See the results with |
---|
479 | |
---|
480 | * @tst_initlev[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_10.png show result] |
---|
481 | * @tst_initorca2[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_10.png show result] |
---|
482 | * @tst_initorca05[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_10.png show result] |
---|
483 | * @tst_initlev_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_lev_stride_10.png show result] |
---|
484 | * @tst_initorca2_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca2_stride_10.png show result] |
---|
485 | * @tst_initorca05_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_plt_orca05_stride_10.png show result] |
---|
486 | === Vertical sections === |
---|
487 | |
---|
488 | A quick presentation of vertical sections is shown in [source:/trunk/SRC/Tests/tst_pltz.pro tst_pltz]. After loading any of the grid (for example with one of the [#FirststepswithSAXO]). Just try: |
---|
489 | |
---|
490 | {{{ |
---|
491 | #!html |
---|
492 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
493 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">tst_pltz</strong></span></code></strong> |
---|
494 | </pre> |
---|
495 | }}} |
---|
496 | ''Beware, the command is tst_pltz and not @tst_pltz as tst_pltz.pro is a procedure and not an include.'' |
---|
497 | See the results with |
---|
498 | |
---|
499 | * @tst_initlev[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_10.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_11.png show result] |
---|
500 | * @tst_initorca2[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_10.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_11.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_12.png show result] |
---|
501 | * @tst_initorca05[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_10.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_11.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_12.png show result] |
---|
502 | * @tst_initlev_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_10.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_lev_stride_11.png show result] |
---|
503 | * @tst_initorca2_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_10.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca2_stride_11.png show result] |
---|
504 | * @tst_initorca05_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_06.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_07.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_08.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_09.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_10.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltz_orca05_stride_11.png show result] |
---|
505 | === Hovmoellers and time series === |
---|
506 | |
---|
507 | A quick presentation of hovmoellers and time series is shown in [source:/trunk/SRC/Tests/tst_pltt.pro tst_pltt]. After loading any of the grid (for example with one of the [#FirststepswithSAXO]). Just try: |
---|
508 | |
---|
509 | {{{ |
---|
510 | #!html |
---|
511 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
512 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">tst_pltt</strong></span></code></strong> |
---|
513 | </pre> |
---|
514 | }}} |
---|
515 | ''Beware, the command is tst_pltt and not @tst_pltt as tst_pltt.pro is a procedure and not an include.'' |
---|
516 | See the results with |
---|
517 | |
---|
518 | * @tst_initlev[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_06.png show result] |
---|
519 | * @tst_initorca2[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_06.png show result] |
---|
520 | * @tst_initorca05[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_06.png show result] |
---|
521 | * @tst_initlev_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_lev_stride_06.png show result] |
---|
522 | * @tst_initorca2_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca2_stride_06.png show result] |
---|
523 | * @tst_initorca05_stride[source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_stride_01.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_stride_02.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_stride_03.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_stride_04.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_stride_05.png show result][source:/trunk/SRC/Documentation/xmldoc/figpng/tst_pltt_orca05_stride_06.png show result] |
---|
524 | === 1D plots === |
---|
525 | |
---|
526 | To be continued ⊠|
---|
527 | |
---|