for near real-time QC (suffix = "_nrt"), subsample SSM-predicted locations to every ceiling(pred.int / time.step)-th prediction; for delayed-mode and historical QC, output predicted locations at the SSM time.step. Write annotated files to .csv

wc_write_csv(
  wc_ssm,
  fit,
  what,
  meta,
  program = "atn",
  path = NULL,
  dropIDs = NULL,
  suffix = "_nrt",
  pred.int = 6
)

Arguments

wc_ssm

SSM-appended WC tag datafiles - output of append_wc_ssm

fit

final SSM fit object

what

specify whether predicted or rerouted locations are to be used

meta

metadata

program

Determines structure of output metadata. Currently, either imos or atn.

path

path to write .csv files

dropIDs

individual WC DeploymentID's to be dropped

suffix

suffix to add to .csv files (_nrt, _dm, or _hist)

pred.int

prediction interval to use for sub-sampling predicted locations in near real-time QC (default = 6 h). Ignored in delayed-mode and historical QC, where predicted locations are output at the SSM time.step