This release is a pre-release and may not be stable for production use.
ctdcal project
The ctdcal project is a library primarily designed to process data from CTD casts and calibrate them against Niskin bottle samples. This project is currently a work in progress and not yet in public production.
A final public release is planned for 2025.
To contribute or try using ctdcal for yourself, feel free to install it and reach a member of the SIO-ODF group!
Installation
ctdcal can be installed using pip:
$ pip install ctdcal
CLI usage
Initialize data folders
Initialize default /data/ folders by running:
$ ctdcal init
(Future versions of ctdcal are planned have more robust init options/flags/etc.)
Import and process data
To process data, copy over raw .hex and .xmlcon files into /data/raw/ and reference data to their appropriate folder (oxygen, reft, salt).
Users can process their data with individual ctdcal functions or try:
$ ctdcal process [--group ODF]
to process using ODF procedures.
Package usage
Explore user settings
Most ctdcal functions get settings from user_settings.yaml and subsequently config.py. Call the configuration loader to explore default settings:
from ctdcal import get_ctdcal_config
cfg = get_ctdcal_config()
# directories for I/O purposes
print(cfg.dirs)
print(cfg.fig_dirs)
# experiment-specific settings (e.g., expocode, CTD serial number) from user_settings.yaml
print(cfg.settings)
# dictionary mapping of short/long column names
print(cfg.columns)
As ctdcal continues to be developed, more robust tutorials will be added to our documentation.
LICENSING
BSD 3-clause
Metadata
Release files for ctdcal 0.1.5b1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ctdcal-0.1.5b1.dev0.tar.gz | 611.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctdcal-0.1.5b1.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 732.4 kB
Release files / ctdcal-0.1.5b1.dev0.tar.gz
| Download URL | ctdcal-0.1.5b1.dev0.tar.gz |
|---|---|
| Size | 611.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86d6fc9fc15bbc69efc4cb81f9887562dca660c2bb60b12b9f4a211571d98fb0
|
|
BLAKE2b-256 checksum How to use checksums |
a823f956ca4411e3f63c5ae1d6ca7324e4b4d3cfff8cba40dcfd830e616f79d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / ctdcal-0.1.5b1.dev0-py3-none-any.whl
| Download URL | ctdcal-0.1.5b1.dev0-py3-none-any.whl |
|---|---|
| Size | 120.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce04c2584a65d4722502f72b388674e4565cdd8f12a0493b55a042730870b41e
|
|
BLAKE2b-256 checksum How to use checksums |
2d5d9dfba8347f555e9d4f198e851d491fbf5cfd0faf16c97ca943e112e8d083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|