EarthdataLogin: Create File with Earthdata Login Credentials

View source: R/EarthdataLogin.R

EarthdataLoginR Documentation

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, LAADS and NSIDC (see also MODISoptions()). If the .netrc file already exist, the function can be used to re-enter credentials.

Usage

EarthdataLogin(usr = NULL, pwd = NULL, path = "~/.netrc")

Arguments

usr, pwd

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

path

Path to hidden .netrc file as character. The default should not be changed unless for a good reason.

Value

The Earthdata Login credentials as invisible list.

Author(s)

Matteo Mattiuzzi and Florian Detsch

See Also

Examples

## Not run: 
EarthdataLogin()

## End(Not run)


MODIS documentation built on Jan. 6, 2023, 5:10 p.m.