. /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 399_4 eorca025_go8_z75 V40 2 global36 256 3 $BINDIR
cd rundir_399_4_eorca025_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_399_4_mask_to_eorca025_go8_z75_mask_grid_${g}.nc ../remap_gaussto${g}.nc
  mv remap_eorca025_go8_z75_mask_grid_${g}_to_399_4_mask.nc ../remap_${g}togauss.nc
  mv remap_global36_mask_to_eorca025_go8_z75_mask_grid_${g}.nc ../remap_wamto${g}.nc
  mv remap_eorca025_go8_z75_mask_grid_${g}_to_global36_mask.nc ../remap_${g}towam.nc
done
