Re: [R-sig-Geo] [raster] conserving dimensions when regridding a 4D Brick or Stack

2013-04-09 Thread Robert J. Hijmans
Tom, A RasterBrick is 3D. There is a 4D object RasterQuad designed to work with the type of data you have, but I have not implemented any methods for it, so it is currently of no use. I think all you can do with the raster package is process the data level by level and then combine everything into

Re: [R-sig-Geo] [raster] conserving dimensions when regridding a 4D Brick or Stack

2013-04-09 Thread Tom Roche
https://stat.ethz.ch/pipermail/r-sig-geo/2013-April/017947.html Can one + create a 4D RasterBrick or RasterStack + instruct projectRaster so as to get 4D regridded output? Or must one - create 3D RasterLayer's (i.e., one per LAY) from the 4D Brick - regrid each 3D Layer - reassemble the

[R-sig-Geo] [raster] conserving dimensions when regridding a 4D Brick or Stack

2013-04-04 Thread Tom Roche
summary: When regridding a 4D Brick (e.g., the netCDF data variable Fraction_of_Emissions(TSTEP, LAY, ROW, COL) in netcdf GFED-3.1_2008_N2O_3hourly_fractions { dimensions: TSTEP = 12 ; LAY = 8 ; ROW = 360 ; COL = 720 ; variables: float Fraction_of_Emissions(TSTEP, LAY, ROW,