Commit e7336b29 authored by allens's avatar allens

removed suprious output and properly closed dataset

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@30021 18c085ea-50e0-402c-830e-de6fd14e8384
parent 8c1254b7
......@@ -45,7 +45,7 @@ _normalize_h5_type (hid_t type)
default:
; /* NOP */
}
printf ("Unknown type %d", (int) type);
printf ("H5Utils:H5NIMROD Unknown type %d", (int) type);
return -1;
}
......@@ -203,7 +203,7 @@ H5NIMROD_read_float32_array (hid_t parent_id,
dataset = H5Dopen (parent_id, dataset_name);
if (dataset < 0)
{
printf ("could not open dataset %s\n", dataset_name);
printf ("H5Utils:H5NIMROD Could not open dataset %s\n", dataset_name);
return H5NIMROD_ERR;
}
if (offset == NULL)
......
......@@ -313,12 +313,13 @@ avtH5NimrodFileFormat::avtH5NimrodFileFormat (const char *filename):
H5G_DATASET, kdx, name, len_of_name);
scalarvarnames[kdx] = name;
}
H5Gclose (group_id);
}
}
debug5 << "num scalarvars: " << nscalarvars << std::endl;
debug5 << "num vectorvars: " << nvectorvars << std::endl;
H5Gclose (group_id);
H5Gclose (grid_id);
H5Gclose (root_id);
H5Fclose (file_id);
......
......@@ -402,7 +402,7 @@ avtXGCFileFormat::Initialize()
H5Gclose(grp);
H5Fclose(vfile);
cout<<"NumNodes: "<<numNodes<<" NumPhi: "<<numPhi<<endl;
// cout<<"NumNodes: "<<numNodes<<" NumPhi: "<<numPhi<<endl;
initialized = true;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment