Dear Members,

I have read in two 507 x  356 x 120 (lon,lat,time) netCDF files into R using
the "brick" function in the raster package. I get the following error when I
use "stack" to clump these two multi layer rasters together.

> s <- stack(rcmraster,emitraster)
Error in function (classes, fdef, mtable)  :
  unable to find an inherited method for function "trim", for signature
"integer"

Robert suggested that it is because of the layerNames being numeric, annd
that layerNames() <- layerNames() would solve it but it did not help, even
though layerNames() is now of type character.

Any help on this issue will be most helpful.

Regards,

-- 
advait godbole

	[[alternative HTML version deleted]]

