This function obtains a NASA Earthdata token via an API for a given username and password

get_nasa_token(username, password)

Arguments

username

character. NASA Earthdata username

password

character. NASA Earthdata password

Value

A character string containing the token

Author

Simon Smart simon.smart@cantab.net