Uses of Class
visad.UnitException

Packages that use UnitException
visad The core VisAD package, providing support for VisAD's Data & MathType hierarchy, as well as for VisAD Displays and remote collaboration. 
visad.data.netcdf Provides for importing a netCDF dataset into VisAD and for exporting a VisAD data object to a netCDF dataset. 
visad.data.netcdf.units   
visad.data.units   
 

Uses of UnitException in visad
 

Subclasses of UnitException in visad
 class UnitExistsException
          Provides support for attempting to define a unit with a previously-used identifier.
 

Methods in visad that throw UnitException
static BaseUnit BaseUnit.addBaseUnit(String quantityName, String unitName)
          Create a new base unit from the name of a quantity and the name of a unit.
static BaseUnit BaseUnit.addBaseUnit(String quantityName, String unitName, String abbreviation)
          Create a new base unit from from the name of a quantity, the name of a unit, and the unit's abbreviation.
static BaseUnit BaseUnit.addBaseUnit(String quantityName, String unitName, String abbreviation, boolean isDimless)
          Create a new base unit from from the name of a quantity, the name of a unit, the unit's abbreviation, and whether or not the unit is dimensionless.
 Unit Unit.clone(String identifier)
           Clones this unit, changing the identifier.
static double[][] Unit.convertTuple(double[][] value, Unit[] units_in, Unit[] units_out)
           Converts a tuple of double value arrays; returning a new tuple.
static double[][] Unit.convertTuple(double[][] value, Unit[] units_in, Unit[] units_out, boolean copy)
           Converts a tuple of double value arrays, optionally returning a new tuple depending on the value of copy.
static float[][] Unit.convertTuple(float[][] value, Unit[] units_in, Unit[] units_out)
           Converts a tuple of float value arrays; returning a new tuple.
static float[][] Unit.convertTuple(float[][] value, Unit[] units_in, Unit[] units_out, boolean copy)
           Converts a tuple of float value arrays, optionally returning a new tuple depending on the value of copy.
static ScaledUnit ScaledUnit.create(double amount, Unit unit)
          Factory method for creating a scaled unit.
abstract  Unit Unit.divide(Unit that)
          Divide this unit by another unit.
 Unit ScaledUnit.divide(Unit that)
          Divides this unit by another unit.
 Unit PromiscuousUnit.divide(Unit that)
           
 Unit OffsetUnit.divide(Unit that)
          Divide an offset unit by another unit.
 Unit LogarithmicUnit.divide(Unit that)
          Divide this unit by another unit.
 Unit DerivedUnit.divide(Unit that)
          Divide a derived unit by another unit.
 Unit BaseUnit.divide(Unit that)
          Divide this unit by another unit.
protected abstract  Unit Unit.divideInto(Unit that)
          Divide this unit into another unit.
protected  Unit ScaledUnit.divideInto(Unit that)
          Divides this unit into another unit.
protected  Unit PromiscuousUnit.divideInto(Unit that)
           
protected  Unit OffsetUnit.divideInto(Unit that)
          Divide an offset unit into another unit.
protected  Unit LogarithmicUnit.divideInto(Unit that)
          Divide this unit into another unit.
protected  Unit DerivedUnit.divideInto(Unit that)
          Divide a derived unit into another unit.
protected  Unit BaseUnit.divideInto(Unit that)
          Divide this unit into another unit.
abstract  Unit Unit.log(double base)
          Returns the logarithmic unit that has this unit as its reference level.
 Unit OffsetUnit.log(double base)
           
 Unit LogarithmicUnit.log(double base)
           
static void Unit.main(String[] args)
          Test this class.
static void ScaledUnit.main(String[] args)
          Test this class.
static void OffsetUnit.main(String[] args)
          Test this class.
static void LogarithmicUnit.main(String[] args)
          Test this class.
static void DerivedUnit.main(String[] args)
          Test this class.
static void CommonUnit.main(String[] args)
          Test this class.
static void BaseUnit.main(String[] args)
          Test this class.
