. /home/ne1/bin/atos_cy48r1_intel_hpcx
BINDIR=/ec/res4/hpcperm/ne1/ifs-builds/ne1_CY48R1.0_nemo_E55_multio/install_sp_V40_noioserver/bin
ksh $HOME/ifs/ifs_coupled_testscripts/weights_scripts/ocnatm_interpol_mpi_scripts_highres_atos.ksh 1279_4 eorca12_go8_z75 V40 1 global12.5 256 10 $BINDIR
cd rundir_1279_4_eorca12_go8_z75
for f in dists*.job
do
  sbatch $f
done
for f in remap*.job
do
  sbatch $f
done
for g in T U V
do
  mv remap_1279_4_mask_to_eorca12_go8_z75_mask_grid_${g}.nc ../remap_gaussto${g}.nc
  mv remap_eorca12_go8_z75_mask_grid_${g}_to_1279_4_mask.nc ../remap_${g}togauss.nc
  mv remap_global12.5_mask_to_eorca12_go8_z75_mask_grid_${g}.nc ../remap_wamto${g}.nc
  mv remap_eorca12_go8_z75_mask_grid_${g}_to_global12.5_mask.nc ../remap_${g}towam.nc
done
