- Timestamp:
- 06/02/06 13:41:25 (18 years ago)
- Location:
- trunk/SRC
- Files:
-
- 6 added
- 6 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/all_plots.html
r82 r84 1 1 <html><head> 2 2 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 3 <title>All plots of SAXO demo</title><link rel="stylesheet" href="saxo.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><meta name="keywords" content="idl, SAXO"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="all_plots"></a>All plots of SAXO demo</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Sébastien</span> <span class="surname">Masson</span></h3><code class="email"><<a href="mailto:smasson_at_lodyc.jussieu.fr">smasson_at_lodyc.jussieu.fr</a>></code></div><div class="author"><h3 class="author"><span class="firstname">Françoise</span> <span class="surname">Pinsard</span></h3><code class="email"><<a href="mailto:Francoise.Pinsard_at_lodyc.jussieu.fr">Francoise.Pinsard_at_lodyc.jussieu.fr</a>></code></div></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#d0e28">1. Introduction</a></span></dt><dt><span class="sect1"><a href="#d0e3 3">2. All plots</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e28"></a>1. Introduction</h2></div></div></div><p>4 blabla 5 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e3 3"></a>2. All plots</h2></div></div></div><p>3 <title>All plots of SAXO demo</title><link rel="stylesheet" href="saxo.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><meta name="keywords" content="idl, SAXO"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="all_plots"></a>All plots of SAXO demo</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Sébastien</span> <span class="surname">Masson</span></h3><code class="email"><<a href="mailto:smasson_at_lodyc.jussieu.fr">smasson_at_lodyc.jussieu.fr</a>></code></div><div class="author"><h3 class="author"><span class="firstname">Françoise</span> <span class="surname">Pinsard</span></h3><code class="email"><<a href="mailto:Francoise.Pinsard_at_lodyc.jussieu.fr">Francoise.Pinsard_at_lodyc.jussieu.fr</a>></code></div></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#d0e28">1. Introduction</a></span></dt><dt><span class="sect1"><a href="#d0e36">2. All plots</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e28"></a>1. Introduction</h2></div></div></div><p> 4 This page gathers all plots used in <a href="firststeps.html?format=raw" target="_top">firststeps</a> and display them in one unique page to facilitate the search of plots examples. 5 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e36"></a>2. All plots</h2></div></div></div><p> 6 6 </p><div class="mediaobject"><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0"><tr><td valign="top"><img src="figpng/basic_plot.png?format=raw"></td></tr></table></div><p> 7 7 <span> -
trunk/SRC/Documentation/xmldoc/all_plots_docbook.xsl
r82 r84 38 38 <title>Introduction</title> 39 39 <para> 40 blabla 40 This page gathers all plots used in <ulink url="firststeps.html?format=raw">firststeps</ulink> and display them in one unique page to facilitate the search of plots examples. 41 41 </para> 42 42 </sect1> -
trunk/SRC/Documentation/xmldoc/getsaxo.html
r80 r84 5 5 </title><link rel="stylesheet" href="saxo.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><meta name="keywords" content="idl, SAXO"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e1"></a> 6 6 Get <span class="application">SAXO</span> 7 </h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Sébastien</span> <span class="surname">Masson</span></h3><code class="email"><<a href="mailto:smasson @lodyc.jussieu.fr">smasson@lodyc.jussieu.fr</a>></code></div><div class="author"><h3 class="author"><span class="firstname">Françoise</span> <span class="surname">Pinsard</span></h3><code class="email"><<a href="mailto:fplod@lodyc.jussieu.fr">fplod@lodyc.jussieu.fr</a>></code></div></div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="2"><b>Revision History</b></th></tr><tr><td align="left">Revision 0.0</td><td align="left">May 2006</td></tr><tr><td align="left" colspan="2">First draft</td></tr></table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#create_saxo_env">1.7 </h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Sébastien</span> <span class="surname">Masson</span></h3><code class="email"><<a href="mailto:smasson_at_lodyc.jussieu.fr">smasson_at_lodyc.jussieu.fr</a>></code></div><div class="author"><h3 class="author"><span class="firstname">Françoise</span> <span class="surname">Pinsard</span></h3><code class="email"><<a href="mailto:fplod_at_lodyc.jussieu.fr">fplod_at_lodyc.jussieu.fr</a>></code></div></div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="2"><b>Revision History</b></th></tr><tr><td align="left">Revision 0.0</td><td align="left">May 2006</td></tr><tr><td align="left" colspan="2">First draft</td></tr></table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#create_saxo_env">1. 8 8 Create <span class="application">SAXO</span> environment 9 9 </a></span></dt><dt><span class="sect1"><a href="#get_saxo_files">2. … … 63 63 Contributors 64 64 </h4></div></div></div><p> 65 <span><strong class="command">Contributors</strong></span> should better use the following command :65 <span><strong class="command">Contributors</strong></span> should better use the following command (and replace login by your own login): 66 66 </p><pre class="screen"> 67 67 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">svn</strong></span> <code class="option">checkout</code> <em class="parameter"><code>svn+ssh://<em class="replaceable"><code>login</code></em>@forge.ipsl.jussieu.fr/ipsl/forge/projets/saxo/svn/trunk/</code></em> <em class="parameter"><code>SAXO_DIR</code></em></code></strong> … … 78 78 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">cd</strong></span> <em class="parameter"><code>SAXO_DIR</code></em></code></strong> 79 79 </pre><p> 80 ... and download it the latest version of the sources tar file: <a href="http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_ .tar.gz" target="_top">SAXO_DIR_.tar.gz</a> ( Mb). This tar.gzip file could also be downloaded with80 ... and download it the latest version of the sources tar file: <a href="http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_*.tar.gz" target="_top">SAXO_DIR_*.tar.gz</a> ( Mb). This tar.gzip file could also be downloaded with 81 81 </p><div class="variablelist"><dl><dt><span class="term"><span><strong class="command">wget</strong></span></span></dt><dd><pre class="screen"> 82 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">wget</strong></span> <em class="parameter"><code>http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_ .tar.gz</code></em></code></strong>82 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">wget</strong></span> <em class="parameter"><code>http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_*.tar.gz</code></em></code></strong> 83 83 </pre></dd><dt><span class="term"><span><strong class="command">curl</strong></span></span></dt><dd><pre class="screen"> 84 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">curl</strong></span> <code class="option">-O</code> <em class="parameter"><code>http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_ .tar.gz</code></em></code></strong>84 <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">curl</strong></span> <code class="option">-O</code> <em class="parameter"><code>http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_*.tar.gz</code></em></code></strong> 85 85 </pre></dd></dl></div><p> 86 86 Untar the file … … 93 93 Get <span class="application">SAXO</span> tests data files (... Mb) 94 94 </h4></div></div></div><p> 95 If you want to use the tests programs, you need to download the data tests files (<code class="filename">TestsData_ .tar.gz</code>), You may download theses files in95 If you want to use the tests programs, you need to download the data tests files (<code class="filename">TestsData_*.tar.gz</code>), You may download theses files in 96 96 </p><div class="itemizedlist"><ul type="disc"><li><code class="filename"><code class="envar">${HOME}</code>/My_IDL</code>. This is the easiest solution but it could be unconvenient if your <code class="envar">${HOME}</code> disk space is limited.</li><li>any other Directory of your choice. In that case, when using IDL, you will need to define the variable <code class="varname">iodir</code> to the Directory you choose in order to let IDL find the data tests files. This can be done either through the init.pro file (see <a href="#generate_init" title="3. 
Generate your init.pro file
 "><a href="#generate_init" title="3. 
