Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Before you begin

Info

You must have been given a training account username

...

, beginning with the letters 'troifs' and the security password in order to log into ECMWF computers

...

Info

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

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 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 OpenIFS runs on the ECMWF Cray computer, host called 'cca'. This example shows how to transfer a file or several files from the training account "scratch" directory.

Before you start make sure you are in the correct local directory on the classroom PC at Reading University!

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

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

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

   https://software.ecmwf.int/wiki/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/myexpt/output
sftp> get oif_ob01_u_20151101_00mslp.grib
sftp> bye


Code Block
languagebash
titleTo transfer more than 1 file at once.. e.g.
sftp> mget oif_ob01mslp_*.grib