Example of how to get NOAA JPSS Visible Infrared Imaging Radiometer Suite (VIIRS) Active Fires Environmental Data Record (EDR):
Table of contents
Register & Login on NOAA CLASS Website
To order data, go to NOAA CLASS Website (The Comprehensive Large Array-data Stewardship System (CLASS))
Step 1: Create an account: go to "User Profile" in the left sidebar:
Step 2: login
Step 3: Order data
Step 4: check your email
Get data through FTP
Step 1: check if ftp is installed. Launch a terminal and enter:
ftp help
On mac if it returns an error, installed ftp using brew for example:
brew install inetutils
To install brew on mac:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step 2: start ftp connexion using command line
ftp ftp.avl.class.noaa.gov
Step 3: Go to the directory corresponding to your order (available in the email sent by NOAA CLASS). For example:
ftp > cd 297076/8228057743
Step 4: show all files using nlist
ftp > nlist
Step 5: since files are stored in a .tar archive, change ftp transfer mode to binary:
ftp > binary
Step 6: To turn-off prompt validation message, enter
ftp > prompt
To avoid the confirmation message for each file downloaded.
Step 7: get only one file
get filename.tar
get all files in a directory
mget -i *.tar .
done
Step 8: quit ftp
ftp > quit
Untar Files
To untar a single tar archive:
tar -xf filename.tar
To untar all tar archive files:
for FILE in *; do tar -xf $FILE; done
Links
Links | Site |
---|---|
NOAA Class | avl.class.noaa.gov |
NOAA JPSS Visible Infrared Imaging Radiometer Suite (VIIRS) Active Fires Environmental Data Record (EDR) from NDE | star.nesdis.noaa.gov |
Active Fires | star.nesdis.noaa.gov |
Missing ftp command line tool on macOS | stackexchange |
How to Use Terminal as an FTP Client on Your Mac | mrhow.io |
ftp list file name via bash | stackoverflow |
FTP Binary And ASCII Transfer Types And The Case Of Corrupt Files | jscape.com |
ftp | ss64.com |
ftp quit | docs.microsoft.com |