- filename
Complete path to .nc file.
- variable
Character, name of the variable to extract (required).
- var_t
Character, name of the time variable. (recommended if
has_time=TRUE)
- var_x
(optional) Character, name of the x coordinate variable (not
dimension!). If both var_x and var_y are supplied, results will have xy
columns, too.
- var_y
(optional) Character, name of the y coordinate variable (not
dimension!). If both var_x and var_y are supplied, results will have xy
columns, too.
- has_time
Boolean, if TRUE
(default), will read time information
from file. Use FALSE
, if file has no time dimension/variable.
- icell_raster_pkg
Boolean, if TRUE
, cell indices will be ordered
as if you were extracting the data with the raster package. See also
nc_grid_to_dt