Hi Alex,
This seems like a bug. Please let the helpdesk ([email protected]
<mailto:[email protected]>) know about it.
Quincey
> On Aug 22, 2017, at 9:04 PM, Alex Cobb <[email protected]> wrote:
>
> Hi All,
>
> I am using H5Pset_obj_track_times to turn off setting ctime in output
> files. This is great, it makes it easy to detect changes in output
> using a simple file hash!
>
> I noticed that H5Pget_obj_track_times() gives me the expected value in
> a newly created dataset (false if set to false by
> H5Pset_obj_track_times(), true if unset or set to true by
> H5Pset_obj_track_times()). However, the flag does not seem to be
> recoverable after file close / re-open. If I close the file, re-open,
> get the dataset creation property list with H5Dget_create_plist(),
> then call H5Pget_obj_track_times() again, it always gives me "true".
> Is this expected?
>
> IIUC, this does not matter much in HDF as currently implemented
> because only ctime is ever set, so it doesn't matter if the dataset
> remembers that it is not supposed to track times (because the only
> time fields are modified is at creation anyway). Am I thinking about
> this right?
>
> Happy to provide a MWE if helpful.
>
> Thanks!
>
> Alex
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5