HDF5 documents and links Introduction to HDF5 |
HDF5 User's Guide HDF5 Reference Manual HDF5 Application Developer's Guide |
H5Fget_obj_count
ssize_t H5Fget_obj_count(
hid_t file_id
,
unsigned int types
)
H5Fget_obj_ids
ssize_t H5Fget_obj_ids(
hid_t file_id
,
unsigned int types
,
size_t max_objs
,
hid_t *obj_id_list
)
h5repack
and h5diff
h5dump
.
The new syntax of each is as follows:
h5repack [OPTIONS] file1 file2
h5diff [OPTIONS] file1 file2
[object1 [object2]]
In each case, the old syntax remains available (though undocumented) to avoid breaking existing scripts.
h5diff
h5diff
now returns 1
if the files differ in structure,
i.e., if the file graphs differ by any object.
The tool’s error return code has been changed
to 2
.
h5repack
-u U
--ublock=U
| Specifies the name of the file containing the user block data to be added. | |
-b B
--block=B
|
Specifies the size of the block to be added. |
H5Pset_alignment
:
-t T
--threshold=T
|
Specifies the threshold value for
H5Pset_alignment .
| |
-a A
--alignment=A
|
Specifies the alignment value for H5Pset_alignment .
|
h5repack
now supports multiple instances of
the '-f'
or '--filter'
option,
allowing the use of multiple I/O filters with an object.
h5repack
now retains an existing userblock
when repacking an HDF5 file.
h5import
TEXTFPE
,
for scientific notation, has been deprecated.
The flag TEXTFP
, which accepts
scientific notation, should be used instead.
h5import
now imports string data
with the STR
keyword
in the INPUT-CLASS
configuration field.
h5dump
'-m T'
or
'--format T'
option
enables a user-defined formatting string
for printing floating-point numbers.
h5dump
now prints a compression ratio
when compression filters are in use.
H5Pset_preserve H5Pget_preserve
The original role of these functions is now part of the core HDF5 Library functionality.
H5Sselect_elements
herr_t H5Sselect_elements(
hid_t space_id
,
H5S_seloper_t op
,
size_t num_elements
,
const hsize_t *coord
)
(This syntax change was listed on 10 September 2008, several months after Release 1.6.7.)
H5FD_STREAM
, has been
removd from and is no longer distributed with the HDF5 Library.
The following APIs have therefore been removed from this release.
H5Pset_fapl_stream
H5Pget_fapl_stream
H5FD_STREAM
has also been removed.
While the stream driver is no longer distributed by The HDF Group,
it will be made available as a source code distribution from
http://hdf5-addons.origo.ethz.ch/
.
An integration mechanism will be developed and
instructions for using the driver with HDF5
will be posted on that site.
Release 1.6.6 versus Release 1.6.5
Release 1.6.6 is primarily a bug-fix release and includes no changes in the syntax or intended behavior of the library’s public interfaces. There are, however, two changes in tool interfaces.
h5repack
:
-n
option allows the user to specify
that a new file created by h5repack
will use
native datatypes.
The default behavior is to use the original file datatypes.
-n |
Use native HDF5 datatypes when repacking.
(Default behavior is to use the original file datatypes.) |
h5repack
generated files only with native datatypes.
h5dump
:
-b
option
for binary output.
-b B or
--binary=B |
Output dataset to a binary file
using the datatype specified by
B .
B must have one of the
following values:
LE
Little-endian
BE
Big-endian
MEMORY
Memory datatype
FILE
File datatype
Recommended usage is with the -d and
-o options.
|
http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5hl.html
void PropList::copyProp(PropList& dest, const char* name) const
void PropList::copyProp(PropList& dest, const string& name) const
string CommonFG::getComment(const string& name) const
void CommonFG::removeComment(const char* name) const
void CommonFG::removeComment(const string& name) const
hsize_t Attribute::getStorageSize() const
void Attribute::close()
void DataSet::close()
void DataSpace::close()
void DataType::close()
void H5File::close()
void Group::close()
void PropList::close()
H5T_order_t AtomType::getOrder() const
void H5Object::renameAttr(const char* oldname, const char* newname) const
void H5Object::renameAttr(const string& oldname, const string& newname) const
string CommonFG::getObjnameByIdx(hsize_t idx) const
ArrayType AbstractDs::getArrayType() const
VarLenType AbstractDs::getVarLenType() const
ArrayType CommonFG::openArrayType(const char* name) const
ArrayType CommonFG::openArrayType(const string& name) const
VarLenType CommonFG::openVarLenType(const char* name) const
VarLenType CommonFG::openVarLenType(const string& name) const
ArrayType CompType::getMemberArrayType(unsigned member_num) const
VarLenType CompType::getMemberVarLenType(unsigned member_num) const
H5Fget_obj_count
H5F_OBJ_LOCAL
has been
added as a qualifier on the types of objects to be counted.
H5F_OBJ_LOCAL
restricts the search
to objects opened through current file identifier.
H5Tset_tag
H5T_OPAQUE_TAG_MAX
macro constant,
specifying the maximum size of an opaque datatype tag,
was added in H5Tpublic.h
.
int
to unsigned
.
string CompType::getMemberName(
unsigned member_num ) const
size_t CompType::getMemberOffset(
unsigned member_num ) const
int CompType::getMemberDims(
unsigned member_num, size_t* dims,
int* perm ) const
H5T_class_t CompType::getMemberClass(
unsigned member_num ) const
hid_t CompType::p_get_member_type(
unsigned member_num) const
DataType CompType::getMemberDataType(
unsigned member_num ) const
ArrayType CompType::getMemberArrayType(
unsigned member_num ) const
CompType CompType::getMemberCompType(
unsigned member_num ) const
EnumType CompType::getMemberEnumType(
unsigned member_num ) const
IntType CompType::getMemberIntType(
unsigned member_num ) const
FloatType CompType::getMemberFloatType(
unsigned member_num ) const
StrType CompType::getMemberStrType(
unsigned member_num ) const
VarLenType CompType::getMemberVarLenType(
unsigned member_num ) const
http://hdf.ncsa.uiuc.edu/HDF5/hdf5_hl/doc/RM_hdf5hl.html
libhdf5_hl.a(so)
,
is built and installed by default but can be disabled with
the --disable-hl
configure flag.
h5jam
and h5unjam
,
is available to manage user blocks in HDF5 files.
See their entry
in the HDF5 Reference Manual.
RefCounter
,
which existed before the C mechanism was available.
RefCounter
has therefore been removed.
H5Pget_version
herr_t H5Pget_version(hid_t plist_id,
unsigned *boot/*out*/,
unsigned *freelist/*out*/,
unsigned *stab/*out*/,
unsigned *shhdr/*out*/)
H5Pset_sym_k
H5Pset_sym_k(hid_t plist_id,
unsigned ik, unsigned lk)
H5Pget_sym_k
H5Pget_sym_k(hid_t plist_id,
unsigned *ik/*out*/,
unsigned *lk/*out*/)
H5Pset_istore_k
herr_t H5Pset_istore_k(hid_t plist_id,
unsigned ik)
H5Pget_istore_k
herr_t H5Pget_istore_k(hid_t plist_id,
unsigned *ik/*out*/)
H5Pget_external
herr_t H5Pget_external(hid_t plist_id,
unsigned idx, size_t name_size,
char *name/*out*/, off_t *offset/*out*/,
hsize_t *size/*out*/)
H5Pget_filter
H5Z_filter_t H5Pget_filter(hid_t plist_id,
unsigned filter,
unsigned int *flags/*out*/, size_t *cd_nelmts/*out*/,
unsigned cd_values[]/*out*/, unsigned int *flags/*out*/,
size_t namelen, char name[])
H5Sselect_hyperslab
herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op,
const hsize_t start[],
const hsize_t _stride[], const hsize_t count[],
const hsize_t _block[])
H5Sselect_elements
herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op,
size_t num_elemn, const hsize_t **coord)
H5Tget_member_name
char *H5Tget_member_name(hid_t type_id,
unsigned membno)
H5Tget_member_offset
size_t H5Tget_member_offset(hid_t type_id,
unsigned membno)
H5Tget_member_class
H5T_class_t H5Tget_member_class(hid_t type_id,
unsigned membno)
H5Tget_member_type
hid_t H5Tget_member_type(hid_t type_id,
unsigned membno)
H5Tget_member_value
herr_t H5Tget_member_value(hid_t type_id,
unsigned membno,
void *value/*out*/)
H5Diterate
is affected by a similar change
in the syntax of H5D_operator_t
.
herr_t (*H5D_operator_t)(void *elem, hid_t type_id,
unsigned ndim,
const hsize_t *point,
void *operator_data)
h5sselect_hyperslab_f
SUBROUTINE h5sselect_hyperslab_f(space_id, operator,
start, count, &
hdferr, stride, block)
h5sselect_elements_f
SUBROUTINE h5sselect_elements_f(space_id, operator, rank, &
num_elements, coord, hdferr)
FileCreatPropList::getVersion
void FileCreatPropList::getVersion(
unsigned& super,
unsigned& freelist,
unsigned& stab,
unsigned& shhdr) const
FileCreatPropList::setSymk
void FileCreatPropList::setSymk(
unsigned ik, unsigned lk ) const
FileCreatPropList::getSymk
void FileCreatPropList::getSymk(
unsigned& ik, unsigned& lk ) const
FileCreatPropList::setIstorek
void FileCreatPropList::setIstorek(
unsigned ik ) const
FileCreatPropList::getIstorek
unsigned
FileCreatPropList::getIstorek() const
DSetCreatPropList::getExternal
void DSetCreatPropList::getExternal(
unsigned idx,
size_t name_size,
char* name, off_t& offset, hsize_t& size ) const
DSetCreatPropList::getFilter
H5Z_filter_t DSetCreatPropList::getFilter(
ine filter_number,
unsigned int &flags, size_t &cd_nelmts, unsigned int* cd_values,
size_t namelen, char name[] ) const
DataSpace::selectHyperslab
void DataSpace::selectHyperslab( H5S_seloper_t op,
const hsize_t *count,
const hsize_t *start,
const hsize_t *stride, const hsize_t *block ) const
DataSpace::selectElements
void DataSpace::selectElements( H5S_seloper_t op,
const size_t num_elements,
const hsize_t *coord[ ] ) const
CompType::getMemberName
string CompType::getMemberName(
unsigned member_num ) const
CompType::getMemberOffset
size_t CompType::getMemberOffset(
unsigned member_num ) const
CompType::getMemberClass
H5T_class_t CompType::getMemberClass(
unsigned member_num ) const
EnumType::getMemberValue
void EnumType::getMemberValue(
unsigned member_no, void *value ) const
(These lists of syntax changes were added on 31 March and 5 April 2005, shortly after Release 1.6.4.)
H5E_CANTALLOC
H5E_CANTCHANGE
H5E_CANTRECV
H5E_CANTSENDMDATA
H5E_FPHDF5
H5I_TEMPBUF
H5Fget_name
|
ssize_t H5Fget_name
(hid_t obj_id ,
char *name ,
size_t size )See entry. |
H5Fget_filesize
|
herr_t H5Fget_filesize
(hid_t file_id ,
hsize_t * size )See entry. |
H5Iget_file_id
|
hid_t H5Iget_file_id
(hid_t obj_id )See entry. |
H5Premove_filter
|
herr_t H5Premove_filter
(hid_t obj_id ,
H5Z_filter_t filter )See entry. |
H5Zget_filter_info
|
herr_t H5Zget_filter_info
(H5Z_filter_t filter ,
unsigned int * flags )See entry. |
New Fortran90
subroutines corresponding to the new C functions
listed above: |
|
h5fget_name_f h5fget_filesize_f
|
h5iget_file_id_f h5premove_filter_f h5zget_filter_info_f
|
New Fortran90 subroutines
corresponding to C functions from prior releases: None |
All available C++ elements are now documented in the HDF5 C++ API Reference Manual. (The HDF5 C++ API Reference Manual is also a new addition in this release.)
h5new_tool
is designed to do whatever this sentence says.
(Clearly, this is a placeholder entry that should be removed before release.)
h5repack
is designed to copy an HDF5 file
to a new file with or without compression and/or chunking.
CompType::getMemberDims
H5Pset_fapl_multi
H5Pset_fapl_multi
(hid_t fapl_id
,
const H5FD_mem_t * memb_map
,
const hid_t * memb_fapl
,
const char ** memb_name
,
const haddr_t * memb_addr
,
hbool_t relax
)H5Pset_fapl_multi
(hid_t fapl_id
,
const H5FD_mem_t * memb_map
,
const hid_t * memb_fapl
,
const char * const * memb_name
,
const haddr_t * memb_addr
,
hbool_t relax
)This change should not appreciably affect application programs.
H5Tconvert
H5Tconvert
(hid_t src_id
,
hid_t dst_id
,
hsize_t nelmts
,
void * buf
,
void * background
,
hid_t plist_id
)H5Tconvert
(hid_t src_id
,
hid_t dst_id
,
size_t nelmts
,
void * buf
,
void * background
,
hid_t plist_id
)
This was changed to prevent overflows when hsize_t
and
size_t
types are different sizes. Application code
may need to be modified to take this into account. Application
code using this function may also be affected by the changes to
H5Tregister
and H5Tunregister
described
below.
H5Tregister
and H5Tunregister
H5T_conv_t
typedef (described below) and may
require application registered datatype conversion routines
to be modified to conform to the changed typedef.
H5::Exception
and its subclasses
H5::Exception
and its
subclasses that were previously overloaded to take char pointers
have been removed.
Constructors that passed in a reference of string
have been changed to pass by value.
In addition, the default value of the detailed
message has been changed from 0/NULL
to
DEFAULT_MSG
(meaning "No detailed information provided").
DSetCreatPropList::setLayout
DSetCreatPropList::setLayout
has been changed: the first parameter has been removed.
H5T_conv_t
(*H5T_conv_t)
(hid_t src_id
,
hid_t dst_id
,
H5T_cdata_t * cdata
,
hsize_t nelmts
,
size_t buf_stride
,
size_t bkg_stride
,
void * buf
,
void * bkg
,
hid_t plist_id
)(*H5T_conv_t)
(hid_t src_id
,
hid_t dst_id
,
H5T_cdata_t * cdata
,
size_t nelmts
,
size_t buf_stride
,
size_t bkg_stride
,
void * buf
,
void * bkg
,
hid_t plist_id
)
This was changed to prevent overflows when hsize_t
and
size_t
types are different sizes. Application code
may need to be modified to take this into account.
H5Iget_ref
|
int H5Iget_ref
(hid_t obj_id )See entry. |
H5Iinc_ref
|
int H5Iinc_ref
(hid_t obj_id )See entry. |
H5Idec_ref
|
int H5Idec_ref
(hid_t obj_id )See entry. |
Corresponding to the
new C functions listed above:h5iget_ref_f h5iinc_ref_f h5idec_ref_f
|
h5pcc
is designed to aid in the compilation
of C applications that employ the HDF5 Library.
h5pfc
is designed to aid in the compilation
of Fortran90 applications that employ the HDF5 Library.
H5Fget_freespace
|
hssize_t H5Fget_freespace
(hid_t file_id )See entry. |
h5get_fapl_mpiposix_f
|
h5pget_fapl_mpiposix_f(prp_id, comm, use_gpfs, hdferr) See entry. |
h5set_fapl_mpiposix_f
|
h5pset_fapl_mpiposix_f(prp_id, comm, use_gpfs, hdferr) See entry. |
H5Gget_obj_info
H5G_stat_t
struct contains two new fields.H5Gget_obj_info
will have
to be recompiled before linking with the updated library.
h5pset_cache_f
rdcc_nbytes
parameter has changed from
INTEGER
to INTEGER(SIZE_T)
to better match the C API and the h5pget_cache_f
subroutine.
H5set_free_list_limits |
herr_t H5set_free_list_limits (int reg_global_lim ,
int reg_list_lim , int arr_global_lim ,
int arr_list_lim , int blk_global_lim ,
int blk_list_lim )
|
H5Dget_offset |
hsize_t H5Dget_offset (hid_t dset_id ) |
H5Dget_space_status |
hid_t H5Dget_space_status (hid_t
dset_id , H5D_space_status_t *status )
|
H5Fget_obj_ids |
int H5Fget_obj_ids (hid_t file_id ,
unsigned int types ,
int max_objs , hid_t *obj_id_list )
|
H5Fget_vfd_handle |
herr_t H5Fget_vfd_handle (hid_t file_id ,
hid_t fapl_id , void *file_handle )
|
H5Gget_num_objs |
herr_t H5Gget_num_objs (hid_t loc_id ,
hsize_t* num_obj )
|
H5Gget_objname_by_idx |
ssize_t H5Gget_objname_by_idx (hid_t group_id ,
hsize_t idx , char *name ,
size_t* size )
|
H5Gget_objtype_by_idx |
int H5Gget_objtype_by_idx (hid_t group_id ,
hsize_t idx )
|
H5Iget_name |
ssize_t H5Iget_name (hid_t obj_id ,
char *name , size_t size )
|
H5Pall_filters_avail |
htri_t H5Pall_filters_avail (hid_t dcpl_id )
|
H5Pfill_value_defined |
herr_t H5Pfill_value_defined (hid_t plist_id ,
H5D_fill_value_t *status )
|
H5Pget_alloc_time |
herr_t H5Pget_alloc_time (hid_t plist_id ,
H5D_alloc_time_t *alloc_time )
|
H5Pget_edc_check |
H5Z_EDC_t H5Pget_edc_check (hid_t
plist )
|
H5Pget_family_offset |
herr_t H5Pget_family_offset (hid_t fapl_id ,
hsize_t *offset )
|
H5Pget_fapl_mpiposix |
herr_t H5Pget_fapl_mpiposix (hid_t fapl_id ,
MPI_Comm *comm )
|
H5Pget_fclose_degree |
herr_t H5Pget_fclose_degree (hid_t fapl_id ,
H5F_close_degree_t *fc_degree )
(This item corrected 14 September 2004.) |
H5Pget_fill_time |
herr_t H5Pget_fill_time (hid_t plist_id ,
H5D_fill_time_t *fill_time )
|
H5Pget_filter_by_id |
herr_t H5Pget_filter_by_id (hid_t plist_id ,
H5Z_filter_t filter , unsigned int *flags ,
size_t *cd_nelmts , unsigned int cd_values[] ,
size_t namelen , char *name[] )
|
H5Pget_hyper_vector_size |
herr_t H5Pget_hyper_vector_size (hid_t dxpl_id ,
size_t *vector_size )
|
H5Pget_multi_type |
herr_t H5Pget_multi_type (hid_t fapl_id ,
H5FD_mem_t *type )
|
H5Pmodify_filter |
herr_t H5Pmodify_filter (hid_t plist ,
H5Z_filter_t filter , unsigned int flags ,
size_t cd_nelmts , const unsigned int cd_values[] )
|
H5Pset_alloc_time |
herr_t H5Pset_alloc_time (hid_t
plist_id , H5D_alloc_time_t alloc_time )
|
H5Pset_edc_check |
herr_t H5Pset_edc_check (hid_t
plist , H5Z_EDC_t check )
|
H5Pset_family_offset |
herr_t H5Pset_family_offset (hid_t fapl_id ,
hsize_t offset )
|
H5Pset_fapl_mpiposix |
herr_t H5Pset_fapl_mpiposix (hid_t fapl_id ,
MPI_Comm comm )
|
H5Pset_fclose_degree |
herr_t H5Pset_fclose_degree (hid_t fapl_id ,
H5F_close_degree_t fc_degree )
(This item corrected 14 September 2004.) |
H5Pset_fill_time |
herr_t H5Pset_fill_time (hid_t plist_id ,
H5D_fill_time_t fill_time )
|
H5Pset_filter |
herr_t H5Pset_filter
(hid_t plist , H5Z_filter_t filter ,
unsigned int flags , size_t cd_nelmts ,
const unsigned int cd_values[])
|
H5Pset_filter_callback |
herr_t H5Pset_filter_callback (hid_t
plist , H5Z_filter_func_t func ,
void *op_data )
|
H5Pset_fletcher32 |
herr_t H5Pset_fletcher32 (hid_t
plist )
|
H5Pset_hyper_vector_size |
herr_t H5Pset_hyper_vector_size (hid_t dxpl_id ,
size_t vector_size )
|
H5Pset_multi_type |
herr_t H5Pset_multi_type (hid_t fapl_id ,
H5FD_mem_t type )
|
H5Pset_shuffle |
herr_t H5Pset_shuffle (hid_t plist_id )
|
H5Pset_szip |
herr_t H5Pset_szip (hid_t plist ,
unsigned int options_mask , unsigned int
pixels_per_block )
|
H5Rget_object_type |
int H5Rget_object_type (hid_t id ,
void *ref )
|
H5Sget_select_type |
H5S_sel_type H5Sget_select_type (hid_t space_id )
|
H5Tdetect_class |
htri_t H5Tdetect_class (hid_t dtype_id ,
H5T_class_t dtype_class )
|
H5Tget_native_type |
hid_t H5Tget_native_type (hid_t type_id ,
H5T_direction_t direction )
|
H5Tis_variable_str |
htri_t H5Tis_variable_str (hid_t dtype_id )
|
H5Zfilter_avail |
herr_t H5Zfilter_avail (H5Z_filter_t filter )
|
H5Zunregister |
herr_t H5Zunregister (H5Z_filter_t filter )
|
h5diff
h5import
h5fc
h5c++
h5perf
h5redeploy
H5_WANT_H5_V1_4_COMPAT
.
The backward compatibility mode is not enabled in the
binaries distributed by NCSA.
|
|
|
The above functions will eventually be removed from the HDF5 distribution and from the HDF5 Reference Manual.
H5FDflush and VFL "flush" callbacks
closing
has been added to
these functions,
to allow the library to indicate that the file will be closed
following the call to "flush". Actions in the "flush" call
that are duplicated in the VFL "close" call may be omitted by
the VFL driver.
H5Gget_objtype_by_idx
int
to
the enumerated type H5G_obj_t
.
H5Pset(get)_buffer
size
parameter for H5Pset_buffer
has changed from type hsize_t
to
size_t
.
H5Pget_buffer
return type has similarly
changed from hsize_t
to
size_t
.
H5Pset(get)_cache
rdcc_nbytes
parameter has changed from type
int
to
size_t
.
H5Pset_fapl_log
verbosity
parameter has been removed.
flags
of type unsigned
and
buf_size
of type size_t
.
H5Pset(get)_fapl_mpiposix
use_gpfs
parameter of type
hbool_t
has been added.
H5Pset(get)_sieve_buf_size
size
parameter has changed from type
hsize_t
to
size_t
.
H5Pset(get)_sym_k
lk
parameter has changed from type
int
to
unsigned
.
H5Sget_select_bounds
start
and end
parameters have
changed from type hsize_t *
to hssize_t *
to better match the
rest of the dataspace API.
H5Zregister
H5Z_class_t
struct and
new set local and can apply callback functions.
h5pset(get)_fapl_core_f
backing_store
parameter has changed from
INTEGER
to LOGICAL
to better match the C API.
h5pset(get)_preserve_f
flag
parameter has changed from
INTEGER
to LOGICAL
to better match the C API.
Backward compatibility with the Release 1.4.x syntax is available
for the functions indicated above with a leading asterisk (*).
The backward compatibility features are available only when the
HDF5 library is configured with the flag
H5_WANT_H5_V1_4_COMPAT
,
is not enabled in the binaries distributed by NCSA, and
will eventually be removed from the HDF5 distribution.
herr_t H5Pset_fapl_mpiposix(hid_t fapl_id, MPI_Comm comm); herr_t H5Pget_fapl_mpiposix(hid_t fapl_id, MPI_Comm *comm/*out*/); |
H5Pset_fapl_mpio H5Pget_fapl_mpio H5Fcreate H5Fopen H5Fclose
|
Previously, the Communicator and Info object arguments supplied
to H5Pset_fapl_mpio were stored in the property with
its handle values.
This meant changes to the communicator or the Info object
after calling H5Pset_fapl_mpio would affect the how
the property list functioned.
This was also the case when H5Fopen/create operated.
They just stored the handle value. This is not according to the
MPI-2 defined behavior of how Info objects should be handled.
(MPI-2 defines Info objects must be parsed when called.)H5Pset_fapl_mpio now stores a duplicate of each of
the communicator and Info object.H5Pget_fapl_mpio now returns a duplicate of its
stored communicator and Info object.
It is now the responsibility of the applications to free
those objects when done.
Advice to users: User applications should release the communicator and
Info object returned by |
None |
|
h5get_libversion_f, h5check_version_f, h5garbage_collect_f, h5dont_atexit_f
h5tget_member_index_f, h5tvlen_create_f
h5dget_storage_size_f, h5dvlen_get_max_len_f , h5dwrite_vl_f, h5dread_vl_f
integer, real
and
character
types are supported for VL datatypes.
H5Pget_small_data_block_size H5Pset_small_data_block_size H5Tget_member_index |
|
None |
|
None |
|
h5dwrite_f, h5dread_f, h5awrite_f, h5aread_f
were overloaded
with dims
argument to be assumed size array of type INTEGER(HSIZE_T).
We recommend to use the subroutines with the new type. Module subroutines
that accept dims
as INTEGER
array of size 7
will be deprecated in the 1.6.0 release.
H5Pset_fapl_dpss |
|
|
dims
, that was not present
in Release 1.4.1:
h5aread_f(attr_id, memtype_id, buf, dims, hdferr) h5awrite_f(attr_id, memtype_id, buf, dims, hdferr) h5dread_f(dset_id, mem_type_id, buf, dims, hdferr, mem_space_id, & file_space_id, xfer_prp) h5dwrite_f(dset_id, mem_type_id, buf, dims, hdferr, mem_space_id, & file_space_id, xfer_prp)
dims
parameter enables library portability
between the UNIX and Microsoft Windows platforms.
herr_t H5Dvlen_get_buf_size (hid_t dataset_id, hid_t type_id, hid_t space_id, hsize_t *size); herr_t H5Epush (const char *file, const char *func, unsigned line, H5E_major_t maj, H5E_minor_t min, const char *str); hid_t H5Pget_driver (hid_t plist_id); void *H5Pget_driver_info (hid_t plist_id); herr_t H5Pget_dxpl_mpio (hid_t dxpl_id, H5FD_mpio_xfer_t *xfer_mode/*out*/); herr_t H5Pget_dxpl_multi (hid_t dxpl_id, hid_t *memb_dxpl/*out*/); herr_t H5Pget_fapl_core (hid_t fapl_id, size_t *increment/*out*/, hbool_t *backing_store/*out*/) herr_t H5Pget_fapl_family (hid_t fapl_id, hsize_t *memb_size/*out*/, hid_t *memb_fapl_id/*out*/); herr_t H5Pget_fapl_mpio (hid_t fapl_id, MPI_Comm *comm/*out*/, MPI_Info *info/*out*/); herr_t H5Pget_fapl_multi (hid_t fapl_id, H5FD_mem_t *memb_map/*out*/, hid_t *memb_fapl/*out*/, char **memb_name/*out*/, haddr_t *memb_addr/*out*/, hbool_t *relax/*out*/); herr_t H5Pget_fapl_stream (hid_t fapl_id, H5FD_stream_fapl_t *fapl /*out*/ ); herr_t H5Pget_meta_block_size (hid_t fapl_id, hsize_t *size/*out*/); herr_t H5Pget_sieve_buf_size (hid_t fapl_id, hsize_t *size/*out*/); herr_t H5Pset_driver (hid_t plist_id, hid_t driver_id, const void *driver_info); herr_t H5Pset_dxpl_mpio (hid_t dxpl_id, H5FD_mpio_xfer_t xfer_mode); herr_t H5Pset_dxpl_multi (hid_t dxpl_id, const hid_t *memb_dxpl); herr_t H5Pset_fapl_core (hid_t fapl_id, size_t increment, hbool_t backing_store) herr_t H5Pset_fapl_family (hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id); herr_t H5Pset_fapl_log (hid_t fapl_id, char *logfile, int verbosity); herr_t H5Pset_fapl_mpio (hid_t fapl_id, MPI_Comm comm, MPI_Info info); herr_t H5Pset_fapl_multi (hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char **memb_name, const haddr_t *memb_addr, hbool_t relax); herr_t H5Pset_fapl_sec2 (hid_t fapl_id); herr_t H5Pset_fapl_split (hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext, hid_t raw_plist_id); herr_t H5Pset_fapl_stdio (hid_t fapl_id); herr_t H5Pset_fapl_stream (hid_t fapl_id, H5FD_stream_fapl_t *fapl); herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size); herr_t H5Pset_sieve_buf_size(hid_t fapl_id, hsize_t size); hid_t H5Tarray_create (hid_t base, int rank, const hsize_t dims[], const int perm[]) int H5Tget_array_dims (hid_t adtype_id, hsize_t *dims[], int *perm[]) int H5Tget_array_ndims (hid_t adtype_id)
The following functions are new for Release 1.4.0, but are intended only for use in specialized environments. These are also included in the HDF5 Reference Manual.
herr_t H5Pget_fapl_dpss (hid_t fapl_id); herr_t H5Pget_fapl_gass (hid_t fapl_id, GASS_Info *info/*out*/); herr_t H5Pget_fapl_srb (hid_t fapl_id, SRB_Info *info); herr_t H5Pset_fapl_dpss (hid_t fapl_id); herr_t H5Pset_fapl_gass (hid_t fapl_id, GASS_Info info); herr_t H5Pset_fapl_srb (hid_t fapl_id, SRB_Info info);
The following functions are new for Release 1.4.0 but are intended only for driver development work, not for general use. They are listed in the List of VFL Functions document in the HDF5 Technical Notes. They are described in detail only in the source code and do not appear in the HDF5 Reference Manual.
haddr_t H5FDalloc (H5FD_t *file, H5FD_mem_t type, hsize_t size); herr_t H5FDclose (H5FD_t *file); int H5FDcmp (const H5FD_t *f1, const H5FD_t *f2); herr_t H5FDflush (H5FD_t *file); herr_t H5FDfree (H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size); haddr_t H5FDget_eoa (H5FD_t *file); haddr_t H5FDget_eof (H5FD_t *file); H5FD_t *H5FDopen (const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr); int H5FDquery (const H5FD_t *f, unsigned long *flags); herr_t H5FDread (H5FD_t *file, hid_t dxpl_id, haddr_t addr, hsize_t size, void *buf/*out*/); haddr_t H5FDrealloc (H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t old_size, hsize_t new_size); hid_t H5FDregister (const H5FD_class_t *cls); herr_t H5FDset_eoa (H5FD_t *file, haddr_t eof); herr_t H5FDunregister (hid_t driver_id); herr_t H5FDwrite (H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size, const void *buf);
H5Pget_core H5Pget_driver H5Pget_family H5Pget_mpi H5Pget_sec2 H5Pget_split H5Pget_stdio H5Pget_xfer |
H5Pset_core H5Pset_family H5Pset_mpi H5Pset_sec2 H5Pset_split H5Pset_stdio H5Pset_xfer |
H5RAclose H5RAcreate H5RAopen H5RAread H5RAwrite H5Tget_member_dims H5Tinsert_array |
H5Pget_buffer
H5Pset_buffer
size
parameter has changed
to hsize_t.
H5Tconvert
nelmts
parameter has changed
to hsize_t.
H5P_DEFAULT
and
H5S_ALL
have been changed from -2
to 0
.
These default values had to be special-cased in situations where
they could be returned to distinguish them from error values.
H5Tinsert_array
has been replaced by
H5Tarray_create
.
Here is an example of changing code from H5Tinsert_array
to H5Tarray_create
.
V1.2.2 { struct tmp_struct { int a; float f[3]; double d[2][4]; }; size_t f_dims[1]={3}; size_t d_dims[2]={2,4}; hid_t compound_type; compound_type=H5Tcreate(H5T_COMPOUND,sizeof(struct tmp_struct)); H5Tinsert(compound_type,"a",HOFFSET(struct tmp_struct,a),H5T_NATIVE_INT); H5Tinsert_array(compound_type,"f",HOFFSET(struct tmp_struct,f),1,f_dims,NULL,H5T_NATIVE_FLOAT); H5Tinsert_array(compound_type,"d",HOFFSET(struct tmp_struct,d),2,d_dims,NULL,H5T_NATIVE_DOUBLE); } V1.4.0 { struct tmp_struct { int a; float f[3]; double d[2][4]; }; hsize_t f_dims[1]={3}; hsize_t d_dims[2]={2,4}; hid_t compound_type; hid_t array_type; compound_type=H5Tcreate(H5T_COMPOUND,sizeof(struct tmp_struct)); H5Tinsert(compound_type,"a",HOFFSET(struct tmp_struct,a),H5T_NATIVE_INT); array_type=H5Tarray_create(H5T_NATIVE_FLOAT,1,f_dims,NULL); H5Tinsert(compound_type,"f",HOFFSET(struct tmp_struct,f),array_type); H5Tclose(array_type); array_type=H5Tarray_create(H5T_NATIVE_DOUBLE,2,d_dims,NULL); H5Tinsert(compound_type,"d",HOFFSET(struct tmp_struct,d),array_type); H5Tclose(array_type); }
HDF5 documents and links Introduction to HDF5 |
HDF5 User's Guide HDF5 Reference Manual HDF5 Application Developer's Guide |