Skip to content

stactools package for working with the European Commission's Joint Research Centre Global Surface Water data

License

Notifications You must be signed in to change notification settings

stactools-packages/jrc-gsw

Repository files navigation

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, collections
from pystac.utils import str_to_datetime

collection_definition = collections.AGGREGATED

# Create a STAC Collection
stac.create_collection(collection_definition)

# Create a STAC Item
stac.create_item(
  source="tests/data-files/Aggregated/LATEST/change/tiles/change-0000360000-0000480000.tif",
)
  1. Using the CLI
# STAC Collection
stac jrc-gsw create-collection -d /tmp/collection_dir

# Create a STAC Item
stac jrc-gsw create-item -d /tmp/item_dir -s tests/data-files/Aggregated/LATEST/change/tiles/change-0000360000-0000480000.tif

About

stactools package for working with the European Commission's Joint Research Centre Global Surface Water data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published