ScienceCore / climaterisk

Determining Climate Risks with NASA Earthdata Cloud
https://sciencecore.github.io/climaterisk/
Creative Commons Attribution Share Alike 4.0 International
1 stars 5 forks source link

Credentials test script #83

Closed kvenkman closed 3 months ago

kvenkman commented 3 months ago

Minimum script that tests if users have set up their NASA Earthdata credentials correctly.

The script will execute all the way through if a .netrc file exists in the users home directory with valid credentials. If not, it will throw an error. Note, the file must exist in the home directory ONLY. A .netrc file in the same directory as the notebooks/repository will not suffice.

@dhavide - feel free to move this script to the appropriate spot.