Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5PT_CREATE_FL

Creates a packet table to store fixed-length packets.

Procedure:

H5PT_CREATE_FL(loc_id, dset_name, dtype_id, chunk_size, compression)

Signature:

hid_t H5PTcreate_fl(hid_t loc_id, const char * dset_name, hid_t dtype_id, hsize_t chunk_size, int compression)

Parameters:

hid_t loc_id

    IN: Identifier of the file or group to create the table within.

const char * dset_name

    IN: The name of the dataset to create.

hid_t dtype_id

    IN: The datatype of a packet.

hsize_t chunk_size

    IN: Chunk size, in number of table entries per chunk.

    Packet table datasets use HDF5 chunked storage to allow them to grow. This value allows the user to set the size of a chunk. The chunk size affects performance.

int compression

    IN: Compression level, a value of 0 through 9. Level 0 is faster but offers the least compression; level 9 is slower but offers maximum compression. A setting of -1 indicates that no compression is desired.

Description:

    H5PTcreate_fl creates and opens a packet table named dset_name attached to the object specified by the identifier loc_id. It should be closed with H5PTclose.

    The datatype, dtype_id, may specify any datatype, including variable-length data. If dtype_id specifies a compound datatype, one or more fields in that compound type may be variable-length.

    Please note that H5PTcreate_fl has been deprecated. H5PTcreate should be used instead.

Returns:

Returns an identifier for the new packet table, or H5I_BADID on error.

Example:

Coming Soon!

--- Last Modified: December 04, 2017 | 07:23 AM