Skip to main content

Library to handle all steps when working with CTD data.

Project description

https://img.shields.io/pypi/v/ctdam.svg https://img.shields.io/pypi/l/ctdam.svg https://img.shields.io/pypi/pyversions/ctdam.svg https://github.com/DAM-CTD-Software/ctdam/actions/workflows/main_push.yaml/badge.svg https://github.com/DAM-CTD-Software/ctdam/actions/workflows/pull_request.yaml/badge.svg

Intro

Welcome to the ctdam software package, a library to help with all the different stages in working with CTD data. For now, it focuses only on Sea-Bird CTD data, but we are open to extend to other CTD data types in the future. At the moment, the focus remains on fast and reliable conversion and processing of Sea-Birds .hex files. Data and metadata are stored inside python objects, with the possibility to export native .cnv files, as well as NetCDFs. In general, there are parsers for all the different Sea-Bird file formats: .hex, .xmlcon, .bl, .btl and .cnv .

To process CTD data, one needs to define workflow files, called ‘procedures’, .toml files which correspond to python dictionaries and e.g. look like this:

processing_config = {
    "output_type": "cnv",
    "output_dir": "somewhere",
    "modules": {
        "airpressure": {},
        "wildedit_geomar": {},
        "wfilter": {},
        "celltm": {},
        "alignctd": {},
        "Helmholtz_energy_ice": {},
        "binavg": {'bin_size': 0.1},
    },

}

All processing module behaviour can be modified via key-values, as seen for ‘binavg’. In the example config you can also see, that the native Sea-Bird processing modules can be mixed with custom ones (airpressure) and all gsw functions (Helmholtz_energy_ice). The Sea-Bird ones are either taken from seabirdscientific or are more efficient rewrites that stick to the same core logic. Its additionally possible to use the original Sea-Bird processing binaries, as long as they are installed on your machine.

Context

This software is developed for the German Marine Research Alliance (DAM) in the context of the Underway Research Data Project. The converter and parser are tested against a variety of data, acquired on different German research vessels. Because of the ongoing efforts to harmonise these infrastructures, the diversity of the test data may be smaller than thought and your data may pose problems to converter, parser or processing. Please feel free to contribute to this project in order to develop a toolkit, that is as general as possible.

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

ctdam-1.1.0.tar.gz (237.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ctdam-1.1.0-py3-none-any.whl (108.2 kB view details)

Uploaded Python 3

File details

Details for the file ctdam-1.1.0.tar.gz.

File metadata

  • Download URL: ctdam-1.1.0.tar.gz
  • Upload date:
  • Size: 237.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ctdam-1.1.0.tar.gz
Algorithm Hash digest
SHA256 36163bb7d17a203c42ad5c902ec31d1aec30896ed1b4e4ae6afbfc860dd756d3
MD5 b57d6321c7243eefeefd66a1fc7e0d03
BLAKE2b-256 e1616f1406dcb1a14e7c6d661a8e725dcdaf68b0b73a1fc20eb09731062e633d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctdam-1.1.0.tar.gz:

Publisher: main_push.yaml on DAM-CTD-Software/ctdam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ctdam-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ctdam-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 108.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ctdam-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e167061055d7701bf8433b5265dc1585603fc8551445c6577fffc2850869cbfe
MD5 6a34a4fb51f10cfdf475de976cc726ea
BLAKE2b-256 acd471137cb99cd5e45cab4db180a4c1fb614ad2d85c9ff92034e64807dc48e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctdam-1.1.0-py3-none-any.whl:

Publisher: main_push.yaml on DAM-CTD-Software/ctdam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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