View source: R/EarthdataLogin.R
EarthdataLogin | R Documentation |
Create a hidden .netrc
file with Earthdata Login credentials in your home
directory. The information included therein is used to login to
https://urs.earthdata.nasa.gov/ which is a mandatory requirement in order
to download MODIS data from LP DAAC, LAADS and NSIDC (see also
MODISoptions()
). If the .netrc
file already exist, the function can be
used to re-enter credentials.
EarthdataLogin(usr = NULL, pwd = NULL, path = "~/.netrc")
usr, pwd |
Login credentials as |
path |
Path to hidden |
The Earthdata Login credentials as invisible list
.
Matteo Mattiuzzi and Florian Detsch
https://docs.opendap.org/index.php/DAP_Clients_-_Authentication#LDAP (section 2.2)
https://wiki.earthdata.nasa.gov/display/EL/How+To+Access+Data+With+cURL+And+Wget
## Not run: EarthdataLogin() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.