- Timestamp:
- 04/13/11 17:18:24 (13 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tropflux_init.pro
r44 r45 3 3 ; .. _tropflux_init.pro: 4 4 ; 5 ; ================= 6 ; tropflux_init.pro 7 ; ================= 5 ; ========================================== 6 ; tropflux_init.pro -- init SAXO environment 7 ; ========================================== 8 8 ; 9 9 ; DESCRIPTION … … 11 11 ; 12 12 ; This is the SAXO initialisation file. 13 ; it defines the !path and the defaut values of some of the common variables14 ;15 13 ; 16 14 ; It ++:: … … 42 40 ; ========== 43 41 ; 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 ; 44 52 ; - fplod 20110411T074056Z aedon.locean-ipsl.upmc.fr (Darwin) 45 53 ; … … 54 62 ; 55 63 ; SAXO environment 56 saxo_ src_env=GETENV('SAXO_SRC')64 saxo_dir_env=GETENV('SAXO_DIR') 57 65 ; tropflux environment 58 66 @cm_tropflux … … 60 68 tropflux_id_env=GETENV('TROPFLUX_ID') 61 69 tropflux_od_env=GETENV('TROPFLUX_OD') 62 70 ; 63 71 ; path definition 64 72 ; 65 73 !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) $ 67 75 + path_sep(/search_path) + expand_path('+' + !dir) 68 76 ; -
trunk/src/tropflux_profile.sh
r40 r45 1 #! /bin/sh 1 #! /bin/sh -x 2 2 #+ 3 3 # … … 15 15 # Online usage:: 16 16 # 17 # $ . ./tropflux_profile.sh -d directory -i indir -o outdir -t tempdir -s saxo_ src17 # $ . ./tropflux_profile.sh -d directory -i indir -o outdir -t tempdir -s saxo_dir 18 18 # 19 19 # In ${HOME}/.profile, add the following line:: 20 20 # 21 # . tropflux_profile.sh -d directory -i indir -o outdir -t tempdir -s saxo_ src21 # . tropflux_profile.sh -d directory -i indir -o outdir -t tempdir -s saxo_dir 22 22 # 23 23 # DESCRIPTION … … 28 28 # .. option:: -o <outdir> 29 29 # .. option:: -t <tempdir> 30 # .. option:: -s <saxo_ src>30 # .. option:: -s <saxo_dir> 31 31 # 32 32 # define TROPFLUX environment … … 40 40 # ${TROPFLUX_OD} is the directory where output files will be written. 41 41 # 42 # ${SAXO_ SRC} is the base directory of SAXO tools42 # ${SAXO_DIR} is the base directory of SAXO tools 43 43 # 44 44 # PATH is completed with ${TROPFLUX}. … … 47 47 # ======== 48 48 # 49 # :ref:`troflux_init.pro` 49 # :ref:`tropflux_init.pro` 50 # 51 # :ref:`cm_tropflux.pro` 50 52 # 51 53 # EXAMPLES … … 60 62 # -o /usr/temp/${LOGNAME}/tropflux_d/ \ 61 63 # -t /usr/temp/${LOGNAME}/log/ \ 62 # -s /usr/home/fplod/SAXO_DIR/ SRC/64 # -s /usr/home/fplod/SAXO_DIR/ 63 65 # 64 66 # For fplod on cratos.locean-ipsl.umpc.fr:: … … 70 72 # -o /usr/temp/${LOGNAME}/tropflux_d/ \ 71 73 # -t /usr/temp/${LOGNAME}/log/ \ 72 # -s ${HOME}/SAXO_DIR/ SRC/74 # -s ${HOME}/SAXO_DIR/ 73 75 # 74 76 # For pinsard on camelot.ipsl.polytechnique.fr or merlin15-c.climserv:: … … 80 82 # -o /homedata/${LOGNAME}/tropflux_d/ \ 81 83 # -t /homedata/${LOGNAME}/log/ 82 # -s ${HOME}/SAXO_DIR/ SRC/84 # -s ${HOME}/SAXO_DIR/ 83 85 # 84 86 # TODO … … 93 95 # ++ pas de MANPATH defini par défaut sur zeus et cerbere 94 96 # 95 # define IDL startup file96 #97 97 # EVOLUTIONS 98 98 # ========== 99 # 100 # - fplod 20110413T151541Z cratos.locean-ipsl.upmc.fr (Linux) 101 # 102 # * fix uncompleted replacement SAXO_SRC by SAXO_DIR 99 103 # 100 104 # - fplod 20101118T171653Z aedon.locean-ipsl.upmc.fr (Darwin) … … 119 123 command=tropflux_profile.sh 120 124 # 121 usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -s saxo_ src"125 usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -s saxo_dir" 122 126 # 123 127 set +u … … 147 151 -s) 148 152 # directory for SAXO tools 149 saxo_ src=${2}153 saxo_dir=${2} 150 154 shift 151 155 ;; … … 280 284 fi 281 285 # 282 SAXO_ SRC=${saxo_src}283 export SAXO_ SRC284 unset saxo_ src286 SAXO_DIR=${saxo_dir} 287 export SAXO_DIR 288 unset saxo_dir 285 289 # 286 290 # end
Note: See TracChangeset
for help on using the changeset viewer.