test netcdf c++ interface