Changeset 85


Ignore:
Timestamp:
06/02/06 14:09:44 (18 years ago)
Author:
pinsard
Message:

getsaxo depends on files in http://forge.ipsl.jussieu.fr/saxo/download/

Location:
trunk/SRC/Documentation/xmldoc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/xmldoc/getsaxo.html

    r84 r85  
    7878  <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> 
    7979          </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 with  
     80          ... and download it the latest version of the sources tar file: <a href="http://forge.ipsl.jussieu.fr/saxo/download/SAXO_RD_20060124.tar.gz" target="_top">SAXO_RD_20060124.tar.gz</a> (3.7M Mb). This tar.gz file could also be downloaded with  
    8181        </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://forge.ipsl.jussieu.fr/saxo/download//SAXO_RD_20060124.tar.gz</code></em></code></strong> 
    8383          </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://forge.ipsl.jussieu.fr/saxo/download//SAXO_RD_20060124.tar.gz</code></em></code></strong> 
    8585          </pre></dd></dl></div><p>      
    8686        Untar the file 
     
    9393          Get <span class="application">SAXO</span> tests data files (... Mb) 
    9494        </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 in  
     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 in  
    9696        </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.&nbsp;&#xA;Generate your init.pro file&#xA;      "><a href="#generate_init" title="3.&nbsp;&#xA;Generate your init.pro file&#xA;      ">Section&nbsp;3, &#8220; 
    9797        Generate your init.pro file 
  • trunk/SRC/Documentation/xmldoc/getsaxo.xml

    r84 r85  
    152152  <prompt>$</prompt> <userinput><command>cd</command> <parameter>SAXO_DIR</parameter></userinput> 
    153153          </screen> 
    154           ... and download it the latest version of the sources tar file: <ulink url="http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_&date;.tar.gz">SAXO_DIR_&date;.tar.gz</ulink> (&szsrc; Mb). This tar.gzip file could also be downloaded with  
     154          ... and download it the latest version of the sources tar file: <ulink url="http://forge.ipsl.jussieu.fr/saxo/download/SAXO_RD_&date;.tar.gz">SAXO_RD_&date;.tar.gz</ulink> (&szsrc; Mb). This tar.gz file could also be downloaded with  
    155155        <variablelist> 
    156156          <varlistentry><term><command>wget</command></term> 
    157157          <listitem><screen> 
    158   <prompt>$</prompt> <userinput><command>wget</command> <parameter>http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_&date;.tar.gz</parameter></userinput> 
     158  <prompt>$</prompt> <userinput><command>wget</command> <parameter>http://forge.ipsl.jussieu.fr/saxo/download//SAXO_RD_&date;.tar.gz</parameter></userinput> 
    159159          </screen></listitem> 
    160160          </varlistentry> 
    161161          <varlistentry><term><command>curl</command></term> 
    162162          <listitem><screen> 
    163   <prompt>$</prompt> <userinput><command>curl</command> <option>-O</option> <parameter>http://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_&date;.tar.gz</parameter></userinput> 
     163  <prompt>$</prompt> <userinput><command>curl</command> <option>-O</option> <parameter>http://forge.ipsl.jussieu.fr/saxo/download//SAXO_RD_&date;.tar.gz</parameter></userinput> 
    164164          </screen></listitem> 
    165165          </varlistentry> 
  • trunk/SRC/Documentation/xmldoc/makehtml.sh

    r84 r85  
    11#!/bin/bash 
     2# 
     3# fplod 2006-06-02T10:00:41Z aedon.locean-ipsl.upmc.fr (Darwin) 
     4# http://forge.ipsl.jussieu.fr/saxo/download/ is the new directory reference  
     5# for tar file instead of ~/SAXO_RD/ ie home of Sebatien Masson on  
     6# arete.lodyc.jussieu.fr 
     7# !!! saxo@forge.ipsl.jussieu.fr password is needed 
    28# fplod 2006-05-31T10:34:18Z aedon.locean-ipsl.upmc.fr (Darwin) 
    39# . add creation of all_plots.html using firststeps.html 
     
    1016case "${1}" in 
    1117   getsaxo) 
     18      echo "iii : you will be asked saxo@forge.ipsl.jussieu.fr passwd two times" 
     19      # find the most recent SAXO_RD_yyyymmdd.tar.gz in  
     20      # /ipsl/forge/projets/saxo/download/ 
     21      infosrc=$(ssh saxo@forge.ipsl.jussieu.fr ls -lht /ipsl/forge/projets/saxo/download/SAXO_RD_*.tar.gz ) 
     22      filesrc=$(echo ${infosrc} | awk '{print $NF}') 
     23      szsrc=$(echo ${infosrc} | awk '{print $5}') 
    1224      # ndate is the date in the file SAXO_RD_*.tar.gz 
    13       ndate=$( echo ~/SAXO_RD/SAXO_RD_*.tar.gz ) 
    14       ndate=${ndate##*_} 
     25      ndate=${filesrc##*_} 
    1526      ndate=${ndate%.tar.gz} 
     27      # find the most recent TestsData_yyyymmdd.tar.gz in  
     28      # /ipsl/forge/projets/saxo/download/ 
     29      infodata=$(ssh saxo@forge.ipsl.jussieu.fr ls -lht /ipsl/forge/projets/saxo/download/TestsData_*.tar.gz ) 
     30      filedata=$(echo ${infodata} | awk '{print $NF}') 
     31      szdata=$(echo ${infodata} | awk '{print $5}') 
    1632      # ndate2 is the date in the file TestsData_*.tar.gz 
    17       ndate2=$( echo ~/IDL/TestsData_*.tar.gz ) 
    18       ndate2=${ndate2##*_} 
     33      ndate2=${filedata##*_} 
    1934      ndate2=${ndate2%.tar.gz} 
    2035   ;; 
     
    128143 
    129144case "${1}" in 
    130    firststeps) 
     145   getsaxo) 
     146      sed -e s/"\&date\;"/${ndate}/g \ 
     147          -e s/"\&date2\;"/${ndate2}/g \ 
     148          -e s/"\&szsrc\;"/${szsrc}/g \ 
     149          -e s/"\&szdata\;"/${szdata}/g \ 
     150          ${1}.xml > ${1}_${$}.xml  
     151   ;; 
     152   firssteps) 
    131153      sed -e s/"\&figsplt_lev\;"/"${figsplt_lev}"/g \ 
    132154          -e s/"\&figsplt_orca2\;"/"${figsplt_orca2}"/g \ 
     
    149171          ${1}.xml > ${1}_${$}.xml  
    150172   ;; 
    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 \ 
    158           ${1}.xml > ${1}_${$}.xml  
    159    ;; 
    160173   *) 
    161174      cp ${1}.xml ${1}_${$}.xml  
Note: See TracChangeset for help on using the changeset viewer.