Thiago,
You can try using the (perhaps undocumented) 'level' argument
clay3 - brick('/data/input-inland/soita.clay.nc', level=3)
With a RasterBrick you can only one level at a time (i.e. x, y and z, but
not a fourth dimension), but you can create several RasterBricks, one for
each level.
://www.dropbox.com/s/hyalyip9ai8yidc/soita.clay.nc
Best,
Thiago.
From: Robert J. Hijmans r.hijm...@gmail.com
Cc: R-SIG list r-sig-geo@r-project.org
Sent: Saturday, September 29, 2012 4:10 AM
Subject: Re: [R-sig-Geo] Create a raster brick from a netcdf using all
-project.org
*Sent:* Saturday, September 29, 2012 4:10 AM
*Subject:* Re: [R-sig-Geo] Create a raster brick from a netcdf using all
levels
Thiago,
You can try using the (perhaps undocumented) 'level' argument
clay3 - brick('/data/input-inland/soita.clay.nc', level=3)
With a RasterBrick you
thi_vel...@yahoo.com.br
Cc: R-SIG list r-sig-geo@r-project.org
Sent: Saturday, September 29, 2012 2:07 PM
Subject: Re: [R-sig-Geo] Create a raster brick from a netcdf using all levels
Thiago,
On Sat, Sep 29, 2012 at 9:15 AM, Thiago Veloso thi_vel...@yahoo.com.br wrote:
Robert,
Thank you very
Dear list,
I have a netcdf file that contains 6 levels. Below is the structure of the
file:
require(ncdf)
require(raster)
nctemp - open.ncdf('/data/input-inland/soita.clay.nc')
nctemp
[1] file /data/input-inland/soita.clay.nc has 5 dimensions:
[1] longitude Size: 720
[1] latitude