libpressio 0.93.0
|
IO functions for simple HDF5 files. More...
Go to the source code of this file.
Functions | |
struct pressio_data * | pressio_io_data_path_h5read (const char *file_name, const char *dataset_name) |
int | pressio_io_data_path_h5write (struct pressio_data const *data, const char *file_name, const char *dataset_name) |
IO functions for simple HDF5 files.
struct pressio_data * pressio_io_data_path_h5read | ( | const char * | file_name, |
const char * | dataset_name | ||
) |
reads files that use simple datatypes and dataspaces into a pressio_data
The following are not supported:
[in] | file_name | name of the file to read |
[in] | dataset_name | name of the dataset to read from the file |
int pressio_io_data_path_h5write | ( | struct pressio_data const * | data, |
const char * | file_name, | ||
const char * | dataset_name | ||
) |
writes files that use simple datatypes and dataspaces from a pressio_data
if the file already exists, it will be opened. if the file does not exist, it will be created. if the dataset already exists, it will be overwritten. if the dataset does not exist, it will be created.
[in] | data | the data to be written |
[in] | file_name | name of the file to written |
[in] | dataset_name | name of the dataset to written to the file |