Generate your init.pro file
 ">Section 3, “ 97 97 Generate your init.pro file -
trunk/SRC/Documentation/xmldoc/getsaxo.xml
r80 r84 17 17 <articleinfo> 18 18 <authorgroup> 19 <author><firstname>Sébastien</firstname><surname>Masson</surname><email>smasson @lodyc.jussieu.fr</email></author>20 <author><firstname>Françoise</firstname><surname>Pinsard</surname><email>fplod @lodyc.jussieu.fr</email></author>19 <author><firstname>Sébastien</firstname><surname>Masson</surname><email>smasson_at_lodyc.jussieu.fr</email></author> 20 <author><firstname>Françoise</firstname><surname>Pinsard</surname><email>fplod_at_lodyc.jussieu.fr</email></author> 21 21 </authorgroup> 22 22 <keywordset> … … 126 126 </title> 127 127 <para> 128 <command>Contributors</command> should better use the following command :128 <command>Contributors</command> should better use the following command (and replace login by your own login): 129 129 <screen format="linespecific"> 130 130 <prompt>$</prompt> <userinput><command>svn</command> <option>checkout</option> <parameter>svn+ssh://<replaceable>login</replaceable>@forge.ipsl.jussieu.fr/ipsl/forge/projets/saxo/svn/trunk/</parameter> <parameter>SAXO_DIR</parameter></userinput> -
trunk/SRC/Documentation/xmldoc/makehtml.sh
r81 r84 9 9 # 10 10 case "${1}" in 11 firststeps)11 getsaxo) 12 12 # ndate is the date in the file SAXO_RD_*.tar.gz 13 13 ndate=$( echo ~/SAXO_RD/SAXO_RD_*.tar.gz ) … … 129 129 case "${1}" in 130 130 firststeps) 131 szsrc=$( ls -lh ~/SAXO_RD/SRC/SAXO_RD_${ndate}.tar.gz | awk '{print $5}' ) 132 szdata=$( ls -lh ~/IDL/TestsData_${ndate2}.tar.gz | awk '{print $5}' ) 133 sed -e s/"\&date\;"/${ndate}/g \ 134 -e s/"\&date2\;"/${ndate2}/g \ 135 -e s/"\&szsrc\;"/${szsrc}/g \ 136 -e s/"\&szdata\;"/${szdata}/g \ 137 -e s/"\&figsplt_lev\;"/"${figsplt_lev}"/g \ 131 sed -e s/"\&figsplt_lev\;"/"${figsplt_lev}"/g \ 138 132 -e s/"\&figsplt_orca2\;"/"${figsplt_orca2}"/g \ 139 133 -e s/"\&figsplt_orca05\;"/"${figsplt_orca05}"/g \ … … 153 147 -e s/"\&figspltt_orca2_stride\;"/"${figspltt_orca2_stride}"/g \ 154 148 -e s/"\&figspltt_orca05_stride\;"/"${figspltt_orca05_stride}"/g \ 149 ${1}.xml > ${1}_${$}.xml 150 ;; 151 getsaxo) 152 szsrc=$( ls -lh ~/SAXO_RD/SRC/SAXO_RD_${ndate}.tar.gz | awk '{print $5}' ) 153 szdata=$( ls -lh ~/IDL/TestsData_${ndate2}.tar.gz | awk '{print $5}' ) 154 sed -e s/"\&date\;"/${ndate}/g \ 155 -e s/"\&date2\;"/${ndate2}/g \ 156 -e s/"\&szsrc\;"/${szsrc}/g \ 157 -e s/"\&szdata\;"/${szdata}/g \ 155 158 ${1}.xml > ${1}_${$}.xml 156 159 ;; -
trunk/SRC/ToBeReviewed/MATRICE/cmset_op.pro
r31 r84 122 122 ; Still trying to get documentation of INDEX and NOT right, CM, 28 123 123 ; Sep 2000 (no code changes) 124 ; 125 ; $Id: cmset_op.pro,v 1.2 2001/03/25 18:10:42 craigm Exp $ 124 ; Correct bug for AND case, when input sets A and B each only have 125 ; one unique value, and the values are equal. CM, 04 Mar 2004 126 ; (thanks to James B. jbattat at cfa dot harvard dot edu) 127 ; Add support for the cases where the input data types are mixed, 128 ; but still compatible; also, attempt to return the same data 129 ; type that was passed in; CM, 05 Feb 2005 130 ; Fix bug in type checking (thanks to "marit"), CM, 10 Dec 2005 131 ; Work around a stupidity in the built-in IDL HISTOGRAM routine, 132 ; which tries to "help" you by restricting the MIN/MAX to the 133 ; range of the input variable (thanks to Will Maddox), CM, 16 Jan 2006 134 ; 135 ; $Id: cmset_op.pro,v 1.6 2006/01/16 19:45:22 craigm Exp $ 126 136 ; 127 137 ;- 128 ; Copyright (C) 2000, Craig Markwardt138 ; Copyright (C) 2000, 2004, 2005, 2006, Craig Markwardt 129 139 ; This software is provided as is without any warranty whatsoever. 130 140 ; Permission to use, copy, modify, and distribute modified or … … 246 256 endif 247 257 258 ;; Allow data to have different types, but they must be at least of 259 ;; the same "base" type. That is, you can't combine a number with a 260 ;; string, etc. 261 ;; basetype 0:undefined 1:real number 6:complex number 7:string 262 ;; 8:structure 10:pointer 11:object 263 264 ;; 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 265 basetype = [0, 1, 1, 1, 1, 1, 6, 7, 8, 6,10,11, 1, 1, 1, 1] 266 248 267 ;; Check types of operands 249 268 sz1 = size(a) & tp1 = sz1(sz1(0)+1) 250 269 sz2 = size(b) & tp2 = sz2(sz2(0)+1) 251 if tp1 NE tp2 then begin 270 if tp1 LT 0 OR tp1 GE 16 OR tp2 LT 0 OR tp2 GE 16 then begin 271 message, 'ERROR: unrecognized data types for operands' 272 return, -1 273 endif 274 if basetype(tp1) NE basetype(tp2) then begin 252 275 TYPE1_ERR: 253 276 message, 'ERROR: both A and B must be of the same type' 254 277 return, -1L 255 278 endif 256 if tp1 EQ 8 OR tp1 EQ 10 ANDtp1 EQ 11 then begin279 if tp1 EQ 8 OR tp1 EQ 10 OR tp1 EQ 11 then begin 257 280 TYPE2_ERR: 258 281 message, 'ERROR: operands must be a numeric or string type' … … 309 332 310 333 if NOT keyword_set(not1) AND NOT keyword_set(not2) then begin 334 335 ;; Special case: if there are one in each set, and 336 ;; they are equal, then the SHIFT() technique below 337 ;; fails. Do this one by hand. 338 if na EQ 1 AND nb EQ 1 AND uu(0) EQ uu(1) then begin 339 count = 1L 340 if kind then return, 0L 341 return, [uu(0)] 342 endif 343 311 344 ;; If neither "NOT" is set, then find duplicates 312 345 us = 0L ;; Save memory … … 349 382 if (maxx-minn) GT floor(ma(0)) then goto, SLOW_SET_OP 350 383 384 ;; Work around a stupidity in the built-in IDL HISTOGRAM routine 385 if (tp1 EQ 2 OR tp2 EQ 2) AND (minn LT -32768 OR maxx GT 32767) then $ 386 goto, SLOW_SET_OP 387 351 388 ;; Following operations create a histogram of the integer values. 352 389 ha = histogram(a, min=minn, max=maxx) < 1 … … 366 403 if count EQ 0 then return, -1L 367 404 368 return, wh+minn 405 result = temporary(wh+minn) 406 if tp1 NE tp2 then return, result 407 szr = size(result) & tpr = szr(szr(0)+1) 408 409 ;; Cast to the original type if necessary 410 if tpr NE tp1 then begin 411 fresult = make_array(n_elements(result), type=tp1) 412 fresult(0) = temporary(result) 413 result = temporary(fresult) 414 endif 415 416 return, result 369 417 370 418 endelse
Note: See TracChangeset
for help on using the changeset viewer.