On Fri, Jul 29, 2011 at 7:44 AM, Ana <rrast...@gmail.com> wrote: > 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, however I have no idea > regarding the reference for both LAT/LON and RLAT/RLON. > > I tried already tried is ArcGIS to give the Lambert Conformal Conic > projection as the spatial reference, by default arcgis gets the rlat and > rlon for coordinates. however the resulting raster is displaced from were > it > should be. > > Can someone help me with this? >
Hello, I can't tell if you're asking: * How to tell what information is in your netcdf file, * How to get the data you need out of your netcdf file, * How to interpret the data you are getting from the netcdf file. Perhaps you could be a bit clearer? As a suggestion, try "ncdump -h <filename.nc>" and look to see what information is in your file. Is it what you expected & need? Regards, --Dave -- David W. Pierce Division of Climate, Atmospheric Science, and Physical Oceanography Scripps Institution of Oceanography (858) 534-8276 (voice) / (858) 534-8561 (fax) dpie...@ucsd.edu [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.