Hello Chris, The ncdump behavior should be the same whether or not -disable-netcdf was used to build HDF4.
All that the -disable-netcdf option does is rename the C netCDF APIs that are used within HDF4 from ncxxx to sd_ncxxx. This enables users to compile applications with both netCDF C and HDF4 without getting name clashes. (The HDF4 SD interface was implemented using netCDF 2.3.2.) If you are seeing an issue, let me know! -Barbara ================= Barbara Jones The HDF Helpdesk The HDF Group [email protected] ================= From: Hdf-forum [mailto:[email protected]] On Behalf Of Christopher Harrop - NOAA Affiliate Sent: Friday, November 15, 2013 11:16 AM To: [email protected] Subject: [Hdf-forum] HDF4 ncdump and ncgen with and without --disable-netcdf Hello, I am trying to understand if there is any difference in the behavior and capabilities of the HDF4 version of the ncdump and ncgen utilities when HDF4 is built with and without --disable-netcdf. A diff on the resulting binaries shows that they are different, but I've found, for example, that HDF4's ncdump can read both HDF4 files and NetCDF files whether HDF4 was built with --disable-netcdf or not. This is with HDF-4.2.9. I apologize if this has been answered already. I did search online and did not find a clear answer to this question. Thanks, Chris ----------------------------------------------------------------------------------------------------------- Christopher W. Harrop email: [email protected]<mailto:[email protected]> Global Systems Division voice: (303) 497-6808 NOAA Earth System Research Laboratory fax: (303) 497-7259 325 Broadway R/GSD2 Boulder, CO 80303
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
