Commit c61fa583 authored by HOURDIN Christophe's avatar HOURDIN Christophe
Browse files

minor changes

parent 6b10b879
......@@ -27,6 +27,10 @@ if ! [ -h ${ASCII_DIR_IMG} ] && [ -d ${ASCII_DIR_IMG} ] ; then
fi
fi
if [ "${DATE_BEGIN_EXP}" != "${DATE_BEGIN_JOB}" ]; then
cd ${JOBDIR}; ln -s ../${ASCII_DIR_IMG_ROOT} ${ASCII_DIR_IMG_ROOT} ; cd -
fi
# OUTDIR: output directory
[ -d ${OUTDIR} ] && mv ${OUTDIR} ${OUTDIR}_${OLD}
mkdir -p ${OUTDIR}
......
......@@ -113,14 +113,14 @@ if [ "${MODEL_OCE}" == "croco" ] ; then
export out_list="avg diabio_avg"
# export freq_out='day'
# export freq_his=20000;
# export freq_his=2000;
# export freq_avg=31;
# export freq_diabio_avg=31
export freq_out='tsp'
export freq_his=20000
export freq_avg=15
export freq_diabio_avg=15
export freq_his=2000
export freq_avg=2
export freq_diabio_avg=2
fi
# files to save in ascii jobdir after running
......
......@@ -11,7 +11,7 @@ do
[ ${nn} -eq 0 ] && suff="" || suff=".${nn}"
for file in croco_rst.nc${suff}
do
# mvfile ${file} ${RSTDIR_OUT}/restart_oce_${EXP_NAME}_${DATE_END_JOB}.nc${suff}
mvfile ${file} ${RSTDIR_OUT}/restart_oce_${EXP_NAME}_${DATE_END_JOB}.nc${suff}
done
done
......@@ -33,6 +33,7 @@ do
for file in croco_${ext}.nc${suff}
do
# mvfile ${file} ${OUTDIR}/${EXP_NAME}_${ext}_${freq}d_${DATE_BEGIN_JOB}_${DATE_END_JOB}${ext_name}.nc${suff}
echo ${file} ${OUTDIR}/${EXP_NAME}_${ext}_${freq}d_${DATE_BEGIN_JOB}_${DATE_END_JOB}${ext_name}.nc${suff}
done
done
done
......
......@@ -118,8 +118,10 @@ ${USE_OCE} && ./compile_oce.sh
printf " ============================== Compiling end \n\n"
# sav model dir
printf "rsync -a ${COMPDIR}/croco ${COMPDIR}/xios ${JOBDIR_ROOT}/${ASCII_DIR_IMG}/compile\n\n"
rsync -a ${COMPDIR}/croco ${COMPDIR}/xios ${JOBDIR_ROOT}/${ASCII_DIR_IMG}/compile
cd ${COMPDIR}
printf "rsync -a ./croco ./xios ${JOBDIR_ROOT}/${ASCII_DIR_IMG}/compile\n\n"
rsync -a ./croco ./xios ${JOBDIR_ROOT}/${ASCII_DIR_IMG}/compile
cd -
if ! [ -f ${COMPDIR}/croco/${MODEL_OCE}_${COMPUTER}.exe ] ; then
printf "\n\n\n\n ${MODEL_OCE}_${COMPUTER}.exe not found => exit. \n\n"; exit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment