#!/bin/bash
#===================================
#PBS -q ftp
#PBS -l walltime=04:00:00
#PBS -l mem=16gb
#PBS -j oe
#PBS -M gildas.cambon@ird.fr -m abe

cd $PBS_O_WORKDIR
echo $PBS_O_LOGNAME

for date in 201210 201211 201212 201301 201302 201303 201304 ; do 
echo $date 
rsync -avP jza_dpass:/lustre/fsn1/projects/rech/lah/uqt62qa/TRANSFERT_DATA/NEW/ERA5_GLOB_${date}.tar.gz . > log.era.out 2>&1  
done

for date in 201210 201211 201212 ; do
echo $date
rsync -avP jza_dpass:/lustre/fsn1/projects/rech/lah/uqt62qa/TRANSFERT_DATA/NEW/MERCATOR_GLOB_${date}.tar.gz . > log.mercator.out 2>&1
done
