Setting up OPeNDAP
NASAPrecipitation.jl downloads data from NASA's EOSDIS OPeNDAP servers, which requires registering an account to acces the data. The steps are as follows:
You need to register an account with Earthdata and allow access to the NASA EOSDISC on it.
Create a
.netrcfile with the following information:machine urs.earthdata.nasa.gov login <your login> password <your password>Create a
.dodsrcfile with the following lines: (1)HTTP.COOKIEJAR=/<home directory>/.urs_cookiesand (2)HTTP.NETRC=/<home directory>/.netrc
If this sounds complicated however, fear not! You need only perform the first step yourself (i.e. create your own account). NASAPrecipitation.jl will automatically set up the .dodsrc file (if you don't already have one), and once you have your <login> and <password>, you can use the function setup() to set up your .netrc file.
using NASAPrecipitation
setup(
login = <username>
password = <password>
)