get_vari_z | R Documentation |
Extracts a selected parameter from the netCDF file for a certain depth and formats it into a dataframe.
get_vari_z(ncdf, var, z, constant_z = F)
ncdf |
filepath; Name of the netCDF file to extract variable |
var |
character; Name of the variable to be extracted. Must match short name in netCDF file |
z |
numeric; Depth at which the variable should be extracted. Must be negative. |
constant_z; |
If set to TRUE, only the first row of the depth data is used. If FALSE, the depth data is checked for varying water levels. Defaults to FALSE. |
dataframe
Jorrit Mesman
## Not run:
get_vari_z("output.nc", "temp", z = -1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.