#!/bin/bash
#===================================
###c#PBS -q sequentiel
#PBS -l walltime=06:00:00
#PBS -j oe
#PBS -M gildas.cambon@ird.fr -m abe
#PBS -l mem=115g

# cd $PBS_O_WORKDIR
# echo $PBS_O_LOGNAME
# source /usr/share/Modules/3.2.10/init/bash

for dir in ERA5_Benguela_LR_Y2005M01_04 SODA_Benguela_LR_Y2005M01_03 ERA5_native_Benguela_LR_Y2005M01_04 ERAI_Benguela_LR_Y2005M01_04 ; do
    CMD="tar -cvf ${dir}.tar ${dir}"
    echo $CMD
    $CMD
done
echo "Done"
