/jrc-gsw

Primary LanguagePythonOtherNOASSERTION

stactools-package jrc-gsw

Global surface water products from the European Commission Joint Research Centre, based on Landsat 5, 7, and 8 imagery. Layers in this collection describe the occurrence, change, and seasonality of surface water from 1984-2020.

Usage

  1. As a python module
from stactools.jrc_gsw import stac, constants

# Create a STAC Collection
stac.create_collection(constants.CORE_JSC_GSW)

# Create a STAC Item
stac.create_item("/path/to/cog.tif")
  1. Using the CLI
# STAC Collection
stac jrc-gsw create-collection -d "/path/to/output/directory"

# Create a STAC Item 
stac jrc-gsw create-item -d "/path/to/output/directory" -s "/path/to/input/cog.tiff"