-
Notifications
You must be signed in to change notification settings - Fork 10
Home
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.
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.
A couple of additional external toolboxes are required:
- SPT currently uses the CSIRO Matlab EOS-80 Seawater Toolbox to calculate derived sea water properties from measured sensors. This toolbox has been declared obsolete in favor of the Gibbs SeaWater Oceanographic Toolbox, but I have yet to integrate this toolbox. For now, install the CSIRO Matlab EOS-80 Seawater Toolbox toolbox.
- SPT contains routines for parsing JSON objects in order to specify NetCDF global and file attributes. These routines require the JSONLab toolbox.
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