Objective

A script has been written by Jordi Peralta for downloading data from MareNostrum to the CFU storage. This script is located at “/cfu/pub/scripts/transfer/do_transfer.1.sh” and has the necessary steps to make sure data can be properly downloaded (identical to the original ones).

Use

Users are advised to follow these recommendations:

./do_transfer.1.sh <exp_id> <startdate> <data_type>

Where data_type can be mmo (for ocean output), mma (for atmospheric output), rest (for restart files) log (for log files)

For example: ./do_transfer.1.sh b015 1960* mma

This will download all the atmosphere data for the starting dates 1960* of “b015”

Tips

EXPID=b014

YEAR_LST=“19601101 19651101 19701101”

SCRIPT_DIR=/home/huidu/scripts

for year in $YEAR_LST; do

 for type in mma mmo rest log; do
   ${SCRIPT_DIR}/do_transfer.sh ${EXPID} ${year} ${type}
 done

done #loop for starting dates

Contact

muhammad.asif@ic3.cat