H5P_SET_LAYOUT sets the type of storage used to store the raw data for a dataset. This function is only valid for dataset creation property lists.
Valid values for
H5D_COMPACT: Store raw data in the dataset object header in file. This should only be used for datasets with small amounts of raw data. The raw data size limit is
65520 bytes). Attempting to create a dataset with raw data larger than this limit will cause the H5D_CREATE call to fail.
H5D_CONTIGUOUS: Store raw data separately from the object header in one large chunk in the file.
H5D_CHUNKED: Store raw data separately from the object header as chunks of data in separate locations in the file.
H5D_VIRTUAL: Draw raw data from multiple datasets in different files.
Note that a compact storage layout may affect writing data to the dataset with parallel applications. See note in H5D_WRITE documentation for details.