Skip to main content

CTD and bottle data processing package from UCSD ODF

Project description

Documentation Status Code style: black

ctdcal project

The ctdcal project is a library primarily designed to process data from CTD casts and calibrate them against Niskin bottle samples.

In the future, parts of the ctdcal library will be split off into additional packages, such as an "ocean sensors" package with Python implementations of conversion routines for in-situ sensors used for ocean measurement.


Installation

Clone repository

Pull down the latest version of ctdcal:

git clone https://github.com/cchdo/ctdcal.git

Install ctdcal and dependencies

Change directories to the top-level ctdcal:

cd ctdcal

Create a new virtual environment with your preferred environment manager and install with pip:

pip install .

Note: there is an occasional (conda?) bug where CLI tools are not immediately accessible after install – this can usually be remedied by deactivating and reactiving the virtual environment.

Initialize default /data/ folders by running:

ctdcal init

(Future versions of ctdcal are planned have more robust init options/flags/etc.)


Usage

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.


LICENSING

BSD 3-clause

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctdcal-0.1.0b0.tar.gz (97.9 kB view hashes)

Uploaded Source

Built Distribution

ctdcal-0.1.0b0-py3-none-any.whl (97.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page