Jelajahi Sumber

simpler path

Charles Pelletier 2 tahun lalu
induk
melakukan
259dac83e2
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      templates/scripts/skeleton.sh

+ 4 - 4
templates/scripts/skeleton.sh

@@ -193,7 +193,7 @@ do
             echo "special_restart_from: $special_restart_from"
 
             ### 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}
             for f in *.nc; do
                 nf=`echo "${f/$special_restart_from/$exp_name}"`
@@ -262,7 +262,7 @@ do
         # ---------------------------------------------------------------------
         cd ${run_dir}
         ### 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 )))
@@ -302,7 +302,7 @@ do
     # *** Move output files to archive directory
     # -------------------------------------------------------------------------
     ### NEMO
-    outdir="${archive_dir}/output/nemo/$(printf %03d $((leg_number)))"
+    outdir="${archive_dir}/output/$(printf %03d $((leg_number)))"
     mkdir -p ${outdir}
 
     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
     # -------------------------------------------------------------------------
     ### NEMO
-    outdir="${archive_dir}/restart/nemo/$(printf %03d $((leg_number)))"
+    outdir="${archive_dir}/restart/$(printf %03d $((leg_number)))"
     mkdir -p ${outdir}
 
     ns=$(printf %08d $(( leg_end_sec / nem_time_step_sec )))