FTP Process

FTP stands for ‘File Transfer Protocol’ which is one of the most common ways to transfer files over the internet. Sure enough, all operating systems have an FTP manager available through the command line. We will use this tool to download our HDF data.

Reverb Data Access Tool

NASA’s Earth Observing System Data and Information System (EOSDIS) is the clearinghouse for EOS data. There is a handy graphical user interface that you can use to explore the EOS data available called Reverb. Through Reverb you can move around the world and explore the different data available, and focus in on a specific geographic or temporal range of interest. Here is a link to my area of interest.

Granules

Each individual data file is called a Granule. You will want to select the granules of interest to add to your cart. Once you are satisfied with your cart, hit the Download button, this will open up an interface. Look for the FTP Batch Script radio button as shown below:

FTP_Batch_Script_download

 

Running the Batch Script

First, you will need to define your working directory. That is, where is the batch script located on your machine. This is the same directory where your files will be saved to. You will want to take a moment to think about this and organize your files appropriately. In Terminal on a Mac you use the ‘cd’ command to ‘change directory’ to wherever you save the batch script.

> donal:ftp bgatts$ pwd
/Users/bgatts/ftp
> donal:ftp bgatts$ ftp -p -n < ftp_script.txt

You will notice that this has some instructions at the bottom that shows how to implement this script from the command link using a variety of operating systems. The -p, -n, and -s arguments are basically ways to handle formatting within the script file. Open up a command prompt for your operating system (Terminal in Mac). I ended up using a Mac because the Windows partition on my computer encountered an error with my linksys router. Once you hit enter this should begin to download all of your files!

Continue to Next Step

Back to Index