Compare tag data to OHC grid and calculate likelihoods
calc.ohc(pdt, filename, isotherm = "", ohc.dir, dateVec, bathy = TRUE,
use.se = TRUE)input PDT data see extract.pdt
is the first part of the filename specified to the download
function get.env. For example, if downloaded files were
specific to a particular dataset, you may want to identify that with a name
like 'tuna' or 'shark1'. This results in a downloaded filename of, for
example, 'tuna_date.nc'. This filename is required here so the calc
function knows where to get the env data.
default '' in which isotherm is calculated on the fly based on daily tag data. Otherwise, numeric isotherm constraint can be specified (e.g. 20 deg C).
directory of downloaded hycom (or other) data
is vector of dates from tag to pop-up in 1 day increments.
is logical indicating whether or not a bathymetric mask should be applied
is logical indicating whether or not to use SE when using regression to predict temperature at specific depth levels.
likelihood is raster brick of likelihood surfaces representing estimated position based on tag-based OHC compared to calculated OHC using HYCOM
Luo J, Ault JS, Shay LK, Hoolihan JP, Prince ED, Brown C a., Rooker JR (2015) Ocean Heat Content Reveals Secrets of Fish Migrations. PLoS One 10:e0141101