[R-sig-Geo] HIRHAM netcdf file

2011-07-29 Thread Ana
Can someone help me out with a small problem? I've started using netcdf files recently, and I want to extract the grid id and also the coordinates from a HIRHAM netcdf file. I know how to extract a slice of dataset both in space and in time and I also know the area that this file should cover,

Re: [R-sig-Geo] HIRHAM netcdf file

2011-07-29 Thread Michael Sumner
You can use the ncdf (or RNetCDF) package to access all the dimensions and variables directly from the file. There is support for netcdf in the raster package, and optionally in the rgdal package if you compile it. rasters depends on ncdf, and rgdal on the GDAL driver implementation. Both have to