Documentation of 'visad.data.netcdf.in.VirtualReal' Java class
VirtualReal
visad.data.netcdf.in

Class VirtualReal



  • public class VirtualReal
    extends VirtualScalar
    Provides support for a virtual VisAD Real.
    • Constructor Detail

      • VirtualReal

        public VirtualReal(RealType type,
                           ucar.netcdf.Variable var,
                           SimpleSet rangeSet,
                           Unit unit,
                           visad.data.netcdf.in.Vetter vetter)
        Constructs from a scalar type, a 1-D netCDF variable, a range set, a unit, and a value vetter.
        Parameters:
        type - The type of the nested scalar.
        var - The 1-D netCDF variable.
        rangeSet - The range set of the values.
        unit - The unit of the values.
        vetter - The value vetter.
    • Method Detail

      • getRangeSet

        public SimpleSet getRangeSet()
        Gets the range set of this scalar.
        Overrides:
        getRangeSet in class VirtualScalar
        Returns:
        The range set of this scalar.
      • getUnit

        public Unit getUnit()
        Gets the unit of the value.
        Overrides:
        getUnit in class VirtualScalar
        Returns:
        The unit of the value.
      • getVetter

        public visad.data.netcdf.in.Vetter getVetter()
        Gets the value vetter.
        Overrides:
        getVetter in class VirtualScalar
        Returns:
        The value vetter.
      • getDoubles

        public double[] getDoubles(Context context)
                            throws java.io.IOException,
                                   VisADException
        Gets the double values corresponding to this virtual, data object at a given context.
        Overrides:
        getDoubles in class VirtualScalar
        Returns:
        The double values of this virtual, data object. throws VisADException Couldn't create necessary VisAD object. throws IOException I/O failure.
        Throws:
        java.io.IOException - I/O failure.
        VisADException - Couldn't create necessary VisAD object.
      • isReal

        public boolean isReal()
        Determines if this is a VirtualReal or not.
        Overrides:
        isReal in class VirtualScalar
        Returns:
        true if this is a VirtualReal
      • clone

        public java.lang.Object clone()
        Clones this instance.
        Specified by:
        clone in class VirtualData
        Returns:
        A (deep) clone of this instance.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.