Seaglider - WISPR
Offload data
Glider techs: open Seaglider and remove two micro SD cards from WISPR board
- These cards are numbered/ordered to be sure to replace them in the right order. Card 1 is farthest from the power connector (at the edge of the board) and Card 2 is in between Card 1 and the power connector.
Plug cards into computer and copy raw .dat files to a hard drive
Pass hard drive off to PAM analyst
Decompress data and convert to usable audio file format
PAM analyst: use agate convert WISPR workflow script to convert from .dat to .flac (guide)
If you have an existing mission configuration file, skip to step 8. If you do not have one, download the example configuration file and complete the following steps to edit it
Open configuration file with text editor and replace “% %%% TEMPLATE - PUT MISSION METADATA HERE %%%” with the glider deployment ID
- i.e. “% %%% sg639_Sep2024 %%%”
Add the glider serial number to the ’CONFIG.glider = ‘ argument
- i.e. “CONFIG.glider = ‘sgXXX’;”
Add the path to the raw .dat files and path to converted flac files in the following two lines of the configuration file
CONFIG.ws.inDir = ‘D:\sgXXX_Location_Mon20XX_raw_acoustic_data’; % path to raw .dat files
CONFIG.ws.outDir = ‘E:\sgXXX_Location_Mon20XX\flac’; % path to save converted files
If only converting to flac, comment out all of the other lines in the config file
Save as ‘agate_config_DeploymentID.cnf’ to the input data directory
Download and open workflow_convertWISPR.m matlab script. Set the path to the agate folder on line 36
Set the path to the configuration file on line 42
Run the script, processing should begin. You should see progress updates in the command window and flac files in the output directory you set in the config file
If .wav files are needed, use the flac2wav.m matlab script
Create full bandwidth LTSA
Open Triton in MATLAB by typing ‘triton’ into command window. Ensure you are using a version of Triton that supports FLAC files
In the control window, click on Tools -> Make LTSA from Directory of Files
Enter 3 for flac
Navigate to your directory of flac files and click ‘Select Folder’
Use 5 seconds and 200 Hz settings, press ok, save LTSA as DeploymentID_SamplingRate_5s_200Hz.ltsa (ex. sg639_Sep2024_200kHz_5s_200Hz.ltsa)
Update Deployment Tracker Spreadsheet
Open Glider Deployment Tracker Spreadsheet and ensure all fields have been completed
Use the full bandwidth LTSA to mark the data start and end (or use file timestamps) and assess overall data quality
Use the acoustic effort summary from the post mission processing to fill in the deployment duration, distance, and recording duration columns