Skip to main content
Use this guide when you already have a Landsat datapoint from a Tilebox metadata query and want to access the product files behind it. The example uses Landsat 8 Collection 2 Level-2 surface reflectance data. Tilebox indexes Landsat metadata as datasets. Product files remain in the USGS public cloud archive, so file access uses the USGSLandsatStorageClient and your AWS requester-pays setup.

Prerequisites

USGS Landsat data is stored in a requester-pays S3 bucket. AWS charges for requests and data transfer according to your AWS account settings.

Select a Landsat 8 datapoint

Start with a small metadata query and select one datapoint to access. For a deeper guide to open data discovery and metadata filtering, see Query open data metadata.
Python

Create the Landsat storage client

Create a USGSLandsatStorageClient. The client uses AWS credentials from your environment, such as AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN when needed.
Python

Download the complete product

Use download when you need the complete Landsat product directory. The storage client resolves the product location from the Tilebox datapoint metadata and downloads the matching files into the local cache.
Python
Output

Download selected product files

Landsat products contain surface reflectance bands, quality masks, thermal bands, metadata, and preview images. Use list_objects and download_objects when you only need specific files.
Python
Use this pattern when a workflow only needs a few bands, masks, or metadata files. It reduces transfer time and local storage compared with downloading the full product.

Preview the product

Many Landsat products include a thumbnail image. In a notebook, use quicklook to display the product preview without downloading the full product first.
Python
USGS Landsat quicklook image

Landsat quicklook image © USGS

Next steps

Query open data metadata

Find Landsat products by time, location, and metadata fields.

Storage clients

Learn about the other Tilebox storage clients for open data products.