HDF5 Dataset Create Property List Interface
The functions, macros, and subroutines listed here are used to manipulate dataset creation property list objects in various ways, including to reset property values. With the use of property lists, HDF5 functions have been implemented and can be used in applications with many fewer parameters than would be required without property lists.
H5Pset_layout ( h5plist, layout = h5default("H5D") ) H5Pget_layout ( h5plist ) H5Pset_chunk ( h5plist, dim ) H5Pget_chunk ( h5plist ) H5Pset_deflate ( h5plist, level ) H5Pset_fill_value ( h5plist, value ) H5Pfill_value_defined ( h5plist ) H5Pset_fill_time ( h5plist, fill_time = h5default("H5D_FILL_TIME") ) H5Pget_fill_time ( h5plist ) H5Pset_alloc_time ( h5plist, alloc_time = h5default("H5D_ALLOC_TIME") ) H5Pget_alloc_time ( h5plist ) H5Pall_filters_avail ( h5plist ) H5Pset_shuffle ( h5plist ) H5Pset_szip ( h5plist, options_mask, pixels_per_block ) H5Pset_blosc ( h5plist, h5tid, method = 1L, level = 6L, shuffle = TRUE ) H5Pset_bzip2 ( h5plist, level = 2L )
h5plist |
An object of class |
layout |
A character name of a dataset layout type. See |
dim |
The chunk size used to store the dataset. It is an integer vector of the same length as the dataset |
level |
The compression level used. An integer value between 0 (no compression) and 9 (highest and slowest compression). |
value |
Standard value for filling the dataset. The storage.mode of value has to be convertable to the dataset type by HDF5. |
fill_time |
A character name of a H5D_FILL_TIME type. See |
alloc_time |
A character name of a H5D_ALLOC_TIME type. See |
h5tid |
HDF5 type ID. |
method |
When using the BLOSC filter, defines which compression tool should be used. |
shuffle |
Logical value determining whether byte shuffling should be applied before compression is applied. This only applies to the BLOSC filter. |
options_mask |
See https://portal.hdfgroup.org/display/HDF5/H5P_SET_SZIP for more details. |
pixels_per_block |
See https://portal.hdfgroup.org/display/HDF5/H5P_SET_SZIP for more details. |
Interface to the HDF5 C-library libhdf5. See https://portal.hdfgroup.org/display/HDF5/Dataset+Creation+Properties for further details. See H5P for documentation of more functions to manupulate property lists of other property list classes.
The functions return the standard return value from their respective C-functions.
Bernd Fischer, Mike L. Smith
pid <- H5Pcreate("H5P_DATASET_CREATE") H5Pset_fill_time( pid, "H5D_FILL_TIME_ALLOC" ) H5Pset_chunk(pid, c(1000,1,1)) H5Pset_deflate(pid, 6) H5Pget_layout( pid ) H5Pfill_value_defined( pid ) H5Pget_fill_time( pid ) H5Pget_alloc_time( pid ) H5Pget_chunk( pid) H5Pclose(pid)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.