MODIS (version 1.1.7)

EarthdataLogin: Create File with Earthdata Login Credentials

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 and NSIDC (see also MODISoptions). If .netrc does exists the function can be used to re-enter credentials.

Usage

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.

See Also

Examples

Run this code
# NOT RUN {
EarthdataLogin()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab