Home

Awesome

stactools-fws-nwi

PyPI

stactools package for the National Wetlands Inventory (NWI) product provided by the U.S. Fish and Wildlife Service (FWS).

The Wetlands Data Layer is the product of over 45 years of work by the National Wetlands Inventory (NWI) and its collaborators and currently contains more than 35 million wetland and deepwater features. This dataset, covering the conterminous United States, Hawaii, Puerto Rico, the Virgin Islands, Guam, the major Northern Mariana Islands and Alaska, continues to grow at a rate of 50 to 100 million acres annually as data are updated. The data layer is updated twice a year and these changes are reflected on the mapper and in the data downloads.

STAC Examples

Installation

pip install stactools-fws-nwi

Command-line Usage

Use stac fws-nwi --help to see all subcommands and options.

Collection

Create a collection:

stac fws-nwi create-collection collection.json

Get information about all options for collection creation:

stac fws-nwi create-collection --help

Item

Create an item:

stac fws-nwi create-item /path/to/source/file.zip item.json

Get information about all options for item creation:

stac fws-nwi create-item --help

Contributing

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