Skip to main content

stactools package for Landsat data

Project description

stactools-landsat

PyPI

This repository will assist you in the generation of STAC files for Landsat datasets. The table below provides an overview on Landsat Mission's sensors and band wavelengths.

Landsat Missions - Sensors and Band Wavelengths

Source: https://pubs.usgs.gov/fs/2015/3081/fs20153081.pdf

Examples

STAC Collections and Items

Command-line usage

To create a STAC Item:

stac landsat create-item --mtl tests/data-files/oli-tirs/LC08_L2SP_047027_20201204_20210313_02_T1_MTL.xml --output examples --usgs_geometry

To create a STAC Collection from a text file containing a list of Landsat scene XML metadata files:

stac landsat create-collection --file_list examples/c2-l2-file-list.txt --output examples/landsat-c2-l2 --id landsat-c2-l2 --usgs_geometry

The above create-collection command is exactly how the contents of the examples/landsat-c2-l2 directory are generated.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stactools-landsat-0.5.0.tar.gz (29.8 kB view hashes)

Uploaded Source

Built Distribution

stactools_landsat-0.5.0-py3-none-any.whl (36.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page