Skip to contents

Creating reference SpatRaster covering core extent Create one mean reference row SpatRaster by averaging data every column by aggregation Create reference SpatRaster matching capture SpatRaster extent by disaggregation.

Usage

create_reference_raster(raster, roi, ref_type, ...)

Arguments

raster

terra SpatRaster of the captured reference.

roi

Region Of Interest: extent to match data raster.

ref_type

type of reference, one of "whiteref" or "darkref".

...

additional arguments.

Value

a terra SpatRaster of reference matching the data raster extent.

See also