Skip to main content

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.

The deep-learning segmentation step (scet.segmentation, used by SCET.process_folder/process_image) is included: the DeepLabV3+ network is plain PyTorch, so there is no mmcv/mmsegmentation or GDAL to build and any Python 3.9+ works. torch is CUDA-build-sensitive: if the default wheel isn't right for your platform, install torch from https://pytorch.org first (matching your CUDA version), then pip install scet-toolkit. Inference uses the GPU when available and falls back to CPU.

Usage

from scet import SCET, Config

config = Config(checkpoint_file="path/to/checkpoint.pth")
scet = SCET(config)
scet.process_folder(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.12
conda activate my_env
bash build.sh  # pip install -e .

Testing

pip install -e ".[test]"
pytest                 # full suite, including end-to-end pipeline tests
pytest -m "not e2e"    # unit tests only (skip anything that shells out to `dsas`)

The end-to-end tests build synthetic georeferenced rasters, run the full images -> shoreline/baseline -> dsas cast/cal pipeline, and check the output shapefiles. They need the dsas executable (installed with the opendsas dependency) on PATH and self-skip if it is missing.

Metadata

Release files for scet-toolkit 0.3.0

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

Source distribution (sdist)

Source distribution for scet-toolkit 0.3.0
File Size Uploaded
scet_toolkit-0.3.0.tar.gz 40.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scet-toolkit 0.3.0
File Interpreter ABI Platform
scet_toolkit-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 75.5 kB

Release files / scet_toolkit-0.3.0.tar.gz

Download URL scet_toolkit-0.3.0.tar.gz
Size 40.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fd14ecfc0374de0524967ff5b57c458ae3c0d0dc89e4206fb0b7f7b91f5d4aa5
BLAKE2b-256 checksum
How to use checksums
4b183217a39f2f801043095b275e321bce7ca32cf9b44a5cd3bd6d3e1816c2d6
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 Oct 6, 2026.

Transparency log

Release files / scet_toolkit-0.3.0-py3-none-any.whl

Download URL scet_toolkit-0.3.0-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01a606151576164a15c04ab3180841a7ac7006dcfb0562f99f60850ba0bd2792
BLAKE2b-256 checksum
How to use checksums
6b8ce8fe4e938497b20ac0f9ac5ba5f44043a3e6609c3e00cffdae31615fe5dc
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 Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.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