earthaccess
Search, download or stream NASA Earth science data with just a few lines of code.
https://github.com/earthaccess-dev/earthaccess
Category: Sustainable Development
Sub Category: Data Catalogs and Interfaces
Keywords
access climate-data cloud-computing cmr data gis nasa nasa-api nasa-data open-science openscience pangeo remote-sensing
Keywords from Contributors
icesat-2 closember cryosphere zarr glacier 2023-hackweek jupyterbook community-driven earth-observation climate
Last synced: about 18 hours ago
JSON representation
Repository metadata
Python Library for NASA Earthdata APIs
- Host: GitHub
- URL: https://github.com/earthaccess-dev/earthaccess
- Owner: earthaccess-dev
- License: mit
- Created: 2021-08-25T15:25:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-11-24T20:19:56.000Z (10 days ago)
- Last Synced: 2026-12-03T23:31:21.904Z (about 18 hours ago)
- Topics: access, climate-data, cloud-computing, cmr, data, gis, nasa, nasa-api, nasa-data, open-science, openscience, pangeo, remote-sensing
- Language: Python
- Homepage: https://earthaccess.readthedocs.io/
- Size: 27.8 MB
- Stars: 657
- Watchers: 15
- Forks: 160
- Open Issues: 165
- Releases: 32
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Support: docs/supported-by.md
- Governance: docs/governance/decisions/.nav.yml
README.md
earthaccess
earthaccess is a python library to search for, and download or stream NASA Earth science data with just a few lines of code.
Visit our documentation to learn more!
Why earthaccess
During several workshops organized by NASA Openscapes, the need to provide easy-to-use tools to our users became evident. Open science is a collaborative effort; it involves people from different technical backgrounds, and the data analysis to solve the pressing problems we face cannot be limited by the complexity of the underlying systems. Therefore, providing easy access to NASA Earthdata regardless of the data storage location (hosted within or outside of the cloud) is the main motivation behind this Python library.
How to Get Started with earthaccess
How to install
To install earthaccess go to your terminal and install it using pip:
python -m pip install earthaccess
How to access NASA Earth Science data
You'll need a free NASA Earthdata Login (EDL) account. If you don't have one yet,
register here. earthaccess.login()
prompts you for these credentials (or reads them from a .netrc file or environment
variables). See
Authenticate with Earthdata Login
for details.
With earthaccess, data is 3 steps away!
import earthaccess
# 1. Login
earthaccess.login()
# 2. Search
results = earthaccess.search_data(
short_name='ATL06', # ATLAS/ICESat-2 L3A Land Ice Height
bounding_box=(-10, 20, 10, 50), # Only include files in area of interest...
temporal=("1999-02", "2019-03"), # ...and time period of interest.
count=10
)
# 3. Access
files = earthaccess.download(results, "/tmp/my-download-folder")
Visit our quick start guide for more details.
Help!
We're here for you! Before you open a new issue/discussion/topic, please search to see if anyone else has opened a similar one.
:bug: If you've found a bug or mistake, please use GitHub issues.
:bulb: If you'd like to request a feature or ask a question, please use GitHub discussions.
:left_speech_bubble: If you prefer real-time chat, please visit us in our Zulip chat space! We'd love to see you there! :open_hands:
Compatibility
The minimum supported Python version is 3.12.
How earthaccess relates to other tools
earthaccess ties search, authentication, and data access together into a single workflow, building on existing open-source tools rather than replacing
them. Other tools in the NASA Earth science data ecosystem include:
-
VirtualiZarr — builds a virtual Zarr store interface over archival files (netCDF/HDF5) without duplicating data.
earthaccessintegrates it directly viaearthaccess.virtualize(), turning a set of granules into a virtual xarrayDataset, which supports cloud-native access patterns without downloads required. -
python-cmr — wraps NASA's Common Metadata Repository (CMR) search API.
earthaccessbuilds on it, adding provider-aware resolution, cloud-hosting filters, and rich result objects. -
asf_search — search and access tailored to synthetic aperture radar (SAR) data, whereas
earthaccessis mission- and domain-agnostic. -
icepyx — ICESat-2-specific search and access that uses
earthaccessfor authentication. -
earthdatalogin — analogous authentication and access tool for the R ecosystem.
-
fsspec / s3fs — general-purpose filesystem libraries that advanced users can compose manually;
earthaccessencapsulates the NASA-specific authentication and cloud-detection logic on top of them.
Citing earthaccess
If you use earthaccess in your work, please cite it. The version-specific
citation can be generated from the "Cite this repository" button on the
GitHub repository (powered by
CITATION.cff). For convenience, a general citation using the Zenodo DOI is:
Barrett, A., Battisto, C., Bourbeau, J., Carroll, I., Daniels, C., Fisher, M., Kaufman, D., Kennedy, J.H., Lopez, L., Lowndes, J., Scheick, J., Steiker, A., & Varghese, S. earthaccess [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.8365009
@software{earthaccess,
author = {Barrett, Andrew and Battisto, Chris and Bourbeau, James and Carroll, Ian and Daniels, Chuck and Fisher, Matt and Kaufman, Daniel and Kennedy, Joseph H. and Lopez, Luis and Lowndes, Julia and Scheick, Jessica and Steiker, Amy and Varghese, Sherwin},
title = {earthaccess},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.8365009},
url = {https://doi.org/10.5281/zenodo.8365009}
}
How to Contribute to earthaccess
If you want to contribute to earthaccess checkout the Contributing Guide.
Contributors
Citation (CITATION.cff)
cff-version: 1.2.0
message: |
Please cite this software using these metadata.
Authors are listed in alphabetical order.
title: "earthaccess"
doi: "10.5281/zenodo.8365009"
abstract: "Python Library for NASA Earthdata APIs"
contact:
- name: "The earthaccess community"
website: "https://github.com/earthaccess-dev/earthaccess/discussions"
- name: "NSIDC"
email: "nsidc@nsidc.org"
type: "software"
# NOTE: The CFF spec says `license` can be a list, but Zenodo is currently not
# accepting lists for this key:
# https://github.com/zenodo/zenodo/issues/2515
license: "MIT"
keywords:
- "data"
- "Remote sensing"
- "Cloud computing"
- "authentication"
- "Earthdata Login"
url: "https://earthaccess.readthedocs.io"
repository-code: "https://github.com/earthaccess-dev/earthaccess"
version: "0.19.0"
date-released: "2026-09-03"
authors:
- family-names: "Barrett"
given-names: "Andrew"
orcid: "https://orcid.org/0000-0003-4394-5445"
website: "https://github.com/andypbarrett"
- family-names: "Battisto"
given-names: "Chris"
orcid: "https://orcid.org/0000-0002-9608-3634"
website: "https://github.com/battistowx"
- family-names: "Bourbeau"
given-names: "James"
orcid: "https://orcid.org/0000-0003-2164-7789"
website: "https://github.com/jrbourbeau"
- family-names: "Carroll"
given-names: "Ian"
orcid: "https://orcid.org/0000-0002-3616-810X"
website: "https://github.com/itcarroll"
- family-names: "Daniels"
given-names: "Chuck"
website: "https://github.com/chuckwondo"
- family-names: "Fisher"
given-names: "Matt"
orcid: "https://orcid.org/0000-0003-3260-5445"
website: "https://mfisher87.github.io/"
- family-names: "Kaufman"
given-names: "Daniel"
orcid: "https://orcid.org/0000-0002-1487-7298"
website: "https://github.com/danielfromearth"
- family-names: "Kennedy"
given-names: "Joseph"
orcid: "https://orcid.org/0000-0002-9348-693X"
website: "https://github.com/jhkennedy"
- family-names: "Lopez"
given-names: "Luis"
orcid: "https://orcid.org/0000-0003-4896-3263"
website: "https://github.com/betolink"
- family-names: "Lowndes"
given-names: "Julia"
orcid: "https://orcid.org/0000-0003-1682-3872"
website: "https://github.com/jules32"
- family-names: "Scheick"
given-names: "Jessica"
orcid: "https://orcid.org/0000-0002-3421-4459"
website: "https://github.com/JessicaS11"
- family-names: "Steiker"
given-names: "Amy"
orcid: "https://orcid.org/0000-0002-3039-0260"
website: "https://github.com/asteiker"
- family-names: "Varghese"
given-names: "Sherwin"
orcid: "https://orcid.org/0009-0005-7030-213X"
website: "https://github.com/Sherwin-14"
references:
- type: "grant"
title: "Openscapes: Supporting better science for future us"
institution:
name: "National Aeronautics and Space Administration"
number: "20-TWSC20-2-0003"
authors:
- family-names: "Lowndes"
given-names: "Julia"
orcid: "https://orcid.org/0000-0003-1682-3872"
website: "https://github.com/jules32"
- family-names: "Robinson"
given-names: "Erin"
orcid: "https://orcid.org/0000-0001-9998-0114"
website: "https://erinrobinson.info/"
Owner metadata
- Name: earthaccess-dev
- Login: earthaccess-dev
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/196376372?v=4
- Repositories: 9
- Last ynced at: 2026-11-28T21:06:26.303Z
- Profile URL: https://github.com/earthaccess-dev
GitHub Events
Total
- Create event: 23
- Delete event: 22
- Fork event: 1
- Issue comment event: 56
- Issues event: 7
- Pull request event: 18
- Pull request review comment event: 27
- Pull request review event: 41
- Push event: 108
- Release event: 2
- Watch event: 5
Last Year
- Create event: 23
- Delete event: 22
- Fork event: 1
- Issue comment event: 56
- Issues event: 7
- Pull request event: 18
- Pull request review comment event: 27
- Pull request review event: 41
- Push event: 108
- Release event: 2
- Watch event: 5
Committers metadata
Last synced: 2 days ago
Total Commits: 1,715
Total Committers: 63
Avg Commits per committer: 27.222
Development Distribution Score (DDS): 0.779
Commits in past year: 565
Committers in past year: 30
Avg Commits per committer in past year: 18.833
Development Distribution Score (DDS) in past year: 0.809
| Name | Commits | |
|---|---|---|
| betolink | b****n@g****m | 379 |
| Matt Fisher | m****7@g****m | 226 |
| danielfromearth | d****n@n****v | 147 |
| Andy Barrett | a****t@n****g | 142 |
| Sherwin Varghese | 1****4 | 127 |
| Joseph H Kennedy | me@j****g | 67 |
| Chuck Daniels | c****k@d****g | 60 |
| James Bourbeau | j****u@g****m | 51 |
| Amy Steiker | 4****r | 44 |
| Ian Carroll | i****l@n****v | 40 |
| pre-commit-ci[bot] | 6****] | 35 |
| dependabot[bot] | 4****] | 34 |
| betolink:w | l****z@n****g | 30 |
| doug-newman-nasa | d****n@n****v | 25 |
| jennifer | j****k@c****u | 24 |
| Andy Barrett | a****t@g****m | 24 |
| asteiker | a****r@g****m | 20 |
| Trey Stafford | t****d@c****u | 17 |
| ayushnag | 3****g | 17 |
| Saber Brasher | 1****r | 16 |
| Matt Fisher | m****r@n****g | 14 |
| Julia Stewart Lowndes | j****a@o****g | 13 |
| Benjamin Root | b****t@g****m | 13 |
| ana-sher | n****a@g****m | 12 |
| Chris Battisto | 3****x | 10 |
| karthik venkataramani | k****t@v****u | 10 |
| Rupesh Shrestha | r****a@g****m | 9 |
| Hailiang Zhang | h****g@n****v | 9 |
| JessicaS11 | j****k@u****u | 9 |
| Jessica Scheick | J****1 | 9 |
| and 33 more... | ||
Committer domains:
- nasa.gov: 8
- colorado.edu: 3
- nsidc.org: 3
- developmentseed.org: 2
- esr.org: 1
- viasat.com: 1
- qq.com: 1
- github.com: 1
- trevinchow.com: 1
- uw.edu: 1
- jpl.nasa.gov: 1
- unh.edu: 1
- vt.edu: 1
- openscapes.org: 1
- jhkennedy.org: 1
Issue and Pull Request metadata
Last synced: 18 days ago
Total issues: 101
Total pull requests: 122
Average time to close issues: 2 months
Average time to close pull requests: 18 days
Total issue authors: 33
Total pull request authors: 27
Average comments per issue: 2.55
Average comments per pull request: 2.83
Merged pull request: 82
Bot issues: 6
Bot pull requests: 15
Past year issues: 99
Past year pull requests: 121
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 15 days
Past year issue authors: 32
Past year pull request authors: 26
Past year average comments per issue: 2.43
Past year average comments per pull request: 2.76
Past year merged pull request: 81
Past year bot issues: 6
Past year bot pull requests: 15
Top Issue Authors
- mfisher87 (20)
- andypbarrett (13)
- saberbrasher (10)
- asteiker (8)
- github-actions[bot] (6)
- danielfromearth (5)
- Sherwin-14 (4)
- itcarroll (4)
- JenniBonin (3)
- rupesh2 (2)
- jhkennedy (2)
- betolink (2)
- chuckwondo (2)
- alma-pi (1)
- stefaniebutland (1)
Top Pull Request Authors
- Sherwin-14 (31)
- dependabot[bot] (13)
- danielfromearth (10)
- saberbrasher (9)
- mfisher87 (9)
- andypbarrett (7)
- betolink (7)
- mvanhorn (4)
- chuckwondo (4)
- asteiker (4)
- tmchow (3)
- rupesh2 (3)
- Copilot (2)
- pre-commit-ci[bot] (2)
- jhkennedy (2)
Top Issue Labels
- impact: documentation (33)
- type: bug (27)
- needs: triage (16)
- type: experience report (15)
- impact: automation (10)
- type: enhancement (9)
- needs: decision (8)
- metrics (5)
- impact: breaking (4)
- good first issue (3)
- needs: feedback requested (1)
- impact: blocks release (1)
- github_actions (1)
- impact: governance (1)
- needs: help (1)
Top Pull Request Labels
- impact: documentation (15)
- dependencies (14)
- github_actions (9)
- python:uv (4)
- impact: LLM (2)
- impact: automation (2)
- impact: breaking (1)
- impact: governance (1)
- type: bug (1)
Package metadata
- Total packages: 1
-
Total downloads:
- pypi: 130,493 last-month
- Total docker downloads: 155
- Total dependent packages: 8
- Total dependent repositories: 7
- Total versions: 26
- Total maintainers: 1
pypi.org: earthaccess
Client library for NASA Earthdata APIs
- Homepage:
- Documentation: https://earthaccess.readthedocs.io
- Licenses: MIT
- Latest release: 1.0.0 (published 10 days ago)
- Last Synced: 2026-12-02T23:01:26.131109Z (2 days ago)
- Versions: 26
- Dependent Packages: 8
- Dependent Repositories: 7
- Downloads: 130,493 Last month
- Docker Downloads: 155
-
Rankings:
- Docker downloads count: 2.317%
- Dependent packages count: 2.377%
- Stargazers count: 4.196%
- Average: 4.412%
- Dependent repos count: 5.533%
- Downloads: 5.775%
- Forks count: 6.275%
- Maintainers (1)
Dependencies
- autoflake >=1.3 develop
- black >=21.11b0 develop
- flake8 >=3.7 develop
- ipywidgets ^7.7.0 develop
- isort >=5 develop
- jupyterlab >=3 develop
- markdown-include >=0.6 develop
- mkdocs >=1.2 develop
- mkdocs-jupyter =0.19.0 develop
- mkdocs-material >=7.1,<9.0 develop
- mkdocstrings >=0.18 develop
- mypy >=0.812 develop
- pre-commit >=2.4 develop
- pygments =2.11.1 develop
- pymdown-extensions =9.2 develop
- pytest >=6.0 develop
- pytest-cov >=2.8 develop
- pytest-watch >=4.2 develop
- responses >=0.14 develop
- types-requests >=0.1 develop
- types-setuptools >=0.1 develop
- widgetsnbextension ^3.6.0 develop
- pqdm >=0.1
- python >=3.8,<4.0
- python-benedict >=0.25
- python-cmr >=0.7
- requests >=2.26
- s3fs >=2021.11, <2024
- tinynetrc ^1.3.1
- actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
- actions/github-script 3a2844b7e9c422d3c10d287c895573f7108da1b3 composite
- actions/setup-python ece7cb06caefa5fff74198d8649806c4678c61a1 composite
- actions/upload-artifact cf430e030ddbb5b0abf93d22962f4752f3646cd9 composite
- docker/build-push-action c3c9e263c25d99ce0380d002d59b67737d91b0dc composite
- docker/setup-buildx-action f87e5991a6d7451dcb8d9637bfbc97413f497069 composite
- quay.io/jupyter/scipy-notebook 2026-11-02@sha256 build
- tiangolo/issue-manager master composite
- JRubics/poetry-publish v1.8 composite
- actions/checkout v2 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/setup-python v1 composite
- codecov/codecov-action v1 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/setup-python v1 composite
- codecov/codecov-action v1 composite
- readthedocs/actions/preview v1 composite
- actions/checkout v4.1.1 composite
- codecov/codecov-action v1 composite
- conda-incubator/setup-miniconda v2.2.0 composite
- manics/action-binderbadge 99560b89939071823821e105afc83aaa87927e03 composite
- github-community-projects/issue-metrics df8c49d20958f9345281fa2124858bd0ad227e1f composite
- peter-evans/create-issue-from-file fca9117c27cdc29c6c4db3b86c48e4115a786710 composite
- actions/setup-python ece7cb06caefa5fff74198d8649806c4678c61a1 composite
- astral-sh/setup-uv 11f9893b081a58869d3b5fccaea48c9e9e46f990 composite
- pip >=25.1
- python 3.12
- actions-cool/check-user-permission c21884f3dda18dafc2f8b402fe807ccc9ec1aa5e composite
- actions/github-script 3a2844b7e9c422d3c10d287c895573f7108da1b3 composite
- actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
- zizmorcore/zizmor-action 6599ee8b7a49aef6a770f63d261d214911a7ce02 composite
- actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
- jupyterlab/maintainer-tools/.github/actions/base-setup b48fcdb87e70c45789abd80d4042b06641e47b46 composite
- jupyterlab/maintainer-tools/.github/actions/check-links b48fcdb87e70c45789abd80d4042b06641e47b46 composite
- pip
- python 3.13
- 245 dependencies
Score: 22.635274849498373