Skip to main content

stactools-global-mangrove-watch

PyPI GitHub Workflow Status (with event)

This package can be used to generate STAC metadata for the Global Mangrove Watch Dataset.

Details

  • It is assumed that the raw files have been downloaded from the source and unzipped in a persistent storage location in order to provide proper hrefs for the STAC assets.
  • Each item represents a particular year (1996, 2007, 2008, etc) with assets for the annual mangrove mask raster (cog) and the 1996-{year} change raster (change_cog).
    • The vector files are not yet added as assets

STAC examples

Installation

pip install stactools-global-mangrove-watch

Command-line usage

Create a collection json:

stac globalmangrovewatch create-collection {destination}

Create an item json:

stac globalmangrovewatch create-item {cog_asset_href} {destination}

Create an item json with the change asset added

stac globalmangrovewatch create-item {cog_asset_href} {destination} --change-asset-href {change_asset_href}

Use stac globalmangrovewatch --help to see all subcommands and options.

Contributing

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

uv sync
uv run pre-commit install

To check all files:

uv run pre-commit run --all-files

To run the tests:

uv run pytest -vv

If you've updated the STAC metadata output, update the examples:

uv run scripts/update-examples

Metadata

Release files for stactools-global-mangrove-watch 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stactools-global-mangrove-watch 0.2.3
File Size Uploaded
stactools_global_mangrove_watch-0.2.3.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stactools-global-mangrove-watch 0.2.3
File Interpreter ABI Platform
stactools_global_mangrove_watch-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / stactools_global_mangrove_watch-0.2.3.tar.gz

Download URL stactools_global_mangrove_watch-0.2.3.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9628a73532d1809a1efa8db8fb8a48a70d87882e1fe0aebd9cf5b23218bc780d
BLAKE2b-256 checksum
How to use checksums
5c477d080280e16e53f4dd9ef264349b666dd21873c568cf78ba266d7f2aa6f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / stactools_global_mangrove_watch-0.2.3-py3-none-any.whl

Download URL stactools_global_mangrove_watch-0.2.3-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9924979946ac901c5c523f7cdf5fb73992a1a70bebafb8781b4f1ecca5944839
BLAKE2b-256 checksum
How to use checksums
f4a5bb5cb077707d64ba55150510ef1baf330cc221941ac03011ecf68593c859
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page