dataset.read( chunk_out, PredType::NATIVE_INT, mspace3, filespace );
* This example shows how to read data from a chunked dataset.
* We will read from the file created by extend.C
#ifdef OLD_HEADER_FILENAME
const string FILE_NAME( "SDSextendible.h5" );
const string DATASET_NAME( "ExtendibleArray" );
// Try block to detect exceptions raised by any of the calls inside it
* Open the file and the dataset.
H5File file( FILE_NAME, H5F_ACC_RDONLY );
DataSet dataset = file.openDataSet( DATASET_NAME );
* Get dataset rank and dimension.
DataSpace filespace = dataset.getSpace();
// Get number of dimensions in the file dataspace
int rank = filespace.getSimpleExtentNdims();
// Get and print the dimension sizes of the file dataspace