Changeset 1160 for trunk/libIGCM
- Timestamp:
- 01/27/15 17:54:25 (9 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_metrics_LMDZ
r1159 r1160 80 80 #set -vx 81 81 82 function METRICS_sed83 {84 # Usage : METRICS_sed metrics_template var_name myvalue85 # In file metrics_template modify the line containing var_name=xxx into var_name=myvalue86 IGCM_debug_PushStack "METRICS_sed"87 88 # Test if the fichier exist89 if [ ! -f ${1} ] ; then90 echo "WARNING : ${1} file does not exist. Following will not be done : METRICS_sed : ${1} ${2} ${3}"91 IGCM_debug_PopStack "METRICS_sed"92 return93 fi94 95 sed -e "s/^${2}\ *=.*/${2} = ${3}/" ${1} > ${1}.tmp96 RET=$?97 echo "METRICS_sed : ${1} ${2} ${3}"98 \mv ${1}.tmp ${1}99 100 IGCM_debug_PopStack "METRICS_sed"101 return $RET102 }103 104 82 IGCM_sys_MkdirWork ${RUN_DIR_PATH} 105 83 IGCM_sys_Cd ${RUN_DIR_PATH} … … 141 119 IGCM_sys_MkdirWork ${RUN_DIR} 142 120 IGCM_sys_Cd ${RUN_DIR} 121 IGCM_sys_MkdirWork METRICS 143 122 144 123 #================================== -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh
r1158 r1160 104 104 else 105 105 . /ccc/cont003/home/dsm/p86ipsl/.atlas_env_netcdf4_curie_ksh > /dev/null 2>&1 106 METRICS_MP=/ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/106 PCMDI_MP=/ccc/work/cont003/dsm/p86ipsl/PCMDI-MP/ 107 107 fi 108 108
Note: See TracChangeset
for help on using the changeset viewer.