protected static void FlatField.makeRational(double[][] values, Unit[] units, ErrorEstimate[] errors)
          Ensure that numeric values and units are in rational form, i.e. one in which ratios of data values make sense (e.g.
protected static void FlatField.makeRational(float[][] values, Unit[] units, ErrorEstimate[] errors)
           
abstract  Unit Unit.multiply(Unit that)
          Multiply this unit by another unit.
 Unit ScaledUnit.multiply(Unit that)
          Multiplies this unit by another unit.
 Unit OffsetUnit.multiply(Unit that)
          Multiply an offset unit by another unit.
 Unit LogarithmicUnit.multiply(Unit that)
          Multiply this unit by another unit.
 Unit DerivedUnit.multiply(Unit that)
          Multiply a derived unit by another unit.
 Unit BaseUnit.multiply(Unit that)
          Multiply this unit by another unit.
abstract  Unit Unit.pow(double power)
          Raise a unit to a power.
 Unit ScaledUnit.pow(double power)
          Raises this unit to a power.
 Unit OffsetUnit.pow(double power)
          Raises an offset unit to a power.
abstract  Unit Unit.pow(int power)
          Raise this unit to a power.
 Unit ScaledUnit.pow(int power)
          Raises this unit to a power.
 Unit OffsetUnit.pow(int power)
          Raises an offset unit to a power.
protected abstract  Unit Unit.protectedClone(String identifier)
          Clones this unit, changing the identifier.
protected  Unit PromiscuousUnit.protectedClone(String identifier)
          Clones this unit, changing the identifier.
protected  Unit BaseUnit.protectedClone(String identifier)
          Clones this unit, changing the identifier.
abstract  Unit Unit.root(int root)
          Returns the N-th root of this unit.
 Unit ScaledUnit.root(int root)
          Returns the N-th root of this unit.
 Unit OffsetUnit.root(int root)
          Returns the N-th root of this unit.
abstract  Unit Unit.scale(double amount)
          Scale this unit by an amount.
 Unit ScaledUnit.scale(double amount)
           
 Unit PromiscuousUnit.scale(double amount)
           
 Unit OffsetUnit.scale(double amount)
           
 Unit LogarithmicUnit.scale(double scale)
           
 Unit DerivedUnit.scale(double amount)
          Scale this unit by an amount.
 Unit BaseUnit.scale(double amount)
           
abstract  Unit Unit.shift(double offset)
          Shift this unit by an amount.
 Unit ScaledUnit.shift(double offset)
           
 Unit PromiscuousUnit.shift(double offset)
           
 Unit OffsetUnit.shift(double offset)
           
 Unit LogarithmicUnit.shift(double offset)
           
 Unit DerivedUnit.shift(double offset)
          Shift this unit by an amount.
 Unit BaseUnit.shift(double offset)
           
 Unit Unit.sqrt()
          Returns the square-root of this unit.
abstract  double[] Unit.toThat(double[] values, Unit that)
          Convert values from this unit to another unit.
 double[] ScaledUnit.toThat(double[] values, Unit that)
          Convert values from this unit to another unit.
 double[] OffsetUnit.toThat(double[] values, Unit that)
          Convert values from this unit to another unit.
 double[] LogarithmicUnit.toThat(double[] values, Unit that)
          Convert values from this unit to another unit.
 double[] DerivedUnit.toThat(double[] values, Unit that)
          Convert values from this unit to another unit.
 double[] BaseUnit.toThat(double[] values, Unit that)
          Convert values from this unit to another unit.
 double[] Unit.toThat(double[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 double[] ScaledUnit.toThat(double[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 double[] OffsetUnit.toThat(double[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 double[] LogarithmicUnit.toThat(double[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 double[] DerivedUnit.toThat(double[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 double[] BaseUnit.toThat(double[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 double Unit.toThat(double value, Unit that)
          Convert a value from this unit to another unit.
abstract  float[] Unit.toThat(float[] values, Unit that)
          Convert values from this unit to another unit.
 float[] ScaledUnit.toThat(float[] values, Unit that)
          Convert values from this unit to another unit.
 float[] OffsetUnit.toThat(float[] values, Unit that)
          Convert values from this unit to another unit.
 float[] LogarithmicUnit.toThat(float[] values, Unit that)
          Convert values from this unit to another unit.
 float[] DerivedUnit.toThat(float[] values, Unit that)
          Convert values from this unit to another unit.
 float[] BaseUnit.toThat(float[] values, Unit that)
          Convert values from this unit to another unit.
 float[] Unit.toThat(float[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 float[] ScaledUnit.toThat(float[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 float[] OffsetUnit.toThat(float[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 float[] LogarithmicUnit.toThat(float[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 float[] DerivedUnit.toThat(float[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
 float[] BaseUnit.toThat(float[] values, Unit that, boolean copy)
          Convert values from this unit to another unit.
abstract  double[] Unit.toThis(double[] values, Unit that)
          Convert values to this unit from another unit.
 double[] ScaledUnit.toThis(double[] values, Unit that)
          Convert values to this unit from another unit.
 double[] OffsetUnit.toThis(double[] values, Unit that)
          Convert values to this unit from another unit.
 double[] LogarithmicUnit.toThis(double[] values, Unit that)
          Convert values to this unit from another unit.
 double[] DerivedUnit.toThis(double[] values, Unit that)
          Convert values to this unit from another unit.
 double[] BaseUnit.toThis(double[] values, Unit that)
          Convert values to this unit from another unit.
 double[] Unit.toThis(double[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 double[] ScaledUnit.toThis(double[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 double[] OffsetUnit.toThis(double[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 double[] LogarithmicUnit.toThis(double[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 double[] DerivedUnit.toThis(double[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 double[] BaseUnit.toThis(double[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 double Unit.toThis(double value, Unit that)
          Convert a value to this unit from another unit.
abstract  float[] Unit.toThis(float[] values, Unit that)
          Convert values to this unit from another unit.
 float[] ScaledUnit.toThis(float[] values, Unit that)
          Convert values to this unit from another unit.
 float[] OffsetUnit.toThis(float[] values, Unit that)
          Convert values to this unit from another unit.
 float[] LogarithmicUnit.toThis(float[] values, Unit that)
          Convert values to this unit from another unit.
 float[] DerivedUnit.toThis(float[] values, Unit that)
          Convert values to this unit from another unit.
 float[] BaseUnit.toThis(float[] values, Unit that)
          Convert values to this unit from another unit.
 float[] Unit.toThis(float[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 float[] ScaledUnit.toThis(float[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 float[] OffsetUnit.toThis(float[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 float[] LogarithmicUnit.toThis(float[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 float[] DerivedUnit.toThis(float[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
 float[] BaseUnit.toThis(float[] values, Unit that, boolean copy)
          Convert values to this unit from another unit.
static double[] Unit.transformUnits(Unit unit_out, ErrorEstimate[] errors_out, Unit unit_in, ErrorEstimate error_in, double[] value)
          Transform double values and (optionally) error estimates.
static double[] Unit.transformUnits(Unit unit_out, ErrorEstimate[] errors_out, Unit unit_in, ErrorEstimate error_in, double[] value, boolean copy)
          Transform double values and (optionally) error estimates.
static float[] Unit.transformUnits(Unit unit_out, ErrorEstimate[] errors_out, Unit unit_in, ErrorEstimate error_in, float[] value)
          Transform float values and (optionally) error estimates.
static float[] Unit.transformUnits(Unit unit_out, ErrorEstimate[] errors_out, Unit unit_in, ErrorEstimate error_in, float[] value, boolean copy)
          Transform float values and (optionally) error estimates.
 

Constructors in visad that throw UnitException
QuantityDimension(Unit unit)
          Constructs from an existing Unit.
 

Uses of UnitException in visad.data.netcdf
 

Methods in visad.data.netcdf that throw UnitException
 Quantity QuantityDB.get(String name, String unitSpec)
          Returns the quantity that matches the given name and unit.
 

Uses of UnitException in visad.data.netcdf.units
 

Methods in visad.data.netcdf.units that throw UnitException
static UnitsDB DefaultUnitsDB.instance()
          Deprecated. Use visad.data.units.DefaultUnitsDB.instance() instead
 

Uses of UnitException in visad.data.units
 

Methods in visad.data.units that throw UnitException
 Unit UnitParser.basicExpr()
           
static UnitsDB DefaultUnitsDB.instance()
          Gets an instance of this class.
 Unit UnitParser.logExpr()
           
static void Parser.main(String[] args)
          Test this class.
 Unit UnitParser.parse(String spec)
          Parses a string unit specification.
protected  void DefaultUnitsDB.pn(String name, Unit unit)
          Adds a name, the plural form of the name, and a new unit to the database.
 Unit UnitParser.powerExpr()
           
 Unit UnitParser.productExpr()
           
protected  void DefaultUnitsDB.ps(String symbol, Unit unit)
          Adds a symbol and a new unit to the database.
protected  void DefaultUnitsDB.px(String name, Unit unit)
          Adds a name that has no plural form and a new unit to the database.
 Unit UnitParser.shiftExpr()
           
 Unit UnitParser.unitSpec()