Client library for NASA Earthdata APIs
Project description
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!
Try it in your browser without installing anything!
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.
Compatibility
The minimum supported Python version is 3.10.
How to Contribute to earthaccess
If you want to contribute to earthaccess
checkout the Contributing Guide.
Contributors
Project Board.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file earthaccess-0.12.0.tar.gz
.
File metadata
- Download URL: earthaccess-0.12.0.tar.gz
- Upload date:
- Size: 6.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8634584c9d501e9e1f105dc18c609d374cc79d2bbe0824717380da65ac94ce40 |
|
MD5 | b4283d8758a1b63ac51baf4b95058649 |
|
BLAKE2b-256 | f01c0381864ee7179a9a95756ce97a6ff9489c8c5fdee2f4c509223d3089558f |
File details
Details for the file earthaccess-0.12.0-py3-none-any.whl
.
File metadata
- Download URL: earthaccess-0.12.0-py3-none-any.whl
- Upload date:
- Size: 60.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 718cc8152c8848dee43097488bab5e9c87d7882b39ad53b9dc2257af544b9823 |
|
MD5 | 67fca64017bea8c15d70b3a2caae7bc4 |
|
BLAKE2b-256 | 131b8bbec202351cf5743465d869123cba6a5ddb012af13f4654e9d4fff01a37 |