Changeset 45 for trunk/src


Ignore:
Timestamp:
04/13/11 17:18:24 (13 years ago)
Author:
pinsard
Message:

correction for SAXO environment

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tropflux_init.pro

    r44 r45  
    33; .. _tropflux_init.pro: 
    44; 
    5 ; ================= 
    6 ; tropflux_init.pro 
    7 ; ================= 
     5; ========================================== 
     6; tropflux_init.pro -- init SAXO environment 
     7; ========================================== 
    88; 
    99; DESCRIPTION 
     
    1111; 
    1212; This is the SAXO initialisation file. 
    13 ; it defines the !path and the defaut values of some of the common variables 
    14 ; 
    1513; 
    1614; It ++:: 
     
    4240; ========== 
    4341; 
     42; $URL$ 
     43; 
     44; - fplod 20110413T151541Z cratos.locean-ipsl.upmc.fr (Linux) 
     45; 
     46;   * fix uncompleted replacement SAXO_SRC by SAXO_DIR 
     47; 
     48; - fplod 20110413T070801Z aedon.locean-ipsl.upmc.fr (Darwin) 
     49; 
     50;   * replace SAXO_SRC by SAXO_DIR 
     51; 
    4452; - fplod 20110411T074056Z aedon.locean-ipsl.upmc.fr (Darwin) 
    4553; 
     
    5462;  
    5563; SAXO environment 
    56 saxo_src_env=GETENV('SAXO_SRC') 
     64saxo_dir_env=GETENV('SAXO_DIR') 
    5765; tropflux environment 
    5866@cm_tropflux 
     
    6068tropflux_id_env=GETENV('TROPFLUX_ID') 
    6169tropflux_od_env=GETENV('TROPFLUX_OD') 
    62  
     70; 
    6371; path definition 
    6472; 
    6573!path = expand_path('+' + tropflux_env + '/src') $ 
    66       + path_sep(/search_path) + expand_path('+' + saxo_src_env) $ 
     74      + path_sep(/search_path) + expand_path('+' + saxo_dir_env) $ 
    6775      + path_sep(/search_path) + expand_path('+' + !dir) 
    6876; 
  • trunk/src/tropflux_profile.sh

    r40 r45  
    1 #! /bin/sh 
     1#! /bin/sh -x 
    22#+ 
    33# 
     
    1515# Online usage:: 
    1616# 
    17 #  $ . ./tropflux_profile.sh -d directory -i indir -o outdir -t tempdir -s saxo_src 
     17#  $ . ./tropflux_profile.sh -d directory -i indir -o outdir -t tempdir -s saxo_dir 
    1818# 
    1919# In ${HOME}/.profile, add the following line:: 
    2020# 
    21 #  . tropflux_profile.sh -d directory  -i indir -o outdir -t tempdir -s saxo_src 
     21#  . tropflux_profile.sh -d directory  -i indir -o outdir -t tempdir -s saxo_dir 
    2222# 
    2323# DESCRIPTION 
     
    2828# .. option:: -o  <outdir> 
    2929# .. option:: -t  <tempdir> 
    30 # .. option:: -s  <saxo_src> 
     30# .. option:: -s  <saxo_dir> 
    3131# 
    3232# define TROPFLUX environment 
     
    4040# ${TROPFLUX_OD} is the directory where output files will be written. 
    4141# 
    42 # ${SAXO_SRC} is the base directory of SAXO tools 
     42# ${SAXO_DIR} is the base directory of SAXO tools 
    4343# 
    4444# PATH is completed with ${TROPFLUX}. 
     
    4747# ======== 
    4848# 
    49 # :ref:`troflux_init.pro` 
     49# :ref:`tropflux_init.pro` 
     50# 
     51# :ref:`cm_tropflux.pro` 
    5052# 
    5153# EXAMPLES 
     
    6062#    -o /usr/temp/${LOGNAME}/tropflux_d/ \ 
    6163#    -t /usr/temp/${LOGNAME}/log/ \ 
    62 #    -s /usr/home/fplod/SAXO_DIR/SRC/ 
     64#    -s /usr/home/fplod/SAXO_DIR/ 
    6365# 
    6466# For fplod on cratos.locean-ipsl.umpc.fr:: 
     
    7072#    -o /usr/temp/${LOGNAME}/tropflux_d/ \ 
    7173#    -t /usr/temp/${LOGNAME}/log/ \ 
    72 #    -s ${HOME}/SAXO_DIR/SRC/ 
     74#    -s ${HOME}/SAXO_DIR/ 
    7375# 
    7476# For pinsard on camelot.ipsl.polytechnique.fr or merlin15-c.climserv:: 
     
    8082#   -o /homedata/${LOGNAME}/tropflux_d/ \ 
    8183#   -t /homedata/${LOGNAME}/log/ 
    82 #   -s ${HOME}/SAXO_DIR/SRC/ 
     84#   -s ${HOME}/SAXO_DIR/ 
    8385# 
    8486# TODO 
     
    9395# ++ pas de MANPATH defini par défaut sur zeus et cerbere 
    9496# 
    95 # define IDL startup file 
    96 # 
    9797# EVOLUTIONS 
    9898# ========== 
     99# 
     100# - fplod 20110413T151541Z cratos.locean-ipsl.upmc.fr (Linux) 
     101# 
     102#   * fix uncompleted replacement SAXO_SRC by SAXO_DIR 
    99103# 
    100104# - fplod 20101118T171653Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    119123command=tropflux_profile.sh 
    120124# 
    121 usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -s saxo_src" 
     125usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -s saxo_dir" 
    122126# 
    123127set +u 
     
    147151      -s) 
    148152         # directory for SAXO tools 
    149          saxo_src=${2} 
     153         saxo_dir=${2} 
    150154         shift 
    151155      ;; 
     
    280284fi 
    281285# 
    282 SAXO_SRC=${saxo_src} 
    283 export SAXO_SRC 
    284 unset saxo_src 
     286SAXO_DIR=${saxo_dir} 
     287export SAXO_DIR 
     288unset saxo_dir 
    285289# 
    286290# end 
Note: See TracChangeset for help on using the changeset viewer.