visad.data.hdf5
Class HDF5DatasetAdapted
- java.lang.Object
-
- visad.data.hdf5.hdf5objects.HDF5Object
-
- visad.data.hdf5.hdf5objects.HDF5Dataset
-
- visad.data.hdf5.HDF5DatasetAdapted
-
- All Implemented Interfaces:
- java.io.Serializable, HDF5DataAdaptable
public class HDF5DatasetAdapted extends HDF5Dataset implements HDF5DataAdaptable
HDF5DatasetAdapted is the implementation of mapping from HDFDataset to VisAD Data object. HDF5 Dataset with compound data type is mapped to VisAD FieldImpl and HDF5 Dataset with simple data type is mapped to FlatField. The current implementation does not include compound datatype.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description HDF5DatasetAdapted()Constructs a HDF5DatasetAdaptedHDF5DatasetAdapted(int loc_id, java.lang.String set_name)Opens a HDF5DatasetAdaptedHDF5DatasetAdapted(int loc_id, java.lang.String set_name, int type_id, int space_id, int create_plist_id)Creates a dataset at the specified location
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DataImplgetAdaptedData()DataImplgetAdaptedData(int[] indexes)MathTypegetMathType()voidinit()initialize the HDF5DatasetAdapte: Set the domain.-
Methods inherited from class visad.data.hdf5.hdf5objects.HDF5Dataset
convertUnsignedData, getCount, getData, getDataspace, getDatatype, getDims, getMaxdims, getRank, readData, readData, toString, writeData, writeData
-
Methods inherited from class visad.data.hdf5.hdf5objects.HDF5Object
getDescription, getID, getName, getShortName, getType, setID, setShortName, setType
-
-
-
-
Constructor Detail
-
HDF5DatasetAdapted
public HDF5DatasetAdapted()
Constructs a HDF5DatasetAdapted
-
HDF5DatasetAdapted
public HDF5DatasetAdapted(int loc_id, java.lang.String set_name, int type_id, int space_id, int create_plist_id)Creates a dataset at the specified location- Parameters:
loc_id- Identifier of the file or group to create the dataset within.set_name- The name of the dataset to create.type_id- Identifier of the datatype to use when creating the dataset.space_id- Identifier of the dataspace to use when creating the dataset.create_plist_id- Identifier of the set creation property list.
-
HDF5DatasetAdapted
public HDF5DatasetAdapted(int loc_id, java.lang.String set_name)Opens a HDF5DatasetAdapted- Parameters:
loc_id- A file, group, or datatype identifier.set_name- A datatset name.
-
-
Method Detail
-
init
public void init() throws ncsa.hdf.hdf5lib.exceptions.HDF5Exceptioninitialize the HDF5DatasetAdapte:- Set the domain.
- Set the range.
- Set function type.
- Overrides:
initin classHDF5Dataset- Throws:
ncsa.hdf.hdf5lib.exceptions.HDF5Exception
-
getMathType
public MathType getMathType() throws VisADException
- Specified by:
getMathTypein interfaceHDF5DataAdaptable- Throws:
VisADException
-
getAdaptedData
public DataImpl getAdaptedData() throws VisADException, java.rmi.RemoteException
- Specified by:
getAdaptedDatain interfaceHDF5DataAdaptable- Throws:
VisADExceptionjava.rmi.RemoteException
-
getAdaptedData
public DataImpl getAdaptedData(int[] indexes) throws VisADException, java.rmi.RemoteException
- Specified by:
getAdaptedDatain interfaceHDF5DataAdaptable- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
DMelt 3.0 © DataMelt by jWork.ORG