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.xlsx
for an example). Put raw data files inraw_tags
folder. -
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 theptags
variable. -
Run
process_tags.R
. The processed tags will be stored in .mat format inprocessed_tags
folder.