R code for preprocessing DST raw data for the Matlab HMM Geolocation toolbox hmm_smast. Required imput data include meta tagging information from an Excel spreadsheet and the raw temperature and depth/pressure data downloaded from Star-ODDI or Lotek digital storage tags.
-
Fill in meta tagging information in the Excel file, including the filenames of the raw data files (see
Inventory of yellowtail DST Recaptures.xlsxfor an example). Put raw data files inraw_tagsfolder. -
Edit project-wide information in
metadata.R. -
In
process_tags.R, specify the tags you desire to process by assigning corresponding list of tag IDs to theptagsvariable. -
Run
process_tags.R. The processed tags will be stored in .mat format inprocessed_tagsfolder.