| mdim_info | R Documentation |
mdim_info() is an interface to the gdalmdiminfo command-line
utility (see https://gdal.org/en/stable/programs/gdalmdiminfo.html).
This function lists various information about a GDAL supported
multidimensional raster dataset as JSON output. It follows the JSON schema
gdalmdiminfo_output.schema.json.
Requires GDAL >= 3.2.
mdim_info(
dsn,
array_name = "",
pretty = TRUE,
detailed = FALSE,
limit = -1L,
stats = FALSE,
array_options = NULL,
allowed_drivers = NULL,
open_options = NULL,
cout = TRUE
)
dsn |
Character string giving the data source name of the multidimensional raster (e.g., file, VSI path). |
array_name |
Character string giving the name of the MDarray in
|
pretty |
Logical value, |
detailed |
Logical value, |
limit |
Integer value. Number of values in each dimension that is used
to limit the display of array values. By default, unlimited. Only taken into
account if used with |
stats |
Logical value, |
array_options |
Optional character vector of |
allowed_drivers |
Optional character vector of driver short names that
must be considered when opening |
open_options |
Optional character vector of format-specific dataset
openoptions as |
cout |
Logical value, |
Invisibly, a JSON string containing information about the
multidimensional raster dataset. By default, the info string is also printed
to the console unless cout is set to FALSE.
mdim_as_classic(), mdim_translate()
f <- system.file("extdata/byte.nc", package="gdalraster")
mdim_info(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.