Index: trunk/adm/guides/contact.rst
===================================================================
--- trunk/adm/guides/contact.rst	(revision 13)
+++ trunk/adm/guides/contact.rst	(revision 14)
@@ -22,7 +22,7 @@
 =======
 
-Marina Lévy pour la science
+Marina LÃ©vy pour la science
 
-Françoise Pinsard pour la gestion du projet sous trac et svn
+FranÃ§oise Pinsard pour la gestion du projet sous trac et svn
 
-Marina Lévy, Françoise Pinsard et Anne-Charlotte Peter pour les développments
+Marina LÃ©vy, FranÃ§oise Pinsard et Anne-Charlotte Peter pour les dÃ©veloppments
Index: trunk/adm/guides/data_content.rst
===================================================================
--- trunk/adm/guides/data_content.rst	(revision 13)
+++ trunk/adm/guides/data_content.rst	(revision 14)
@@ -24,5 +24,5 @@
 -----------
 
-résolution temporelle
+rÃ©solution temporelle
    +todo+
 
@@ -30,5 +30,5 @@
    +tooo+
 
-résolution spatiale
+rÃ©solution spatiale
    +todo+
 
@@ -41,5 +41,5 @@
 ~~~~~~~~~~~~~~~
 
-given by Marina Lévy
+given by Marina LÃ©vy
 
  - :file:`mld_prieur_P1L1.prn`
@@ -88,5 +88,5 @@
 ~~~~~~~~~~~~
 
-résolution temporelle
+rÃ©solution temporelle
   +todo+
 
@@ -97,5 +97,5 @@
 :caution: wrong time axe. first date is 20000927.
 
-résolution spatiale
+rÃ©solution spatiale
   +todo+
 
@@ -108,5 +108,5 @@
 ~~~~~~~~~~~~~~~
 
-given by Marina Lévy
+given by Marina LÃ©vy
 
  - :file:`eddy_mld.nc`
@@ -137,5 +137,5 @@
 --------------------------
 
-given by Marina Lévy (using copy/paste of POMME website)++
+given by Marina LÃ©vy (using copy/paste of POMME website)++
 
  - :file:`sta.P1L1.asc`
Index: trunk/adm/guides/glossary.rst
===================================================================
--- trunk/adm/guides/glossary.rst	(revision 13)
+++ trunk/adm/guides/glossary.rst	(revision 14)
@@ -25,5 +25,5 @@
 
    POMME
-      Programme Océan Multidisciplinaire Méso Échelle
+      Programme OcÃ©an Multidisciplinaire MÃ©so Ãchelle
 
    MLD
Index: trunk/adm/index.rst
===================================================================
--- trunk/adm/index.rst	(revision 13)
+++ trunk/adm/index.rst	(revision 14)
@@ -17,5 +17,5 @@
 ====================
 
-Comparaison données in-situ/modèle de hauteurs de couche de mélange
+Comparaison donnÃ©es in-situ/modÃšle de hauteurs de couche de mÃ©lange
 
 .. toctree::
Index: trunk/src/fig_mld.pro
===================================================================
--- trunk/src/fig_mld.pro	(revision 13)
+++ trunk/src/fig_mld.pro	(revision 14)
@@ -13,5 +13,5 @@
 ; - read mld insitu data and metadata
 ; - compute daily mean insitu mld data
-; - compute daily mean modeled data in boxes of 1/2° and 1° around insitu
+; - compute daily mean modeled data in boxes of 1/2Â° and 1Â° around insitu
 ;   measurement location
 ; - plot +todo+
@@ -27,12 +27,12 @@
 ;   * insitu daily mean of MLD critere 10
 ;   * insitu daily mean of MLD critere melch
-;   * model 1 mean of MLD in the box latidude+-0.5°,longitude+-.5°
-;   * model 2 mean of MLD in the box latidude+-0.5°,longitude+-.5°
-;   * model 1 stddev of MLD in the box latidude+-0.5°,longitude+-.5°
-;   * model 2 stddev of MLD in the box latidude+-0.5°,longitude+-.5°
-;   * model 1 mean of MLD in the box latidude+-1°,longitude+1°
-;   * model 2 mean of MLD in the box latidude+-1°,longitude+1°
-;   * model 1 stddev of MLD in the box latidude+-1°,longitude+1°
-;   * model 2 stddev of MLD in the box latidude+-1°,longitude+1°
+;   * model 1 mean of MLD in the box latidude+-0.5Â°,longitude+-.5Â°
+;   * model 2 mean of MLD in the box latidude+-0.5Â°,longitude+-.5Â°
+;   * model 1 stddev of MLD in the box latidude+-0.5Â°,longitude+-.5Â°
+;   * model 2 stddev of MLD in the box latidude+-0.5Â°,longitude+-.5Â°
+;   * model 1 mean of MLD in the box latidude+-1Â°,longitude+1Â°
+;   * model 2 mean of MLD in the box latidude+-1Â°,longitude+1Â°
+;   * model 1 stddev of MLD in the box latidude+-1Â°,longitude+1Â°
+;   * model 2 stddev of MLD in the box latidude+-1Â°,longitude+1Â°
 ;
 ; .. only:: man
