jmassaims / sbe_ctd_proc

Seabird CTD Processor
0 stars 1 forks source link

sbe_ctd_proc

Seabird CTD Processor

Batch processing for Seabird CTD Data Processing. Automated calibration file and CTD selection to process all files in a directory easily.

This script will process all .hex files in a directory and ask for latitude for each file's derive step.

Ensure all relevant calibration .xmlcon and .psa files are in the following config directory structure: Dates must be at the end of the calibrationfiles##### directory names.

Setup

If needed, install Python. For Windows users, this is easiest to install from the Windows Store.

  1. Create a virtual environment. You can use your IDE (e.g. VSCode) to do this, or run: python3 -m venv .venv .venv\Scripts\activate

  2. Install requirements pip install -r requirements.txt

  3. Install SBE Data Processing

  4. Copy config.example.py to config.py and edit for your setup.

Tests

Tests are located in the test directory. Files can be executed individually. To run all tests: python -m unittest