On Jul 24, 2012, at 11:48 AM, Dimitris Servis wrote:

> Daniel
> 
> you will have to close and reopen the file. I don't think that even flushing 
> could do the trick...

        Calling H5Fflush() will do the job.  See the FAQ, here:

http://www.hdfgroup.org/hdf5-quest.html#grdwt

                Quincey

> 
> HTH
> 
> -- dimitris
> 
> 2012/7/24 Daniel Russel <drus...@gmail.com>
> I'm trying to implement reloading of data stored in an HDF5 file. That is, a 
> process opens it, reads some data (several data sets in one group). Another 
> process then writes to the file and I'd like to be able to (with the user 
> pushing a button) have access to the new data added to the file. Closing and 
> re-opening the data sets doesn't seem to catch the changes (presumably due to 
> the data caches). Is there something I can do to clear out the HDF5 caches? 
> Will closing the file and re-opening it do it? Thanks.
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
> 
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to