UFS Medium-Range Weather (MRW) Practical Session Guide | Session 0: Transferring your files from cheyenne

If you want to save your files from cheyenne:

On your local machine (laptop/desktop), cd to a directory where you want to save your file.  For example, on a Mac

cd /Users/$USER/Downloads

where $USER is your localhost user name.

On cheyenne, cd to the directory where your files are located, e.g.:

cd $UFS_SCRATCH/ufs-mrweather-app-workflow.c96/run
ls *.png
plot_ufs_phyf_tmp2m.png
plot_ufs_phyf_tprcp.png

Now, from your local machine, enter the following:

scp $USER@cheyenne.ucar.edu:/glade/scratch/$USER/UFS_training/ufs-mrweather-app-workflow.c96/run/*.png .

where $USER is now your cheyenne username and what follows the colon after cheyenne.ucar.edu is the absolute path to your files on cheyenne.  Following that is a dot ('.') which represents your current directory on your local machine (you could also specify an absolute path to where you want to put the files.). You'll see:

Token_Response: 

Authenticate with your credentials.  Next, the files will be downloaded:

plot_ufs_phyf_tmp2m.png                                                          100%  160KB   1.1MB/s   00:00    
plot_ufs_phyf_tprcp.png                                                          100%  126KB 802.1KB/s   00:00

And the files should be in your local directory.  On your local machine, enter:

ls *.png
plot_ufs_phyf_tmp2m.png
plot_ufs_phyf_tprcp.png

For more information, see the scp man page:

man scp