Setting up Earthdata login credentials¶
A NASA Earthdata account is required to access data. Please visit https://urs.earthdata.nasa.gov/home to make an account.
The Earthdata Login provides a single mechanism for user registration and profile management for all EOSDIS system components (DAACs, Tools, Services). Your Earthdata login also helps the EOSDIS program better understand the usage of EOSDIS services to improve user experience through customization of tools and improvement of services. EOSDIS data are openly available to all and free of charge except where governed by international agreements.
Note: some Earthdata password characters may cause problems depending on your system. To be safe, do not use any of the following characters in your password: backslash (), space, hash (#), quotes (single or double), or greater than (>). Set/change your Earthdata password here: https://urs.earthdata.nasa.gov/change_password
To make your Earthdata credentials accessible to ecco_access functions:
After creating a NASA Earthdata account, create a file called
.netrcin your home directory (linux, Mac):
/home/<username>/.netrc
or _netrc (Windows):
C:\Users\<username>\_netrc
The netrc file must have the following structure and must include your Earthdata account login name and password:
machine urs.earthdata.nasa.gov
login <your username>
password <your password>
Set permissions on your
netrcfile to be readable only by the current user. If not, you will receive the error “netrc access too permissive.”
$ chmod 0600 ~/.netrc