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.
Metadata
Release files for isobath 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| isobath-0.1.0.tar.gz | 319.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isobath-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 652.7 kB
Release files / isobath-0.1.0.tar.gz
| Download URL | isobath-0.1.0.tar.gz |
|---|---|
| Size | 319.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7cbb62476da9d27f21fa70a1f3fe4eca99e4b0781b8d4a91d719905f55ef1bd
|
|
BLAKE2b-256 checksum How to use checksums |
5fba69c136ada8a8e0db2abd7f8220aca9e846368330095a07e1710280ea32a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / isobath-0.1.0-py3-none-any.whl
| Download URL | isobath-0.1.0-py3-none-any.whl |
|---|---|
| Size | 333.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dff4f62cf7faccd8111d47400e0ec8c4b0c47199cb0c7e8bf88ad897973add0
|
|
BLAKE2b-256 checksum How to use checksums |
87a029b0c380c830af6ae94fe73ca18500beebdd62271faab409b4d74e1cadfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|