Description Usage Arguments See Also Examples
This function transforms a RasterStack-class
or a RasterBrick-class
object into a list of XY elements
1 |
r |
|
1 2 3 4 5 6 7 8 9 10 11 12 | library(ClimClassMap)
wpath <- system.file("raster_maps/1981-2010",package="ClimClassMap")
prec_map <- "p/p1981-2010%02d.tif"
fact <- 5
prec <- aggregate(stack(paste(wpath,sprintf(prec_map,1:12),sep="/")),
fact=fact) ## 1000 m resolution
names(prec) <- sprintf("M%02d",1:12)
l <- climStack2List(prec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.