Use new netcdf C++ API
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The current netcdf code uses the legacy C++ header/api netcdfcpp.h. There is a new C++ api: https://github.com/Unidata/netCDF-cxx4. Please use that.