@@ -133,5 +133,5 @@
 ; superposer plot latitude et longitude
 ;
-; mettre les labels et le titre des Y du plot longitude à droite
+; mettre les labels et le titre des Y du plot longitude Ã  droite
 ; see x recipe http://www.dfanning.com/graphics_tips/xattop.html
 ;
@@ -194,5 +194,5 @@
     data_insitu = join_dmean_asc(data_dmean,data_asc)
     ;
-    ; temps des données insitu
+    ; temps des donnÃ©es insitu
     time_insitu = data_insitu.doy
     ;
@@ -312,5 +312,5 @@
     fullfilename = project_od_env+'fig_mld.txt'
     OPENW, lun, fullfilename, /GET_LUN
-    ;++ hanlde error
+    ;++ handle error
     ;
     header='jt xlon xlat mld1 mld2 mld3 mld4 mld5 mymldm_0 mymldr_0 myvarm_0 myvarr_0 mymldm_1 mymldr_1 myvarm_1 myvarr_1'
Index: trunk/src/file_asc_long2mem.pro
===================================================================
--- trunk/src/file_asc_long2mem.pro	(revision 13)
+++ trunk/src/file_asc_long2mem.pro	(revision 14)
@@ -26,5 +26,5 @@
 ;    result = file_asc_long2mem(filename)
 ;
-; impression de contrôle : structure, 1re station, toutes les stations :
+; impression de contrÃŽle : structure, 1re station, toutes les stations :
 ;
 ; .. code-block:: idl
@@ -124,5 +124,5 @@
     ; open file
     OPENR, lun, filename, /GET_LUN
-    ;++ hanlde error
+    ;++ handle error
     ;
     ; read header
Index: trunk/src/file_asc_p1l1_to_mem.pro
===================================================================
--- trunk/src/file_asc_p1l1_to_mem.pro	(revision 13)
+++ trunk/src/file_asc_p1l1_to_mem.pro	(revision 14)
@@ -26,5 +26,5 @@
 ;    result = file_asc_p1l1_to_mem(filename)
 ;
-; impression de contrôle : 1re station, toutes les stations :
+; impression de contrÃŽle : 1re station, toutes les stations :
 ;
 ; .. code-block:: idl
@@ -114,5 +114,5 @@
     ; open file
     OPENR, lun, filename, /GET_LUN
-    ;++ hanlde error
+    ;++ handle error
     ;
     ; read header
Index: trunk/src/file_asc_p2l1_to_mem.pro
===================================================================
--- trunk/src/file_asc_p2l1_to_mem.pro	(revision 13)
+++ trunk/src/file_asc_p2l1_to_mem.pro	(revision 14)
@@ -124,5 +124,5 @@
     ; open file
     OPENR, lun, filename, /GET_LUN
-    ;++ hanlde error
+    ;++ handle error
     ;
     ; read header
Index: trunk/src/file_asc_p2l2_to_mem.pro
===================================================================
--- trunk/src/file_asc_p2l2_to_mem.pro	(revision 13)
+++ trunk/src/file_asc_p2l2_to_mem.pro	(revision 14)
@@ -27,5 +27,5 @@
 ;    result = file_asc_p2l2_to_mem(filename)
 ;
-; impression de contrôle : 1re station, toutes les stations:
+; impression de contrÃŽle : 1re station, toutes les stations:
 ;
 ; .. code-block:: idl
@@ -121,5 +121,5 @@
     ; open file
     OPENR, lun, filename, /GET_LUN
-    ;++ hanlde error
+    ;++ handle error
     ;
     ; read header
Index: trunk/src/file_prn2mem.pro
===================================================================
--- trunk/src/file_prn2mem.pro	(revision 13)
+++ trunk/src/file_prn2mem.pro	(revision 14)
@@ -10,5 +10,5 @@
 ;
 ; nb : mld float to handle NaN in file
-; ++ NaN dans les colonnes entier transformés en 0 par la lecture
+; ++ NaN dans les colonnes entier transformÃ©s en 0 par la lecture
 ;
 ;    :param filename: filename to be read
@@ -130,5 +130,5 @@
     ; open file
     OPENR, lun, filename, /GET_LUN
-    ;++ hanlde error
+    ;++ handle error
     ;
     ; read header
Index: trunk/src/file_prn_to_mem.pro
===================================================================
--- trunk/src/file_prn_to_mem.pro	(revision 13)
+++ trunk/src/file_prn_to_mem.pro	(revision 14)
@@ -43,5 +43,5 @@
 ; learn how to concatenate array of structure (and avoid loop)
 ;
-; réparer lien sphinx à fig_mld
+; rÃ©parer lien sphinx Ã  fig_mld
 ;
 ; :history:
Index: trunk/src/init_pom.pro
===================================================================
--- trunk/src/init_pom.pro	(revision 13)
+++ trunk/src/init_pom.pro	(revision 14)
@@ -8,7 +8,8 @@
 ;
 ; Define :
-;  - ++
-;  - ++
-;  - ++
+;
+; - ++
+; - ++
+; - ++
 ;
 ; Read :file:`${PROJECT_ID}/meshmak.nc`.
@@ -40,5 +41,5 @@
 ; SAXO sans compatibility (common)
 ;
-; réparer le lien sphinx sur common.pro
+; rÃ©parer le lien sphinx sur common.pro
 ;
 ; conflict with project_init.pro and init.pro
Index: trunk/src/join_dmean_asc.pro
===================================================================
--- trunk/src/join_dmean_asc.pro	(revision 13)
+++ trunk/src/join_dmean_asc.pro	(revision 14)
@@ -68,5 +68,5 @@
 ; check doy in prn files vs computed julianday
 ; now (20101124) differences due to either bad calculation here or bad
-; doy calculion in .prn file or difference choice between begin, end,
+; doy calculation in .prn file or difference choice between begin, end,
 ; middle time.
 ;
Index: trunk/src/project_profile.sh
===================================================================
--- trunk/src/project_profile.sh	(revision 13)
+++ trunk/src/project_profile.sh	(revision 14)
@@ -104,5 +104,5 @@
 # ++ besoin de posix
 #
-# ++ pas de MANPATH defini par défaut sur cratos et cerbere
+# ++ pas de MANPATH defini par dÃ©faut sur cratos et cerbere
 #
 # EVOLUTIONS
@@ -140,170 +140,202 @@
 usage=" Usage : ${command} -d directory -i indir -o outdir -t tempdir -s saxo_dir"
 #
-while [ ${#} -gt 0 ]
-do
-    case ${1} in
-        -d)
-            # directory for application choosen by user
-            # (see svn checkout command used)
-            directory=${2}
-            shift
-        ;;
-        -i)
-            # directory for inputs choosen by user
-            indir=${2}
-            shift
-        ;;
-        -o)
-            # directory for outputs choosen by user
-            outdir=${2}
-            shift
-        ;;
-        -t)
-            # directory for temporary outputs choosen by user
-            tempdir=${2}
-            shift
-        ;;
-        -s)
-            saxo_dir=${2}
-            shift
-        ;;
-        *)
-            # other choice
-            echo "eee : unknown option ${1}"
-            echo "${usage}"
-            # nb : no exit because this file should be launched
-            # by login process
-        ;;
-    esac
-    # next flag
-    shift
-done
-unset usage
-#
-# check for ${directory}
-if [ ! -d ${directory} ]
+pb=0
+#
+minargcount=10
+maxargcount=10
+narg=${#}
+#
+if [ ${narg} -lt ${minargcount} ]
 then
-    echo " eee : ${directory} not found"
+    echo "eee : not enought arguments (${narg} vs ${minargcount})"
+    echo "${usage}"
     # nb : no exit because this file should be launched by login process
+    pb=1
 fi
-#
-# check for permission on directory
-if [ ! -x ${directory} ]
+unset minargcount
+#
+if [ ${narg} -gt ${maxargcount} ]
 then
-    echo " eee : ${directory} not reachable"
+    echo "eee : too many arguments (${narg} vs ${maxargcount})"
+    echo "${usage}"
     # nb : no exit because this file should be launched by login process
+    pb=1
 fi
-#
-PROJECT=${directory}
-export PROJECT
-unset drectory
-#
-# add PROJECT tools to PATH
-# if not already done
-suppath=$(echo ${PROJECT}/src | tr -s "/")
-echo ${PATH} | grep -q "${suppath}:"
-test_path=${?}
-if [ ${test_path} -ne 0 ]
+unset maxargcount
+unset narg
+#
+if [ ${pb} -eq 0 ]
 then
-    PATH=${suppath}:${PATH}
-    export PATH
-else
-    # option bavarde oui/non pas encore implantée ++
-    echo "${command} : iii : ${suppath} already in \${PATH}"
+    while [ ${#} -gt 0 ]
+    do
+        case ${1} in
+            -d)
+                # directory for application choosen by user
+                # (see svn checkout command used)
+                directory=${2}
+                shift
+            ;;
+            -i)
+                # directory for inputs choosen by user
+                indir=${2}
+                shift
+            ;;
+            -o)
+                # directory for outputs choosen by user
+                outdir=${2}
+                shift
+            ;;
+            -t)
+                # directory for temporary outputs choosen by user
+                tempdir=${2}
+                shift
+            ;;
+            -s)
+                saxo_dir=${2}
+                shift
+            ;;
+            *)
+                # other choice
+                echo "eee : unknown option ${1}"
+                echo "${usage}"
+                # nb : no exit because this file should be launched
+                # by login process
+            ;;
+        esac
+        # next flag
+        shift
+    done
+    unset usage
 fi
-unset test_path
-#
-# add PROJECT manuals to MANPATH
-# if not already done
-suppath=$(echo ${PROJECT}/doc/man | tr -s "/")
-echo ${MANPATH} | grep -q "${suppath}:"
-test_manpath=${?}
-if [ ${test_manpath} -ne 0 ]
+#
+if [ ${pb} -eq 0 ]
 then
-    MANPATH=${suppath}:${MANPATH}
-    export MANPATH
-else
-    # option bavarde oui/non pas encore implantée ++
-    echo "${command} : iii : ${suppath} already in \${MANPATH}"
+    # check for ${directory}
+    if [ ! -d ${directory} ]
+    then
+        echo " eee : ${directory} not found"
+        # nb : no exit because this file should be launched by login process
+    fi
+    #
+    # check for permission on directory
+    if [ ! -x ${directory} ]
+    then
+        echo " eee : ${directory} not reachable"
+        # nb : no exit because this file should be launched by login process
+    fi
+    #
+    PROJECT=${directory}
+    export PROJECT
+    unset directory
+    #
+    # add PROJECT tools to PATH
+    # if not already done
+    suppath=$(echo ${PROJECT}/src | tr -s "/")
+    echo ${PATH} | grep -q "${suppath}:"
+    test_path=${?}
+    if [ ${test_path} -ne 0 ]
+    then
+        PATH=${suppath}:${PATH}
+        export PATH
+    else
+        # option bavarde oui/non pas encore implantÃ©e ++
+        echo "${command} : iii : ${suppath} already in \${PATH}"
+    fi
+    unset test_path
+    #
+    # add PROJECT manuals to MANPATH
+    # if not already done
+    suppath=$(echo ${PROJECT}/doc/man | tr -s "/")
+    echo ${MANPATH} | grep -q "${suppath}:"
+    test_manpath=${?}
+    if [ ${test_manpath} -ne 0 ]
+    then
+        MANPATH=${suppath}:${MANPATH}
+        export MANPATH
+    else
+        # option bavarde oui/non pas encore implantÃ©e ++
+        echo "${command} : iii : ${suppath} already in \${MANPATH}"
+    fi
+    unset test_manpath
+    unset suppath
+    #
+    PROJECT_LOG=${tempdir}
+    export PROJECT_LOG
+    unset tempdir
+    if [ ! -d ${PROJECT_LOG} ]
+    then
+        mkdir -p ${PROJECT_LOG}
+        status=${?}
+        if [ ${status} -ne 0 ]
+        then
+            echo "${command} : eee : can not create \${POMME_LOG}"
+            # nb : no exit because this file should be launched by login process
+        else
+            echo "${command} : iii : creation of \${PROJECT_LOG}"
+        fi
+        unset status
+    fi
+    # check for permission on PROJECT_LOG
+    if [ ! -x ${PROJECT_LOG} ]
+    then
+        echo " eee : ${PROJECT_LOG} not reachable"
+        # nb : no exit because this file should be launched by login process
+    fi
+    #
+    # check for permission on PROJECT_LOG
+    if [ ! -w ${PROJECT_LOG} ]
+    then
+        echo " eee : ${PROJECT_LOG} not writable"
+        # nb : no exit because this file should reachable be launched
+        # by login process
+    fi
+    #
+    EDITOR=vi
+    export EDITOR
+    #
+    # io directories
+    PROJECT_ID=${indir}
+    export PROJECT_ID
+    unset indir
+    if [ ! -d ${PROJECT_ID} ]
+    then
+        mkdir -p ${PROJECT_ID}
+        echo "${command} : iii : creation of \${PROJECT_ID}"
+    fi
+    # check for permission on PROJECT_ID
+    if [ ! -x ${PROJECT_ID} ]
+    then
+        echo " eee : ${PROJECT_ID} not reachable"
+        # nb : no exit because this file should be launched by login process
+    fi
+    #
+    PROJECT_OD=${outdir}
+    export PROJECT_OD
+    unset outdir
+    if [ ! -d ${PROJECT_OD} ]
+    then
+        mkdir -p ${PROJECT_OD}
+        echo "${command} : iii : creation of \${PROJECT_OD}"
+    fi
+    # check for permission on PROJECT_OD
+    if [ ! -x ${PROJECT_OD} ]
+    then
+        echo " eee : ${PROJECT_OD} not reachable"
+        # nb : no exit because this file should be launched by login process
+    fi
+    if [ ! -w ${PROJECT_OD} ]
+    then
+        echo " eee : ${PROJECT_OD} not writable"
+        # nb : no exit because this file should be launched by login process
+    fi
+    #
+    SAXO_DIR=${saxo_dir}
+    export SAXO_DIR
+    #
+    # IDL startup
+    IDL_STARTUP=${PROJECT}/src/project_init.pro
+    export IDL_STARTUP
 fi
