Skip to content

stactools package for Harmonized Landsat Sentinel-2 (HLS) data

License

Notifications You must be signed in to change notification settings

stactools-packages/hls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

11ff286 · Aug 4, 2022

History

6 Commits
Aug 4, 2022
Jun 23, 2022
Aug 4, 2022
Aug 4, 2022
Aug 4, 2022
Aug 4, 2022
Jun 23, 2022
Jun 23, 2022
Jun 23, 2022
Jun 23, 2022
Jun 23, 2022
Jun 23, 2022
Jun 23, 2022
Jun 23, 2022
Jun 23, 2022
Jul 26, 2022
Jun 23, 2022
Jun 23, 2022
Jul 26, 2022
Jun 23, 2022
Jun 23, 2022
Aug 4, 2022

Repository files navigation

stactools-hls

PyPI

Use this repository to create STAC Items and Collections for HLS data.

STAC Examples

Installation

$ pip install stactools-hls

Command-line Usage

To create a single STAC Item from a HLS COG file:

$ stac hls create-item <COG file path> <output directory>

Only a single COG file from the set comprising an HLS granule needs to be passed. However, the COG must be for one of the electro-optical (EO) bands.

To create a STAC Collection, enter COG file paths into a text file with one file path per line. Each file must be from a distinct HLS granule. Then pass the text file to the create-collection command:

$ stac hls create-collection <text file path> <output directory>

To create the files in the examples directory:

$ stac hls create-collection examples/file-list.txt examples

Contributing

We use pre-commit to check any changes. To set up your development environment:

$ pip install -e .
$ pip install -r requirements-dev.txt
$ pre-commit install

To check all files:

$ pre-commit run --all-files

To run the tests:

$ pytest -vv

About

stactools package for Harmonized Landsat Sentinel-2 (HLS) data

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published