[netcdfgroup] Determining format options available in netcdf library

Is there a way for an application linked to a netcdf library to determine whether the netcdf-4 capabilities are present in the library?

I have an application that I want to normally write a classic netcdf-3 file, but if the netcdf library was compiled with the netcdf-4 option enabled, it should create a netcdf-4 file. It looks like the netcdf.h file is the same for both options and I don't see any api function that would give the information.

Thanks,
--Greg



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: