Object
hdf.object.h5.H5Utils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longgetTotalSelectedSpacePoints(long did, long[] dsetDims, long[] startDims, long[] selectedStride, long[] selectedDims, long[] spaceIDs)static longselectHyperslab(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.HDF5ExceptionSet 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- Throws:
hdf.hdf5lib.exceptions.HDF5Exception
-