Skip to contents

Create tasks of zonal statistics

Usage

create_zonal_tasks(
  nc_files_list,
  nc_chunk_size,
  sf_geom,
  sf_chunck_size,
  zonal_functions,
  pop = NULL
)

Arguments

nc_files_list

A vector of NetCDF files addresses.

nc_chunk_size

Chunk size for raster layers processing.

sf_geom

An sf object.

sf_chunck_size

Chunk size for sf features processing.

zonal_functions

A vector of zonal statistics to be computed.

pop

optional. A vector of a population raster address.

Value

A tibble where each row is a zonal statistic that should be computed using a chunk of raster layers and a chunk of sf features.