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:
- 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
Fields inherited from class visad.data.hdf5.hdf5objects.HDF5Object |
ATTRIBUTE, DATASET, DATASPACE, DATATYPE, description, GROUP, HDF5FILE, id, LINK, name, shortName, type, UNKNOWN |
Methods inherited from class visad.data.hdf5.hdf5objects.HDF5Dataset |
convertUnsignedData, finalize, getCount, getData, getDataspace, getDatatype, getDims, getMaxdims, getRank, readData, readData, toString, writeData, writeData |
HDF5DatasetAdapted
public HDF5DatasetAdapted()
- Constructs a HDF5DatasetAdapted
HDF5DatasetAdapted
public HDF5DatasetAdapted(int loc_id,
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,
String set_name)
- Opens a HDF5DatasetAdapted
- Parameters:
loc_id
- A file, group, or datatype identifier.set_name
- A datatset name.
init
public void init()
throws HDF5Exception
- initialize the HDF5DatasetAdapte:
- Set the domain.
- Set the range.
- Set function type.
- Overrides:
init
in class HDF5Dataset
- Throws:
HDF5Exception
getMathType
public MathType getMathType()
throws VisADException
- Specified by:
getMathType
in interface HDF5DataAdaptable
- Throws:
VisADException
getAdaptedData
public DataImpl getAdaptedData()
throws VisADException,
RemoteException
- Specified by:
getAdaptedData
in interface HDF5DataAdaptable
- Throws:
VisADException
RemoteException
getAdaptedData
public DataImpl getAdaptedData(int[] indexes)
throws VisADException,
RemoteException
- Specified by:
getAdaptedData
in interface HDF5DataAdaptable
- Throws:
VisADException
RemoteException