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.2.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 | Provenance | Actions |
|---|---|---|---|---|
| isobath-0.2.0.tar.gz | 333.1 kB | Without provenance | Details for isobath-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| isobath-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for isobath-0.2.0-py3-none-any.whl |
Total release size: 667.8 kB
Release files / isobath-0.2.0.tar.gz
| Download URL | isobath-0.2.0.tar.gz |
|---|---|
| Size | 333.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d142ccacf668e12892c2aa26918722d52d25cb9e170bb38a20a54fae54e5888
|
|
BLAKE2b-256 checksum How to use checksums |
fa76053cd5e67922d6122c6a617c1353be8ffbd54dbc428f25dae5702a663ff1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / isobath-0.2.0-py3-none-any.whl
| Download URL | isobath-0.2.0-py3-none-any.whl |
|---|---|
| Size | 334.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29786efd2dbb07dd7813fec9fbce67371ee59d38db99b49ad3af387734b8dc78
|
|
BLAKE2b-256 checksum How to use checksums |
b1bede4ec5713ad1263e56f1a2f53c6b75a196b10309581566f1f4e92005bb0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for isobath 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.