Skip to content

nsidc/earthaccess

Folders and files

NameName
Last commit message
Last commit date
May 17, 2025
May 21, 2025
May 17, 2025
Apr 26, 2025
Nov 7, 2024
Apr 30, 2024
May 20, 2025
May 12, 2024
Jun 24, 2024
Oct 5, 2024
May 6, 2025
Oct 8, 2024
May 20, 2025
Feb 11, 2025
Jan 22, 2025
Apr 19, 2024
Dec 5, 2022
Apr 11, 2025
Sep 21, 2024
May 21, 2025
Mar 19, 2025
May 15, 2025
Mar 19, 2025
May 15, 2025

Repository files navigation

earthaccess

earthaccess, a python library to search, download or stream NASA Earth science data with just a few lines of code

DOI Art Designer: Allison Horst Package version Conda Versions Python Versions Documentation Status

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!

Try it in your browser without installing anything! Binder

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

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.

πŸ› If you've found a bug or mistake, please use GitHub issues.

πŸ’‘ If you'd like to request a feature or ask a question, please use GitHub discussions.

πŸ—¨οΈ If you prefer real-time chat, please visit us in our Zulip chat space! We'd love to see you there! πŸ‘

Compatibility

The minimum supported Python version is 3.11.

How to Contribute to earthaccess

If you want to contribute to earthaccess checkout the Contributing Guide.

Contributors

Contributors