CTD and bottle data processing package from UCSD ODF
Project description
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
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
File details
Details for the file ctdcal-0.1.5b1.dev0.tar.gz
.
File metadata
- Download URL: ctdcal-0.1.5b1.dev0.tar.gz
- Upload date:
- Size: 611.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d6fc9fc15bbc69efc4cb81f9887562dca660c2bb60b12b9f4a211571d98fb0 |
|
MD5 | 8fb54befecd11ace3cc36ac5f9c8e5b8 |
|
BLAKE2b-256 | a823f956ca4411e3f63c5ae1d6ca7324e4b4d3cfff8cba40dcfd830e616f79d2 |
File details
Details for the file ctdcal-0.1.5b1.dev0-py3-none-any.whl
.
File metadata
- Download URL: ctdcal-0.1.5b1.dev0-py3-none-any.whl
- Upload date:
- Size: 120.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce04c2584a65d4722502f72b388674e4565cdd8f12a0493b55a042730870b41e |
|
MD5 | 1d930e44039d41a524e85618801ad6be |
|
BLAKE2b-256 | 2d5d9dfba8347f555e9d4f198e851d491fbf5cfd0faf16c97ca943e112e8d083 |