Documentation of 'visad.data.hdf5.hdf5objects.HDF5Attribute' Java class
HDF5Attribute
visad.data.hdf5.hdf5objects

Class HDF5Attribute

  • All Implemented Interfaces:
    java.io.Serializable


    public class HDF5Attribute
    extends HDF5Dataset

    An HDF5 attribute is a small datasets attached to primary datasets as metadata information. Because attributes are intended to be small objects, large datasets intended as additional information for a primary dataset should be stored as supplemental datasets in a group with the primary dataset.

    Attributes are not seperate objects in the file, they are always contained in the object header of the object they are attached to.

    For details of the HDF5 libraries, see the HDF5 Documentation at: http://hdf.ncsa.uiuc.edu/HDF5/doc/

    See Also:
    Serialized Form
    • Constructor Detail

      • HDF5Attribute

        public HDF5Attribute()
        cosntruct an HDF5Attribute
      • HDF5Attribute

        public HDF5Attribute(int loc_id,
                             java.lang.String attr_name,
                             int type_id,
                             int space_id,
                             int create_plist)
        Creates a new HDF5Attribute
        Parameters:
        loc_id - The identifier of the object the attribute is attached to.
        attr_name - Name of attribute to create.
        type_id - The identifier of datatype for attribute.
        space_id - The identifier of dataspace for attribute.
        create_plist - The identifier of creation property list.
      • HDF5Attribute

        public HDF5Attribute(int loc_id,
                             java.lang.String attr_name)
        Opens an HDF5Attribute specified by its name
        Parameters:
        loc_id - The identifier of the object the attribute is attached to.
        attr_name - Name of attribute to create.
      • HDF5Attribute

        public HDF5Attribute(int loc_id,
                             int idx)
        Opens an HDF5Attribute specified by its index.
        Parameters:
        loc_id - The identifier of the object the attribute is attached to.
        idx - The index of the attribute to open.
    • Method Detail

      • init

        public void init()
                  throws ncsa.hdf.hdf5lib.exceptions.HDF5Exception
        initialize the HDF5Attribute:
        1. Set up datatype and dataspace.
        2. Set up data ranks and dimensions.
        Overrides:
        init in class HDF5Dataset
        Throws:
        ncsa.hdf.hdf5lib.exceptions.HDF5Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.