Summarize SMRT (and/or Lander2) tag data from .nc files for each foraging dive cycle. There are data at two, nested time-scales: the dive cycle (a foraging dive and all the dives that follow it) and, within that, time-periods of set length in which other metrics are averaged. This function does coarse scale only. The data are intended for use in a state-switching model.

combine_ping_logs(
  tag_id = zc_smrt_tag_list$tag_id,
  ping_log_path,
  nc_path = ping_log_path
)

Arguments

tag_id

Character string or vector with tag IDs (without "-cal.nc"). Default: all SMRT ziphius tags.

ping_log_path

Directory (quoted string) where ping log files are stored. Can be one string, or a list the same length as tag_ids.

nc_path

Directory (quoted string) where nc files are kept (for fetching tag recording start times). Default: same as ping log path

Value

A data.frame() with information about timing of anthropogenic sounds on all tagouts in tag_id