| create_dimensions | R Documentation |
Create single dimension, or dimensions object
create_dimension(
from = 1,
to,
offset = NA_real_,
delta = NA_real_,
refsys = NA_character_,
point = NA,
values = NULL,
is_raster = FALSE
)
create_dimensions(lst, raster = NULL)
get_raster(
affine = rep(0, 2),
dimensions = c("x", "y"),
curvilinear = FALSE,
blocksizes = NULL
)
from |
integer; start index |
to |
integer; end index |
offset |
numeric; offset, start of the cell or period, of a regular dimension |
delta |
numeric; step size (cell size, time period) of a regular dimension |
refsys |
; reference system for the dimension |
point |
logical; indicator whether the dimension refers to zero-sized dimension values ('TRUE') or to intervals the size of e.g. a cell or time period ('FALSE') |
values |
; vector or list with (discrete or potentially irregular) dimension values |
is_raster |
logical; indicate whether a dimension refers to one of the spatial raster dimensions |
lst |
list with elements of class 'dimension' |
raster |
object of class "raster" or 'NULL' |
affine |
numeric; length 2 vector with affine parameters |
dimensions |
character; length 2 vector with raster dimension names |
curvilinear |
logical; indicate with 'TRUE' when a raster refers to a curvilinear raster |
blocksizes |
numeric; length 2 vector with block sizes, used to speed up GDAL I/O |
'create_dimension()' returns an object of class 'dimension'
'create_dimensions()' returns a list object of class 'dimensions'
'get_raster()' returns a list object of class 'stars_raster'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.