Last chance! 50% off unlimited learning
Sale ends in
brick.decimal.formatter(file = NULL, file_prefix,
formatter = "%04d", file_extension = ".asc",
nlayers = 10, use.read.raster.from.url = FALSE,
crs = NULL, start.from.zero = FALSE)
NULL
by default,
otherwise it replaces file_suffix
,
formatter
and file_extension
."%04d"
.".asc"
FALSE
. (this is recommended in this function). If
TRUE
the RasterLayer are read with
read.raster.from.url
, istead of
FALSE
. If TRUE
the formatter starts from
0000
, otherwise it starts from 0001
.RasterBrick-class
,brick
,
Default is NULL
.RasterBrick-class
objectlibrary(geotopbricks)
library(raster)
file <- system.file("doc/examples/snowthickness",package="geotopbricks")
file <- paste(file,"SnowThickness0000L%04d.asc",sep="/")
b <- brick.decimal.formatter(file=file,nlayers=15)
nlayers(b)
names(b)
Run the code above in your browser using DataLab