[Gdal-dev] NetCDF and HDF4 interface - is it possible?
nhv at cape.com
Sat Dec 18 00:36:43 EST 2004
Jack Varga writes:
> Is it possible to build GDAL interfaces with both NetCDF and HDF4 in a
> single instance? If so, what's the trick? I'm using the latest of
> each, (NetCDF 3.6.0 and HDF4.2 r0).
Yes but it requires a bit of hacking.
The HDF library has an internal NetCDF library
that you can either be exposed or not by tweaking
the headers I believe this is in the hdf2netdff.h file
grep HAVE_NETCDF in the HDF tree for 'hints' about
how to do this
More information about the Gdal-dev