Skip to content
kerfoot edited this page Jun 20, 2014 · 13 revisions

Wiki

SPT ( Slocum Power Tools ) is a Matlab toolbox that makes loading, manipulating, visualizing and exporting native Slocum glider data sets quicker and easier. It achieves these 2 goals by hiding some of the nuances of the native file format and organization for less skilled users while maintaining low level data access for power users.

Resources

Background

Before diving into the toolbox, I STRONGLY recommend you read the Slocum Data File Primer. It contains an in-depth explanation of the native Slocum glider file types and examples on renaming, decoding, merging and filter the binary files to their ASCII equivalents. This is the process you need to follow in order to create valid ASCII file types as inputs to the Dbd and DbdGroup classes.

Dependencies

A couple of additional external toolboxes are required:

Installation

Clone the toolbox or download the current version as a zip file. The toolbox has the following directory structure, located under ./spt :

bin/
    General purpose routines for date conversions, file operations, etc.
classes/
    Class definitions
constants/
    Routines for returning constants (ie: regular expressions) used by the toolbox
export/
    Routines for exporting glider data to various file formats
navigation/
    Routines for calculating GPS units conversion, great circle distance calculations, etc.
README.md
proc/
    Routines for loading individual data files into Dbd and DbdGroup instances
util/
    Routines for manipulating glider data
vis/
    Plotting routines