calc.ohc.par: OHC Likelihood in Parallel

Description Usage Arguments Value References See Also

View source: R/calc.ohc.par.r

Description

Calculate Ocean Heat Content (OHC) likelihood surface in parallel

Usage

1
2
calc.ohc.par(pdt, filename, isotherm = "", ohc.dir, dateVec, bathy = TRUE,
  use.se = TRUE, ncores = NULL)

Arguments

pdt

input PDT data see extract.pdt

filename

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.

isotherm

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).

ohc.dir

directory of downloaded hycom (or other) data

dateVec

vector of complete dates for data range. This should be in 'Date' format

bathy

is logical indicating whether or not a bathymetric mask should be applied

use.se

is logical indicating whether or not to use SE when using regression to predict temperature at specific depth levels.

ncores

specify number of cores, or leave blank and use whatever you have!

Value

a raster brick of OHC likelihood

References

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

See Also

calc.ohc


HMMoce documentation built on Nov. 17, 2017, 5:57 a.m.