public static NetCdfFile CreateNew(string path, bool fill = false) { int id; CheckResult(NetCdfWrapper.nc_create(path, FileCreateMode, out id)); var ncFile = new NetCdfFile(path, id); ncFile.SetFill(fill); return(ncFile); }