EarthdataLogin: Create File with Earthdata Login Credentials

Description Usage Arguments Value Author(s) See Also Examples

View source: R/EarthdataLogin.R

Description

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 .netrc does exists the function can be used to re-enter credentials.

Usage

1
EarthdataLogin(usr = NULL, pwd = NULL)

Arguments

usr, pwd

Login credentials as character. If NULL, username and password are read from the terminal.

Value

The invisible Earthdata login credentials as list.

Author(s)

Matteo Mattiuzzi and Florian Detsch

See Also

Examples

1
2
3
4
## Not run: 
EarthdataLogin()

## End(Not run)

MODIS documentation built on Nov. 12, 2020, 5:06 p.m.