This short tutorial explains how to transfer files from ECMWF to ICTP for the workshop.

Before you begin

You must have been given a training account username and a security token password generator in order to log into ECMWF computers.

On the ICTP classroom PC, make sure you download any files to the 'data_local' directory in metview/oifs2017.

This directory 'data_local' should ideally be a link to a directory on /scratch as the filespace quota is quite small in the user home directory.

Transfer files from ECMWF CCA to ICTP classroom PC

We'll assume that you have some files scratch/ob01/2015110100/mmeans/, for example, oif_ob01_u_20151101_00.grib that you want to transfer from the ECMWF Cray computer, host 'cca'.

First, we'll create the ftp connection using sftp and then navigate to the correct directory:

Example sequence (replace with your training ID username!)
sftp troifs0@ecaccess.ecmwf.int
Authorized access only.

***************************************************************
   For further information, read the ECaccess documentation at:

   https://confluence.ecmwf.int/display/ECAC/ECaccess+Home

   You can also use ECaccess to load & download files from your
   EChome, ECscratch or ECfs directories using the ECaccess FTP
   server:

   ftp://uid@ecaccess.ecmwf.int/

   Please note you must use your UID and ActivID code to login!
***************************************************************

troifs0@140.105.20.128's password:
Connected to ecaccess.ecmwf.int.
sftp> ls
ECFS        ECHOME      ECHOST      ECJOBS      ECMARS      ECSCRATCH   ECTMP
sftp> cd ECHOST
sftp> ls
cca     ecgate
sftp> cd cca
sftp> cd scratch/ectrain/troifs0/ob01/2015110100/mmeans/
sftp> get oif_ob01_u_20151101_00.grib
sftp> bye
To transfer more than 1 file at once.. e.g.
sftp> mget oif_ob01_*.grib