Learn R Programming

stars (version 0.5-6)

read_mdim: Read data using GDAL's multidimensional array API (experimental)

Description

Read data using GDAL's multidimensional array API (experimental)

Usage

read_mdim(
  x,
  variable = character(0),
  ...,
  options = character(0),
  raster = NULL,
  offset = integer(0),
  count = integer(0),
  step = integer(0),
  proxy = FALSE,
  debug = FALSE
)

Arguments

x

data source name

variable

name of the array to be read

...

ignored

options

array opening options

raster

names of the raster variables (default: first two)

offset

integer; offset for each dimension (pixels) of sub-array to read (default: 0,0,0,...) (requires sf >= 1.0-9)

count

integer; size for each dimension (pixels) of sub-array to read (default: read all) (requires sf >= 1.0-9)

step

integer; step size for each dimension (pixels) of sub-aray to read (requires sf >= 1.0-9)

proxy

logical; return proxy object? (not functional yet)

debug

logical; print debug info?

Details

it is assumed that the first two dimensions are easting / northing