-unset test_manpath
-unset suppath
-#
-PROJECT_LOG=${tempdir}
-export PROJECT_LOG
-unset tempdir
-if [ ! -d ${PROJECT_LOG} ]
-then
-    mkdir -p ${PROJECT_LOG}
-    status=${?}
-    if [ ${status} -ne 0 ]
-    then
-        echo "${command} : eee : can not create \${POMME_LOG}"
-        # nb : no exit because this file should be launched by login process
-    else
-        echo "${command} : iii : creation of \${PROJECT_LOG}"
-    fi
-    unset status
-fi
-# check for permission on PROJECT_LOG
-if [ ! -x ${PROJECT_LOG} ]
-then
-    echo " eee : ${PROJECT_LOG} not reachable"
-    # nb : no exit because this file should be launched by login process
-fi
-#
-# check for permission on PROJECT_LOG
-if [ ! -w ${PROJECT_LOG} ]
-then
-    echo " eee : ${PROJECT_LOG} not writable"
-    # nb : no exit because this file should reachable be launched
-    # by login process
-fi
-#
-EDITOR=vi
-export EDITOR
-#
-# io directories
-PROJECT_ID=${indir}
-export PROJECT_ID
-unset indir
-if [ ! -d ${PROJECT_ID} ]
-then
-    mkdir -p ${PROJECT_ID}
-    echo "${command} : iii : creation of \${PROJECT_ID}"
-fi
-# check for permission on PROJECT_ID
-if [ ! -x ${PROJECT_ID} ]
-then
-    echo " eee : ${PROJECT_ID} not reachable"
-    # nb : no exit because this file should be launched by login process
-fi
-#
-PROJECT_OD=${outdir}
-export PROJECT_OD
-unset outdir
-if [ ! -d ${PROJECT_OD} ]
-then
-    mkdir -p ${PROJECT_OD}
-    echo "${command} : iii : creation of \${PROJECT_OD}"
-fi
-# check for permission on PROJECT_OD
-if [ ! -x ${PROJECT_OD} ]
-then
-    echo " eee : ${PROJECT_OD} not reachable"
-    # nb : no exit because this file should be launched by login process
-fi
-if [ ! -w ${PROJECT_OD} ]
-then
-    echo " eee : ${PROJECT_OD} not writable"
-    # nb : no exit because this file should be launched by login process
-fi
-#
-SAXO_DIR=${saxo_dir}
-export SAXO_DIR
-#
-# IDL startup
-IDL_STARTUP=${PROJECT}/src/project_init.pro
-export IDL_STARTUP
+unset pb
 # end
 unset command
