There may have been a thread about this before but is it conceivable to
smarten HDF5's open call and/or add a H5Pset_fapl_autovfd property that
will attempt to automatically detect which vfd to use to correctly open
a file by first opening the file and reading the superblock and, with
appropriate info encoded into the superblock, determine the correct vfd
to use to actually open and read the file?

It looks like some vfd's define additional superblock/userblock contents
while others do not.

I suppose another option is to after reading the superblock, pass its
contents to all an 'identify' function in all know vfd's asking each one
to indicate if it thinks it can open the file. If the resulting list of
positive answers is of size 0, can't open; size 1, use that vfd, size>1,
try in some kind of priority order.

Mark



-- 
Mark C. Miller, Lawrence Livermore National Laboratory
================!!LLNL BUSINESS ONLY!!================
[email protected]      urgent: [email protected]
T:8-6 (925)-423-5901     M/W/Th:7-12,2-7 (530)-753-851


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to