The best method for file transfers from any ECMWF source (home and scratch on ECMWF, ecfs) is the ecaccess package. See the ECMWF home page under 'Services' and then 'ECaccess.
Install the ECaccess tool package
(from the eccaccess home page, select 'download').
Unpack and install as described.
To be able to get files from ECMWF, you need to have a
SecureID card and to get a certificate
using the 'eccert' command (valid for one month).
Simple usage to get files from the 'ecfs:/nlh/cuijperh' archive:
bash$ eccert # if necessary ...
bash$ export ECDOMAIN="ECFS[nlh]"
bash$ ecget cuijperh/od/fc/2003/01/ml60/glb3x2/uvsp_20030101_21p06.hdf uvsp_20030101_21p06.hdf
The ecaccess gateway needs to be installed at
your institute.
TMPP uses 'ectrans' to write on your workstation. You need to registrate login name, password, and destintation directories via the ECtrans setup. First login using the ECaccess Login page running at your institute; for KNMI, this is
https://ecaccess.knmi.nl:9443/ECMWFSelect 'ECtrans setup', and add the information for your situation.
The information specified in the ECtrans setup should be used in the transfer options at the end of the rc file.
A script is provided to transfer files from an ftp server to a local directory and or ecfs/mos .
Start the script with:
SCRIPTS/transfiles transfer.rc
The rc file contains the settings for the job; see section 1.3 about rc files and the template:
RCFILES/transfer.rc
For autmatic submission every half hour,
write the following line to ~/.crontab
:
0,30 * * * * SCRIPTS/transfiles RCFILES/transfer.rc >> log/transfiles.out 2>&1Submit with:
crontab ~/.crontab
The script creates a lock file
<scartchdir>/log/lockwhile running. If it already exists, a message is written and the scripts terminates.