Oceanpack

build codecov License MIT license

Disclaimer: This is not an official package. The company SubCtech is not involved in the development of the routines provided here.

This repository contains routines for the evaluation of data from the OceanPack™ AUMS (Autonomous Underwater Measuring System) by SubCtech®.

The oceanpack module contains routines to read-in log files of the OceanPack as well as various helper functions to help with the data processing, e.g.

  • converting coordinates from the Analyzer’s format into decimal digits

  • converting xCO2 to pCO2

  • applying temperature corrections

  • computing the fugacity fCO2

  • etc.

Installation

Clone this repo via

git clone https://github.com/markusritschel/oceanpack

Then, in the new directory (cd oceanpack/) install the package via:

uv sync

or, if you also want the development dependencies:

uv sync --dev

Alternatively, install directly from GitHub via

uv add 'git+https://github.com/markusritschel/oceanpack.git'

to add to an existing project.

Examples

In the subdirectory notebooks one can also find a Jupyter Notebook showing the usage of the various functions based on a short dataset.

Testing

Run just test in the source directory to test the code. This will execute both the unit tests and docstring examples (using pytest).

Run just lint to check code style consistency.

Contact & Issues

For any questions or issues, please contact me via git@markusritschel.de or open an issue.


© Markus Ritschel 2024