public static int nc_close(int ncidp)
 {
     lock (LockObject) { var r = NetCDFInterop.nc_close(ncidp); return(r); }
 }