James,

In this case, it may be simpler, easier and more efficient to simply call
the NetCDF library directly, rather than going through GDAL.  Your
particular file sounds like a 3D dataset, which is stretching the bounds of
what GDAL is designed to handle, namely rasters.

The NetCDF API is relatively straightforward.  There is documentation and
examples.

-Ben

> -----Original Message-----
> From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-
> boun...@lists.osgeo.org] On Behalf Of James Sulzman
> Sent: Monday, August 15, 2011 12:09 PM
> To: gdal-dev@lists.osgeo.org
> Subject: [gdal-dev] Help with GDAL & Visual Studio 2010 & netCDF
> 
> Hi All,
> 
> I could use a little help, and it would be greatly appreciated.
> 
> Goal:  Write a c++ program in MS Visual Studio 2010 (on win7 x64 machine)
> that reads in a netCDF file.  Compile/build program in Visual Studio 2010
> Release or Debug x64.  Execute the program.
> The netCDF file I am trying to read in, has one variable in it.  That
> variable is a 3d raster 76x40x93 of float32 type.
> 
> [..]


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to