A GUI tool for computing slope angles along depth contours from NetCDF bathymetry data
Project description
isobath
A GUI tool for computing slope angles along depth contours (isobaths) from NetCDF bathymetry data.
Features
- Load NetCDF bathymetry files and interactively select a region of interest
- Visualise depth contours on a map
- Compute slope angles at each coordinate interval along a chosen isobath using linear regression
- Step through intervals with Previous / Next navigation
- Remove outlier points using a lasso selector and recompute
- Export results as a two-column text file (coordinate, angle)
Installation
pip install isobath
Usage
Launch the GUI from the terminal:
isobath
Or run as a module:
python -m isobath
Workflow
- Click Open to load a NetCDF file, or Sample File to load the bundled example dataset.
- In the Area Selector window, choose the variable and its latitude/longitude dimensions, then draw a rectangle to subset the region of interest.
- In the Settings panel (right dock), set the Contour Depth and adjust the coordinate axis, start/end points, averaging interval, and coordinate interval.
- Click Compute Angle to perform the first linear regression and view the slope angle.
- Use Next / Previous to step through coordinate intervals.
- Use Lasso to select outlier points, then Delete to remove them and recompute. Undo restores the previous point set.
- Click Save or Save As to export the results.
Output
Results are saved as a plain text file with two columns:
coordinate angle (degrees)
8.0000 127.4396
9.0000 125.5481
...
Dependencies
License
MIT License. See LICENSE for details.
Note
Claude (Anthropic) was used to assist with refactoring, bug fixing, and packaging of this project.
Project details
Release history Release notifications | RSS feed
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 isobath-0.1.0.tar.gz.
File metadata
- Download URL: isobath-0.1.0.tar.gz
- Upload date:
- Size: 319.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7cbb62476da9d27f21fa70a1f3fe4eca99e4b0781b8d4a91d719905f55ef1bd
|
|
| MD5 |
f5320d78c5ea9915e512a6d9b08cf359
|
|
| BLAKE2b-256 |
5fba69c136ada8a8e0db2abd7f8220aca9e846368330095a07e1710280ea32a5
|
File details
Details for the file isobath-0.1.0-py3-none-any.whl.
File metadata
- Download URL: isobath-0.1.0-py3-none-any.whl
- Upload date:
- Size: 333.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dff4f62cf7faccd8111d47400e0ec8c4b0c47199cb0c7e8bf88ad897973add0
|
|
| MD5 |
924098f40443e355b10358ea2cde2e67
|
|
| BLAKE2b-256 |
87a029b0c380c830af6ae94fe73ca18500beebdd62271faab409b4d74e1cadfa
|