Changeset 75 for trunk


Ignore:
Timestamp:
03/25/10 14:09:03 (14 years ago)
Author:
pinsard
Message:

improvements of headers and unset in shell scripts

Location:
trunk/src
Files:
32 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SIMULS_IRCAAM/carte_eof_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ============== 
     7% carte_eof_df.m 
     8% ============== 
    79% 
    810% ++ 
     
    1113% =========== 
    1214% 
    13 % From eof_arpege_\ *simulation*\ _  \ *period1*\ -\ *period2*\ d.mat 
     15% From eof_arpege\_\ *simulation*\ _  \ *period1*\ -\ *period2*\ d.mat 
    1416% and rlut_d.\ *simulation*\ .197106-09.nc, 
    1517% ``carte_eof_df`` compute ++. 
     
    1820% 
    1921% 1 Postscript file 
    20 % carte_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d.eps are 
     22% carte_arpege\_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d.eps are 
    2123% written. 
    2224% 
  • trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_simulation.m

    r59 r75  
    11function prepare_olr_filtre_simulation(ircaam_dataset,simulation) 
    22% prepare_olr_filtre_simulation ++explication ircaam_dataset,simulation 
     3 
    34%+ 
    4 % module 
    5 % ====== 
     5% 
     6% =============================== 
     7% prepare_olr_filtre_simulation.m 
     8% =============================== 
    69% 
    710% ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 
     
    1518% 
    1619% ``prepare_olr_filtre_simulation`` write  
    17 % olr_nofiltre_arpege_ \ *simulation*\ .dat. 
     20% olr_nofiltre_arpege\_ \ *simulation*\ .dat. 
    1821% 
    1922% CAUTIONS 
  • trunk/src/SIMULS_IRCAAM/progfiltrage_simulation.F90

    r58 r75  
    11      PROGRAM progfiltrage_simulation 
    22C+ 
    3 C 
    4 C NAME 
    5 C ==== 
    6 C 
    7 C ``progfiltrage_simulation.x`` 
     3C  
     4C =========================== 
     5C progfiltrage_simulation.F90 
     6C =========================== 
    87C 
    98C SYNOPSIS 
     
    1615C 
    1716C filtrage sur olr JAN-DEC de 1968 
    18 C ++ 
    19 C 
    20 C From olr_nofiltre_arpege_ \ *simulation*\ .dat. 
    21 C ``progfiltrage_simulation.x`` compute ++. 
     17C +todo+ 
     18C 
     19C From olr_nofiltre_arpege\_ \ *simulation*\ .dat. 
     20C ``progfiltrage_simulation.x`` compute +todo+. 
    2221C 
    2322C ``progfiltrage_simulation.x`` write 
    24 C olr_filtre_\ *period1*\ -\ *period2*\ d_arpege_ \ *simulation*\ .dat. 
     23C olr_filtre\_\ *period1*\ -\ *period2*\ d_arpege\_ \ *simulation*\ .dat. 
    2524C 
    2625C 
  • trunk/src/SIMULS_IRCAAM/time_serie_eof_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% =================== 
     7% time_serie_eof_df.m 
     8% =================== 
    79% 
    810% ++ 
     
    1113% =========== 
    1214% 
    13 % From eof_arpege_\ *simulation*\ _  \ *period1*\ -\ *period2*\ d.mat, 
     15% From eof_arpege\_\ *simulation*\ _  \ *period1*\ -\ *period2*\ d.mat, 
    1416% ``time_serie_eof_df`` compute ++. 
    1517% 
     
    1921% 
    2022% 2 Postscript files 
    21 % time_serie_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d_part[12].eps are 
     23% time_serie_arpege\_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d_part[12].eps are 
    2224% written. 
    2325% 
  • trunk/src/cartemonde.m

    r24 r75  
    22 
    33%+ 
    4 % module 
    5 % ====== 
     4% ============ 
     5% cartemonde.m 
     6% ============ 
    67% 
     8% --------------------------------- 
    79% trace les contours des continents 
     10% --------------------------------- 
    811% 
    912% DESCRIPTION 
  • trunk/src/cartemonde1.m

    r24 r75  
    22 
    33%+ 
    4 % module 
    5 % ====== 
     4% ============= 
     5% cartemonde1.m 
     6% ============= 
    67% 
     8% --------------------------------------------------- 
    79% trace les contours des continents et les frontieres 
     10% --------------------------------------------------- 
    811% 
    912% DESCRIPTION 
  • trunk/src/dlogd.sh

    r72 r75  
    6767;; 
    6868esac 
     69unset system 
    6970# 
    7071LANG=POSIX 
  • trunk/src/elogd.sh

    r72 r75  
    6868;; 
    6969esac 
     70unset system 
    7071# 
    7172LANG=POSIX 
  • trunk/src/forfilter.f

    r62 r75  
    22C+ 
    33C 
    4 C NAME 
    5 C ==== 
    6 C 
    7 C forfilter 
     4C =========== 
     5C forfilter.f 
     6C =========== 
    87C 
    98C DESCRIPTION 
  • trunk/src/ircaam_profile.sh

    r72 r75  
    1313# ======== 
    1414# 
    15 # Online usage 
    16 # 
    17 # :: 
    18 # 
    19 # $ . ./ircaam_profile.sh -d directory -i indir -o outdir -t tempdir 
    20 # 
    21 # In ${HOME}/.profile, add the following line 
    22 # 
    23 # :: 
    24 # 
    25 #  . ircaam_profile.sh -d directory  -i indir -o outdir -t tempdir 
     15# Online usage:: 
     16# 
     17#  $ . ./ircaam_profile.sh -d directory -i indir -o outdir -t tempdir 
     18# 
     19# In ${HOME}/.profile, add the following line:: 
     20# 
     21#  . ./ircaam_profile.sh -d directory  -i indir -o outdir -t tempdir 
    2622# 
    2723# DESCRIPTION 
     
    5248# ======== 
    5349# 
    54 # For fplod, on aedon.locean-ipsl.upmc.fr: 
    55 # 
    56 # :: 
    57 # 
    58 #  $ cd /usr/home/fplod/incas/ircaam/ircaam_ws/src/ 
    59 #  $ . ./ircaam_profile.sh \ 
     50# For fplod, on aedon.locean-ipsl.upmc.fr:: 
     51# 
     52#  $ cd /usr/home/fplod/incas/ircaam/ircaam_ws/ 
     53#  $ . ./src/ircaam_profile.sh \ 
    6054#    -d $(pwd) \ 
    6155#    -i /usr/temp/${LOGNAME}/ircaam_d/ \ 
     
    6357#    -t /usr/temp/${LOGNAME}/log/ 
    6458# 
    65 # For fplod on zeus.locean-ipsl.umpc.fr: 
    66 # 
    67 # :: 
    68 # 
    69 #  $ cd ${HOME}/incas/ircaam/ircaam_ws/src/ 
    70 #  $ . ./ircaam_profile.sh \ 
     59# For fplod on zeus.locean-ipsl.umpc.fr:: 
     60# 
     61#  $ cd ${HOME}/incas/ircaam/ircaam_ws/ 
     62#  $ . ./src/ircaam_profile.sh \ 
    7163#    -d $(pwd) \ 
    7264#    -i /usr/temp/${LOGNAME}/ircaam_d/ \ 
     
    127119usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir" 
    128120# 
     121set +u 
     122# 
    129123while [ ! -z "${1}" ] # ++ pb bash 
    130124do 
     
    147141 ;; 
    148142 *) # other choice 
     143  echo "eee : unknown option ${1}" 
    149144  echo "${usage}" 
    150145  # nb : no exit because this file should be launched by login process 
     
    153148 shift # next flag 
    154149done 
    155 # 
    156150unset usage 
    157151# 
     
    204198unset test_path 
    205199# 
     200# add IRCAAM manuals to MANPATH 
     201# if not already done 
     202echo ${MANPATH} | grep -q ${IRCAAM} 
     203test_manpath=${?} 
     204if [ ${test_manpath} -ne 0 ] 
     205then 
     206   MANPATH=${IRCAAM}/doc/manuals/man/:${MANPATH} 
     207   export MANPATH 
     208else 
     209   # option bavarde oui/non pas encore implantée ++ 
     210   echo "${command} : iii : ${IRCAAM}/doc/manuals/man/ already in \${MANPATH}" 
     211fi 
     212unset test_manpath 
     213# 
    206214IRCAAM_LOG=${tempdir} 
    207215export IRCAAM_LOG 
     
    265273fi 
    266274# 
    267 # 
     275# end 
    268276unset command 
    269277# 
    270 # end 
    271278# nb : no exit because this file should be launched by login process 
  • trunk/src/ircaam_startup.m

    r31 r75  
    33%+ 
    44% 
    5 % module 
    6 % ====== 
     5% ================ 
     6% ircaam_startup.m 
     7% ================ 
    78% 
     9% -------------------------------------------------------------- 
    810% initialisation of matlab/octave environment for IRCAAM project 
     11% -------------------------------------------------------------- 
    912% 
    1013% DESCRIPTION 
     
    1518%  - IO directories in global variables 
    1619% 
    17 % This file can be either run classicaly when currect directory 
     20% This file can be either run classicaly when current directory 
    1821% is ${IRCAAM} : 
    1922% .. 
  • trunk/src/mode_sahelien/carte_eof234_jjas_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% ====================== 
     6% carte_eof234_jjas_df.m 
     7% ====================== 
    78% 
    89% ++ 
  • trunk/src/mode_sahelien/carte_eof_ER_jjas_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ====================== 
     7% carte_eof_ER_jjas_df.m 
     8% ====================== 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/composite_olr_eof_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ====================== 
     7% composite_olr_eof_df.m 
     8% ====================== 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/composite_olr_phase.m

    r42 r75  
    22% composite_olr_phase ++ 
    33%+ 
    4 % module 
    5 % ====== 
     4% 
     5% ===================== 
     6% composite_olr_phase.m 
     7% ===================== 
    68% 
    79% ++ 
  • trunk/src/mode_sahelien/composite_olr_phase_num.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ========================= 
     7% composite_olr_phase_num.m 
     8% ========================= 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/olr_eof_jjas2006_rossby_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ============================ 
     7% olr_eof_jjas2006_rossby_df.m 
     8% ============================ 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/reconstitution_ER_rossby_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ============================= 
     7% reconstitution_ER_rossby_df.m 
     8% ============================= 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_df.m

    r71 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ========================= 
     7% time_serie_ER_rossby_df.m 
     8% ========================= 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_df_complet.m

    r71 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ================================= 
     7% time_serie_ER_rossby_df_complet.m 
     8% ================================= 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/time_serie_histog_phase.m

    r42 r75  
    22% time_serie_histog_phase plot WTs distribution++ 
    33%+ 
    4 % module 
    5 % ====== 
     4% 
     5% ========================= 
     6% time_serie_histog_phase.m 
     7% ========================= 
    68% 
    79% ++ 
  • trunk/src/mode_sahelien/time_serie_histog_phase_num.m

    r71 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ============================= 
     7% time_serie_histog_phase_num.m 
     8% ============================= 
    79% 
    810% ++ 
  • trunk/src/mode_sahelien/time_serie_jjas_df.m

    r59 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
     5% 
     6% ==================== 
     7% time_serie_jjas_df.m 
     8% ==================== 
    79% 
    810% ++ 
     
    1113% =========== 
    1214% 
    13 % From eof_\ *period1*\ -\ *period2*\ d_jjas.mat,  
     15% From eof\_\ *period1*\ -\ *period2*\ d_jjas.mat,  
    1416% ``time_serie_jjas_df`` compute ++. 
    1517% 
     
    1921%  
    2022% 2 Postscript files 
    21 % time_serie_jjas_\ *period1*\ -\ *period2*\ d_part[12].eps are 
     23% time_serie_jjas\_\ *period1*\ -\ *period2*\ d_part[12].eps are 
    2224% written. 
    2325% 
  • trunk/src/palette.m

    r71 r75  
    33%+ 
    44% 
    5 % module 
    6 % ====== 
     5% ========= 
     6% palette.m 
     7% ========= 
    78% 
     9% ---------------------------- 
    810% define colors for isocontour 
     11% ---------------------------- 
    912% 
    1013% DESCRIPTION 
  • trunk/src/palette1.m

    r20 r75  
    33%+ 
    44% 
    5 % module 
    6 % ====== 
     5% ========== 
     6% palette1.m 
     7% ========== 
    78% 
     9% ---------------------------- 
    810% define colors for isocontour 
     11% ---------------------------- 
    912% 
    1013% DESCRIPTION 
  • trunk/src/palette3.m

    r20 r75  
    33%+ 
    44% 
    5 % module 
    6 % ====== 
     5% ========== 
     6% palette3.m 
     7% ========== 
    78% 
     9% ---------------------------- 
    810% define colors for isocontour 
     11% ---------------------------- 
    912% 
    1013% DESCRIPTION 
  • trunk/src/palettecomplet.m

    r20 r75  
    33%+ 
    44% 
    5 % module 
    6 % ====== 
     5% ================ 
     6% palettecomplet.m 
     7% ================ 
    78% 
     9% ---------------------------- 
    810% define colors for isocontour 
     11% ---------------------------- 
    912% 
    1013% DESCRIPTION 
  • trunk/src/palettejerome30.m

    r20 r75  
    33%+ 
    44% 
    5 % module 
    6 % ====== 
     5% ================= 
     6% palettejerome30.m 
     7% ================= 
    78% 
     9% ---------------------------- 
    810% define colors for isocontour 
     11% ---------------------------- 
    912% 
    1013% DESCRIPTION 
  • trunk/src/plogd.sh

    r72 r75  
    7272;; 
    7373esac 
     74unset system 
    7475# 
    7576LANG=POSIX 
  • trunk/src/refdataget.sh

    r72 r75  
    4040# 
    4141# If you are working on LOCEAN machine and you don't have any reference data,  
    42 # you just have to run this tool : 
    43 # :: 
    44 # 
    45 # $ refdataget.sh 
     42# you just have to run this tool :: 
     43# 
     44#  $ refdataget.sh 
    4645#  
    47 # And look at log file with : 
    48 # 
    49 # :: 
    50 # 
    51 # $ tlogd.sh refdataget 
     46# And look at log file with :: 
     47# 
     48#  $ tlogd.sh refdataget 
    5249#  
    5350# and of course on files in ${IRCAAM_ID}. 
     
    9794;; 
    9895esac 
     96unset system 
    9997# 
    10098LANG=POSIX 
     
    138136# 
    139137log=${IRCAAM_LOG}/$(basename ${0} .sh).log.${log_date} 
    140 echo "command = ${command}" 1>> ${log} 
    141 echo "hostname = ${hostname}" 1>> ${log} 
    142 echo "runtime = ${log_date}" 1>> ${log} 
     138echo "[Context]" 1>> ${log} 
     139echo "command=${command}" 1>> ${log} 
     140echo "hostname=${hostname}" 1>> ${log} 
     141echo "runtime=${log_date}" 1>> ${log} 
    143142# 
    144143# check for write permission on IRCAAM_ID 
     
    211210# 
    212211# end 
     212set 
    213213exit 0 
  • trunk/src/sauvegrads.m

    r71 r75  
    33 
    44%+ 
    5 % module 
    6 % ====== 
    75% 
     6% ============ 
     7% sauvegrads.m 
     8% ============ 
     9% 
     10% --------------------------------------------------------- 
    811% create a data file (.dat) and  and a definion file (.ctl) 
     12% --------------------------------------------------------- 
    913% 
    1014% SYNOPSYS 
  • trunk/src/tlogd.sh

    r72 r75  
    7777;; 
    7878esac 
     79unset system 
    7980# 
    8081LANG=POSIX 
Note: See TracChangeset for help on using the changeset viewer.