Install & Compatibility
Where this runs
tested against v0.14.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 1.612s · 64.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 7.7s · import 1.476s · 67MB
81MB installed
● package 81MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
earthaccess
✓ import earthaccess
The library is imported as a module; no submodule import needed.
earthaccess.login
✓
✗ from earthaccess import auth; auth.login()
Use earthaccess.login() directly; the old auth submodule is deprecated.
earthaccess.open
✓
✗ earthaccess.open_files()
open_files() was renamed to open() in a previous version.
Authenticate, search for ICESat-2 ATL06 granules, and open remote file handles.
import earthaccess
auth = earthaccess.login()
results = earthaccess.search_data(
short_name='ATL06',
bounding_box=(-180, -90, 180, 90),
count=10
)
files = earthaccess.open(results)
Errors
Common errors & fixes
AttributeError: module 'earthaccess' has no attribute 'open_files'
The function was renamed from open_files to open in an earlier version.
fixUse earthaccess.open() instead.
earthaccess.exceptions.AuthenticationError: Earthdata Login credentials rejected
Credentials are invalid or expired. Since v0.14.0, this raises an exception.
fixCheck your .netrc file or environment variables (EARTHDATA_USERNAME, EARTHDATA_PASSWORD). Or call earthaccess.login(strategy='netrc') to force netrc usage.
Upgrade
Version history
0.18.0latest on PyPI · released May 12, 2026
Audit
Dependencies
No dependency data recorded yet.