NOTE: The netcdf-hdf
mailing list is no longer active. The list archives are made available for historical reasons.
Mike At 11:28 AM 11/12/2003, Russ Rew wrote:
Quincey, > My current idea is to add a "creation time" piece of metadata to each > object as it is created in the file, and then the H5Giterate() call (or > something resembling it) could choose whether to use creation times or the> object names (or last modification times, etc.) as the method of indexing the> objects to iterate over. Fairly simple and straightfoward, I think... Even simpler would be a "creation sequence number" piece of metadata. This would just be an integer that incremented for each new HDF5 object, or maybe several such sequences for different kinds of objects. There are some advantages of sequence numbers over times: - you don't have to worry about clock resolution and the possibility that creation times of two objects are equal - you can use gaps in the sequence numbers to tell that objects have been deleted, something not possible with times - adding 1 is cheaper than the system call necessary to access the system clock - in distributed systems, there is not necessarily a well-defined time ordering for events (only a partial ordering) I don't foresee any need for knowing the actual creation time of a netCDF-4 object, but if there are other applications for this kind of information, than feel free to ignore this suggestion ... --Russ
-- Mike Folk, Scientific Data Tech (HDF) http://hdf.ncsa.uiuc.edu NCSA/U of Illinois at Urbana-Champaign 217-244-0647 voice605 E. Springfield Ave., Champaign IL 61820 217-244-1987 fax
netcdf-hdf
archives: