python-ctd
Tools to load hydrographic data as pandas DataFrame with some handy methods for data pre-processing and analysis
This module can load SeaBird CTD (CNV), Sippican XBT (EDF), and Falmouth CTD (ASCII) formats.
Quick intro
You can install the CTD package with
conda install ctd --channel conda-forge
or
pip install ctd
and then,
from pathlib import Path
import ctd
path = Path("tests", "data", "CTD")
fname = path.joinpath("g01l06s01.cnv.gz")
down, up = ctd.from_cnv(fname).split()
ax = down["t090C"].plot_cast()
We can do better:
temperature = down["t090C"]
fig, ax = plt.subplots(figsize=(5.5, 6))
temperature.plot_cast(ax=ax)
temperature.remove_above_water().despike().lp_filter().press_check().interpolate(
method="index", limit_direction="both", limit_area="inside"
).bindata(delta=1, method="interpolate").smooth(
window_len=21, window="hanning"
).plot_cast(
ax=ax
)
ax.set_ylabel("Pressure (dbar)")
ax.set_xlabel("Temperature (°C)")
Try it out on mybinder
Release files for ctd 1.5.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 | |
|---|---|---|---|
| ctd-1.5.0.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctd-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.5 kB
Release files / ctd-1.5.0.tar.gz
| Download URL | ctd-1.5.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09ded6c3d595282a530924ccc1d2591fdf32bcd3d949dc0cd390c95353f1827d
|
|
BLAKE2b-256 checksum How to use checksums |
1009c8a69df0b33c40c270b2825ae9ec24a8601253c5e22a22e437758f745c4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 May 8, 2026.
Transparency logRelease files / ctd-1.5.0-py3-none-any.whl
| Download URL | ctd-1.5.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
142d9832ffd7cde9ca763adf11b5e63d1294f9131da0a24559101ab601ac100c
|
|
BLAKE2b-256 checksum How to use checksums |
ee3266629557e78ed58cfc09366ccfea1c2b5d5fa96a1a5480e9dafc5dc5cc78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 May 8, 2026.
Transparency log