- Name: esa-worldcover
- Package:
stactools.esa-worldcover
- stactools-esa-worldcover on PyPI
- Owner: @pjhartzell
- Dataset homepage
- STAC extensions used:
- Extra fields:
esa_worldcover:product_tile
: The lat/lon coordinates of the tile southwest corneresa_worldcover:product_version
: The version of the classification product
Generate STAC Items and Collections for the ESA WorldCover 10m resolution global land cover product based on Sentinel-1 and Sentinel-2 data.
pip install stactools-esa-worldcover
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.
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