Automated Bulk Access: USGS Machine-to-Machine...
URL: https://m2m.cr.usgs.gov/api/docs/example/download_data-py
This resource provides a robust Python-based framework for interacting with the USGS EROS inventory. While the script is designed for general-purpose discovery, it is the primary method for programmatically acquiring NAIP imagery at scale. It is ideal for participants who need to move raw data into their own local or cloud environments for intensive preprocessing.Key Technical Workflows:Authentication & Tokens: Demonstrates how to use your Earth Explorer credentials to generate a secure JSON Web Token (JWT) for API requests.Metadata Querying: Shows how to query the naip dataset alias using spatial (Bounding Box) and temporal filters to retrieve specific Entity IDs.Download Management: Logic for requesting download URLs and automating the retrieval of high-resolution GeoTIFFs using requests or wget.Scalable Framework: Participants can easily adapt the script's search parameters to pull concurrent layers (like LiDAR or Land Cover) using the same pipeline logic.This description was created with assistance from Gemini.
There are no views created for this resource yet.
Additional Information
| Field | Value |
|---|---|
| Data last updated | January 8, 2026 |
| Metadata last updated | January 8, 2026 |
| Created | January 8, 2026 |
| Format | application/vnd.api+json |
| License | No License Provided |
| Codeaccessurl | https://m2m.cr.usgs.gov/api/docs/example/download_data-py |
| Datastore active | False |
| Docsurl | https://m2m.cr.usgs.gov/api/docs/json/ |
| Has views | False |
| Id | 7735d8c2-c85c-4716-9bdb-2644051572cb |
| Issuedate | 2024-07-01 |
| Lastupdatedate | 2025-12-01 |
| Mimetype | application/vnd.api+json |
| Package id | 7f64e035-08ac-4e14-9f2d-c70a582a0b4b |
| Position | 1 |
| State | active |
| Status | active |
| Urltype | informational or access link |