You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 668cfe3
Browse filesBrowse the repository at this point in the historyBrowse files
Don't overwrite stored netrc credentials on download (#27, #13) (#28)
* Don't overwrite stored netrc credentials on download (#27, #13)
edl_download() (and a bare edl_netrc()) unconditionally rewrote the
.netrc file with the bundled default credentials, clobbering credentials
a user had already set with edl_netrc() and causing 401 errors.
Only (re)write the netrc when credentials are supplied explicitly or when
no earthdata netrc exists yet. The guard uses missing() + file existence,
so it behaves deterministically in headless/non-interactive sessions too.
* Extend netrc no-overwrite guard to edl_search() (#27)
0 commit comments