LP DAAC - Homepage
How to Access LP DAAC Data from the Command LineAll publicly available Earth observation data from NASA’s Land Processes Distributed Active Archive Center (LP DAAC) are available online via Hypertext Transfer Protocol Secure (HTTPS). However, NASA Earthdata login credentials are required to download the data. Users looking to download LP DAAC data directly via a command line utility will need to pass their Earthdata login username and password to do so. This document demonstrates how to set up a .netrc file or a .wgetrc file to store your NASA Earthdata login username and password, which can be used to authenticate your credentials when attempting to download LP DAAC data from the command line.Two common command line utilities for downloading data over the internet are curl and wget. These tools each have different command line arguments and parameters that will need to be passed to them to authenticate your NASA Earthdata login credentials when downloading data from the LP DAAC. The instructions below demonstrate how to set up a .netrc file, for use with curl, or a .wgetrc file, for use with wget, to successfully download a file from the LP DAAC via HTTPS. Set up a .netrc file in your home rc file format:machine urs.earthdata.login <USERNAME>password <PASSWORD> Template .netrc fileWindows:In the Command Prompt, enter the following:echo %userprofile%This should return the home directory on your OS:Ex: C:\Users\jdoeIf it does not return a directory, try replacing %userprofile% with %home% (above and below)To create a .netrc file, enter the following in the Command Prompt:type NUL >> %userprofile%\.netrc | echo machine urs.earthdata. >> %userprofile%\.netrcTo insert your NASA Earthdata login username and password into the file, enter the following in the Command Prompt:echo login REPLACEWITHUSERNAME >> %userprofile%\.netrc | echo password REPLACEWITHPASSWORD >> %userprofile%\.netrcMacOS:To create a .netrc file, enter the following in Terminal:touch ~/.netrc | chmod og-rw ~/.netrc | echo machine urs.earthdata. >> ~/.netrcTo insert your NASA Earthdata login username and password into the file, enter the following in Terminal:echo login REPLACEWITHUSERNAME >> ~/.netrc | echo password REPLACEWITHPASSWORD >> ~/.netrcDownload LP DAAC data from the command lineUsing curlInstall the latest version of curlThis documentation was tested using curl version 7.61.0Make sure that you have successfully completed Step 1 (create a .netrc file)You should now be able to run curl using the command below:curl -O -b ~/.urs_cookies -c ~/.urs_cookies -L -n wgetInstall the latest version of wgetThis documentation was tested using Wget version 1.19.1If you are running MacOS, Linux, or Cmder [on Windows]Navigate to your home directoryContinue to step ivIf you are running Windows Command PromptNavigate to the directory (in command prompt using cd) containing the wget.exe executable fileTip: try `where wget` in the command prompt to find directoryContinue to step ivCreate a .wgetrc file in this directory by entering the following into Command Prompt:MacOS, Linux, Cmder:touch .wgetrc | chmod og-rw .wgetrcWindows:type NUL >> .wgetrcTo insert your NASA Earthdata login username and password into the file, enter the following in the Command Prompt:echo http-user=REPLACEWITHUSERNAME >> .wgetrc | echo http-password=REPLACEWITHPASSWORD >> .wgetrcYou should now be able to run wget commands to download data directly from the LP DAAC data pool:wget -i filelistcontainingmultipleURLs.txtAdditionally, if you are looking to download data directly in R or Python, be sure to check out the scripts provided in How to Access the LP DAAC Data Pool with R and How to Access the LP DAAC Data Pool with Python. ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
Related searches
- xfinity homepage for windows 10
- make xfinity my homepage in windows 10
- change homepage to xfinity for windows 10
- set edge homepage to xfinity
- set xfinity as homepage windows 10
- change homepage to xfinity by comcast
- comcast homepage email sign in
- beaumont isd homepage teams
- xfinity homepage download
- ask homepage free download
- ask homepage download
- change homepage to ask