Description Usage Arguments Value
View source: R/extractDepths.R
Extracts a variable at a certain depth or series of depths from netCDF or from text output
1 2 |
mod.val |
dataframe of modelled values loaded using load.3d |
mod.dep |
dataframe of depths of corresponding modelled values loaded |
ncdf |
filepath; Name of the netCDF file to extract variable |
var |
character; Name of the variable to be extracted. Must match short names in the netcdf file. Use list_vars() to view variables |
depths |
vector of depth(s) for which to extract the value at |
method |
character determining method for extracting depths at interpolated temperatures. Either linear interpolation or cubic spline. Defaults to linear. |
print |
logical; Print a progress bar to the console. Defaults to TRUE |
data frame in the long format the same as load.obs(). With modelled values at the selected depths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.