A stactools package for the Global Mangrove Watch dataset
Project description
stactools-global-mangrove-watch
- Name: global-mangrove-watch
- Package:
stactools.global_mangrove_watch - stactools-global-mangrove-watch on PyPI
- Owner: @hrodmn
- Dataset homepage
- STAC extensions used:
- Browse the example in human-readable form
- Browse a notebook demonstrating the example item and collection
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
hrefsfor 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 global-mangrove-watch create-collection {destination}
Create an item json:
stac global-mangrove-watch create-item {cog_asset_href} {destination}
Use stac global-mangrove-watch --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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stactools_global_mangrove_watch-0.2.0.tar.gz.
File metadata
- Download URL: stactools_global_mangrove_watch-0.2.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e66b5b20b9c767788cc2a44b3f71a25d26db599e82c54e5b4e7431e4b397ee4
|
|
| MD5 |
ae108cbb87f81b4d10119217d52d2be3
|
|
| BLAKE2b-256 |
3caa2f14688290cb96368cd8fe92d503d67fd6ca4f0b35ff24d0cb71dddd1131
|
File details
Details for the file stactools_global_mangrove_watch-0.2.0-py3-none-any.whl.
File metadata
- Download URL: stactools_global_mangrove_watch-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8289b647594fec86e79628ed40f18620f1453681d351a7d924581d921bcc2ecf
|
|
| MD5 |
4e5850c2cdf6bc222751c34138bc0017
|
|
| BLAKE2b-256 |
7ffe5e57b6ca02a2048178c720baa4600e9db0a6e16d0ccb504f6e856ec58698
|