public static int nc_open(string path, CreateMode mode, out int ncidp)
 {
     lock (LockObject) { var r = NetCDFInterop.nc_open(path, mode, out ncidp); return(r); }
 }