Description Usage Arguments Value
View source: R/aggregate_ncdf.R
Aggregate ncdf climate (raster) data for catchment subbasins
1 2 3 4 5 6 7 8 9 | aggregate_ncdf(
ncdf_file,
crs_ncdf,
shape_file,
shape_index,
var_name = NULL,
latlon_name = NULL,
time_range = NULL
)
|
ncdf_file |
Path to the ncdf file |
crs_ncdf |
Character string providing the reference system of ncdf file |
shape_file |
Shape file with the basin sub-unit polygons or path to the file as character string |
shape_index |
Name of the column in the basin shapefile attribute table that provides the indices of the basin subunits |
var_name |
(optional) character string. Name of the variable array to be
extracted from the ncdf file. If |
latlon_name |
(optional) character vector of |
time_label |
(optional) vector of |
Returns a tibble that provides the time series of the aggregated variable for the respective basin subunits
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.