Skip to contents

VRT Crop

Usage

vrt_crop_get(
  URL = NULL,
  catalog = NULL,
  AOI = NULL,
  grid = NULL,
  varname = NULL,
  start = NULL,
  end = NULL,
  toptobottom = FALSE,
  verbose = TRUE
)

Arguments

URL

local file path or URL

catalog

subset of open.dap catalog

AOI

an sf of SpatVect point or polygon to extract data for

grid

a list containing an extent (), and crs

varname

variable name to extract (e.g. tmin)

start

for non "dated" items, start can be called by index

end

for non "dated" items, end can be called by index

toptobottom

should data be inverse?

verbose

Should dap_summary be printed?

Value

SpatRaster