writeNetrc | R Documentation |
Write a netrc file that is valid for accessing urs.earthdata.nasa.gov
writeNetrc( login, password, machine = "urs.earthdata.nasa.gov", netrcFile = getNetrcPath(), overwrite = FALSE )
login |
A character. Email address used for logging in on earthdata |
password |
A character. Password associated with the login. |
machine |
the machine you are logging into |
netrcFile |
A character. A path to where the netrc file should be written. By default will go to your home directory, which is advised |
overwrite |
A logical. overwrite the existing netrc file? |
The database is accessed with the user's credentials. A netrc file storing login and password information is required. See here for instruction on how to register and set DataSpace credential.
A character vector containing the netrc file path
checkNetrc
Other netrc:
checkNetrc()
,
check_nco()
,
getNetrcPath()
## Not run: writeNetrc( login = "XXX@email.com", password = "yourSecretPassword" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.