aggregate_INCAbin: Aggregate binary INCA raster data for catchment subbasins

Description Usage Arguments Value

View source: R/aggregate_INCAbin.R

Description

Aggregate binary INCA raster data for catchment subbasins

Usage

1
aggregate_INCAbin(bin_pth, basin_shp, bin_crs, bin_ext, shp_index)

Arguments

bin_pth

Path to folder where binary ('.bil') and header ('.hdr') files are located

basin_shp

Shape file with the basin subunit polygons

bin_crs

String providing the reference system of the binary files

bin_ext

Vector of length four that provides xmin, xmax, ymin, ymax of the raster extent of the binaries

shp_index

Name of the column in the basin shapefile attribute table that provides the indices of the basin subunits

Value

Returns tibble that provides the time series of the aggregated variable for the respective basin subunits


chrisschuerz/aRastoCAT documentation built on May 16, 2020, 1:33 a.m.