|
@@ -193,7 +193,7 @@ do
|
|
echo "special_restart_from: $special_restart_from"
|
|
echo "special_restart_from: $special_restart_from"
|
|
|
|
|
|
### NEMO
|
|
### NEMO
|
|
- indir="${run_dir}/../../${special_restart_from}/archive/restart/nemo/$(printf %03d $((special_restart_leg)))"
|
|
|
|
|
|
+ indir="${run_dir}/../../${special_restart_from}/archive/restart/$(printf %03d $((special_restart_leg)))"
|
|
cd ${indir}
|
|
cd ${indir}
|
|
for f in *.nc; do
|
|
for f in *.nc; do
|
|
nf=`echo "${f/$special_restart_from/$exp_name}"`
|
|
nf=`echo "${f/$special_restart_from/$exp_name}"`
|
|
@@ -262,7 +262,7 @@ do
|
|
# ---------------------------------------------------------------------
|
|
# ---------------------------------------------------------------------
|
|
cd ${run_dir}
|
|
cd ${run_dir}
|
|
### NEMO
|
|
### NEMO
|
|
- outdir="${archive_dir}/restart/nemo/$(printf %03d $((leg_number-1)))"
|
|
|
|
|
|
+ outdir="${archive_dir}/restart/$(printf %03d $((leg_number-1)))"
|
|
|
|
|
|
|
|
|
|
ns=$(printf %08d $(( leg_start_sec / nem_time_step_sec )))
|
|
ns=$(printf %08d $(( leg_start_sec / nem_time_step_sec )))
|
|
@@ -302,7 +302,7 @@ do
|
|
# *** Move output files to archive directory
|
|
# *** Move output files to archive directory
|
|
# -------------------------------------------------------------------------
|
|
# -------------------------------------------------------------------------
|
|
### NEMO
|
|
### NEMO
|
|
- outdir="${archive_dir}/output/nemo/$(printf %03d $((leg_number)))"
|
|
|
|
|
|
+ outdir="${archive_dir}/output/$(printf %03d $((leg_number)))"
|
|
mkdir -p ${outdir}
|
|
mkdir -p ${outdir}
|
|
|
|
|
|
for v in grid_U grid_V grid_W grid_T icemod SBC scalar SBC_scalar diad_T \
|
|
for v in grid_U grid_V grid_W grid_T icemod SBC scalar SBC_scalar diad_T \
|
|
@@ -322,7 +322,7 @@ do
|
|
# *** Move restart files to archive directory
|
|
# *** Move restart files to archive directory
|
|
# -------------------------------------------------------------------------
|
|
# -------------------------------------------------------------------------
|
|
### NEMO
|
|
### NEMO
|
|
- outdir="${archive_dir}/restart/nemo/$(printf %03d $((leg_number)))"
|
|
|
|
|
|
+ outdir="${archive_dir}/restart/$(printf %03d $((leg_number)))"
|
|
mkdir -p ${outdir}
|
|
mkdir -p ${outdir}
|
|
|
|
|
|
ns=$(printf %08d $(( leg_end_sec / nem_time_step_sec )))
|
|
ns=$(printf %08d $(( leg_end_sec / nem_time_step_sec )))
|