[R-sig-Geo] recent raster package, bricks and ncdfs

Martin martin_brandt at gmx.net
Wed Jan 5 14:18:44 CET 2011


thanks for fixing Robert. This error's gone, but there still seems to be a
problem with the dimensions of the ncdf-bricks. If I crop a brick, it
returns only one layer, and if i try to rotate it, i get the following
error:

>ncp = rotate(nc)
Fehler in dim(res) <- c(ncols, raster at data@nlayers * nrows):
  Dimensionen [Produkt 462240] passen nicht zur Länge des Objektes [720]

which means in english that the dimensions do not fit the object length. As
a stack this works without problems..


-- 
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/recent-raster-package-bricks-and-ncdfs-tp5880713p5891925.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list