Object
hdf.object.h5.H5Utils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final long
getTotalSelectedSpacePoints
(long did, long[] dsetDims, long[] startDims, long[] selectedStride, long[] selectedDims, long[] spaceIDs) Get the total number of datapoints for the hyperslab selection within a dataset.static final long
selectHyperslab
(long did, long[] dsetDims, long[] startDims, long[] selectedStride, long[] selectedDims, long[] spaceIDs) Set up a hyperslab selection within a dataset.
-
Constructor Details
-
H5Utils
public H5Utils()
-
-
Method Details
-
selectHyperslab
public static final long selectHyperslab(long did, long[] dsetDims, long[] startDims, long[] selectedStride, long[] selectedDims, long[] spaceIDs) throws hdf.hdf5lib.exceptions.HDF5Exception Set up a hyperslab selection within a dataset.- Parameters:
did
- IN dataset IDdsetDims
- IN dimensionsstartDims
- IN start dimensionsselectedStride
- IN selected stride valuesselectedDims
- IN selected dimensionsspaceIDs
- IN/OUT memory and file space IDs -- spaceIDs[0]=mspace, spaceIDs[1]=fspace- Returns:
- total number of data points selected
- Throws:
hdf.hdf5lib.exceptions.HDF5Exception
- If there is an error at the HDF5 library level.
-
getTotalSelectedSpacePoints
public static final long getTotalSelectedSpacePoints(long did, long[] dsetDims, long[] startDims, long[] selectedStride, long[] selectedDims, long[] spaceIDs) throws hdf.hdf5lib.exceptions.HDF5Exception Get the total number of datapoints for the hyperslab selection within a dataset.- Parameters:
did
- IN dataset IDdsetDims
- IN dimensionsstartDims
- IN start dimensionsselectedStride
- IN selected stride valuesselectedDims
- IN selected dimensionsspaceIDs
- IN/OUT memory and file space IDs -- spaceIDs[0]=mspace, spaceIDs[1]=fspace- Returns:
- total number of data points selected
- Throws:
hdf.hdf5lib.exceptions.HDF5Exception
- If there is an error at the HDF5 library level.
-