SCET (Shoreline Change Estimation Toolkit)
A pure-Python toolkit for extracting shorelines from segmented raster imagery
and computing shoreline change rates. Transect casting, shoreline/transect
intersection, and change-rate calculation are delegated to the
OpenDSAS CLI (dsas), a fast,
cross-platform reimplementation of USGS DSAS.
Installation
pip install scet-toolkit
This installs scet-toolkit's dependencies including opendsas, which
provides the dsas CLI used for transect/intersection/rate calculations.
For the optional deep-learning-based segmentation step (scet.simple_mmseg,
used by SCET.method1/method2), install the dl extra:
pip install "scet-toolkit[dl]"
torch/torchvision/torchaudio are CUDA-build-sensitive; if the plain pip
install doesn't pick the right wheel for your platform, install them from
https://pytorch.org first, matching your CUDA version, then re-run. mmcv-lite
(no compiled CUDA ops, unlike mmcv) is used instead of mmcv since this
project's segmentation config doesn't need them and mmcv-lite installs via
plain pip with no CUDA toolchain required.
Usage
from scet import SCET, Config
config = Config(checkpoint_file="path/to/checkpoint.pth")
scet = SCET(config)
scet.method1(input_naip_zipfiles_folder="...", output_folder="...")
Or drive the shoreline pipeline directly, given a folder of already-segmented,
dated raster images (filenames ending in a 4-digit year, e.g. 1_2001.tif):
from scet.options import Options
from scet.pipeline import generate_result_from_folder
generate_result_from_folder("images/", "output/", Options())
This writes shoreline.shp, baseline.shp, transect.shp, and
intersection.shp to the output folder.
Development
conda create -n my_env python==3.9
conda activate my_env
bash build.sh # pip install -e ".[dl]"
Metadata
Release files for scet-toolkit 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scet_toolkit-0.2.1.tar.gz | 34.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scet_toolkit-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.1 kB
Release files / scet_toolkit-0.2.1.tar.gz
| Download URL | scet_toolkit-0.2.1.tar.gz |
|---|---|
| Size | 34.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5911ebb154c68e183cd142de12d8e74676e69f582d3bd1a2f49c7a0ea5325ab8
|
|
BLAKE2b-256 checksum How to use checksums |
db41a8a293ba8f07a31e59c12dd988e0942246c9c9596896c58b49dfec462772
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / scet_toolkit-0.2.1-py3-none-any.whl
| Download URL | scet_toolkit-0.2.1-py3-none-any.whl |
|---|---|
| Size | 39.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
717bb218afde45648ff58058d2082a1c3ad9e2567ba7659748621e56ebcd3741
|
|
BLAKE2b-256 checksum How to use checksums |
59922bbc0d74579a4417cc0d0ac96e583a31257d8040862491e662b01ba6722f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency log