Skip to content

stactools package for ESA's 10m resolution global land cover product

License

Notifications You must be signed in to change notification settings

stactools-packages/esa-worldcover

Repository files navigation

stactools-esa-worldcover

PyPI

Generate STAC Items and Collections for the ESA WorldCover 10m resolution global land cover product based on Sentinel-1 and Sentinel-2 data.

STAC Examples

Installation

pip install stactools-esa-worldcover

Command-line Usage

To create a STAC Item:

stac esa-worldcover create-item tests/data-files/ESA_WorldCover_10m_2020_v100_N00E006/ESA_WorldCover_10m_2020_v100_N00E006_Map.tif . --include-quality-asset

To create a STAC Collection from a text file containing a list of WorldCover Map tile COG files:

stac esa-worldcover create-collection tests/data-files/file-list.txt examples --include-quality-assets

The above create-collection command will create the contents of the examples directory.

Use stac esa-worldcover --help to see all subcommands and options.

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