| Package | Description |
|---|---|
| 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 |
| Modifier and Type | Class and Description |
|---|---|
class |
UnitExistsException
Provides support for attempting to define a unit with a previously-used
identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static BaseUnit |
BaseUnit.addBaseUnit(java.lang.String quantityName,
java.lang.String unitName)
Create a new base unit from the name of a quantity and the name of a
unit.
|
static BaseUnit |
BaseUnit.addBaseUnit(java.lang.String quantityName,
java.lang.String unitName,
java.lang.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(java.lang.String quantityName,
java.lang.String unitName,
java.lang.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(java.lang.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.
|
Unit |
ScaledUnit.divide(Unit that)
Divides this unit by another unit.
|
Unit |
BaseUnit.divide(Unit that)
Divide this unit by another unit.
|
Unit |
DerivedUnit.divide(Unit that)
Divide a derived unit by another unit.
|
Unit |
LogarithmicUnit.divide(Unit that)
Divide this unit by another unit.
|
abstract Unit |
Unit.divide(Unit that)
Divide this unit by another unit.
|
Unit |
PromiscuousUnit.divide(Unit that) |
Unit |
OffsetUnit.divide(Unit that)
Divide an offset unit by another unit.
|
protected Unit |
ScaledUnit.divideInto(Unit that)
Divides this unit into another unit.
|
protected Unit |
BaseUnit.divideInto(Unit that)
Divide this unit into another unit.
|
protected Unit |
DerivedUnit.divideInto(Unit that)
Divide a derived unit into another unit.
|
protected Unit |
LogarithmicUnit.divideInto(Unit that)
Divide this unit into another unit.
|
protected abstract Unit |
Unit.divideInto(Unit that)
Divide this unit into another unit.
|
protected Unit |
PromiscuousUnit.divideInto(Unit that) |
protected Unit |
OffsetUnit.divideInto(Unit that)
Divide an offset unit into another unit.
|
Unit |
LogarithmicUnit.log(double base) |
abstract Unit |
Unit.log(double base)
Returns the logarithmic unit that has this unit as its reference level.
|
Unit |
OffsetUnit.log(double base) |
static void |
ScaledUnit.main(java.lang.String[] args)
Test this class.
|
static void |
BaseUnit.main(java.lang.String[] args)
Test this class.
|
static void |
DerivedUnit.main(java.lang.String[] args)
Test this class.
|
static void |
LogarithmicUnit.main(java.lang.String[] args)
Test this class.
|
static void |
Unit.main(java.lang.String[] args)
Test this class.
|
static void |
CommonUnit.main(java.lang.String[] args)
Test this class.
|
static void |
OffsetUnit.main(java.lang.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) |
Unit |
ScaledUnit.multiply(Unit that)
Multiplies this unit by another unit.
|
Unit |
BaseUnit.multiply(Unit that)
Multiply this unit by another unit.
|
Unit |
DerivedUnit.multiply(Unit that)
Multiply a derived unit by another unit.
|
Unit |
LogarithmicUnit.multiply(Unit that)
Multiply this unit by another unit.
|
abstract Unit |
Unit.multiply(Unit that)
Multiply this unit by another unit.
|
Unit |
OffsetUnit.multiply(Unit that)
Multiply an offset unit by another unit.
|
Unit |
ScaledUnit.pow(double power)
Raises this unit to a power.
|
abstract Unit |
Unit.pow(double power)
Raise a unit to a power.
|
Unit |
OffsetUnit.pow(double power)
Raises an offset unit to a power.
|
Unit |
ScaledUnit.pow(int power)
Raises this unit to a power.
|
abstract Unit |
Unit.pow(int power)
Raise this unit to a power.
|
Unit |
OffsetUnit.pow(int power)
Raises an offset unit to a power.
|
protected Unit |
BaseUnit.protectedClone(java.lang.String identifier)
Clones this unit, changing the identifier.
|
protected abstract Unit |
Unit.protectedClone(java.lang.String identifier)
Clones this unit, changing the identifier.
|
protected Unit |
PromiscuousUnit.protectedClone(java.lang.String identifier)
Clones this unit, changing the identifier.
|
Unit |
ScaledUnit.root(int root)
Returns the N-th root of this unit.
|
abstract Unit |
Unit.root(int root)
Returns the N-th root of this unit.
|
Unit |
OffsetUnit.root(int root)
Returns the N-th root of this unit.
|
Unit |
ScaledUnit.scale(double amount) |
Unit |
BaseUnit.scale(double amount) |
Unit |
DerivedUnit.scale(double amount)
Scale this unit by an amount.
|
Unit |
LogarithmicUnit.scale(double scale) |
abstract Unit |
Unit.scale(double amount)
Scale this unit by an amount.
|
Unit |
PromiscuousUnit.scale(double amount) |
Unit |
OffsetUnit.scale(double amount) |
Unit |
ScaledUnit.shift(double offset) |
Unit |
BaseUnit.shift(double offset) |
Unit |
DerivedUnit.shift(double offset)
Shift this unit by an amount.
|
Unit |
LogarithmicUnit.shift(double offset) |
abstract Unit |
Unit.shift(double offset)
Shift this unit by an amount.
|
Unit |
PromiscuousUnit.shift(double offset) |
Unit |
OffsetUnit.shift(double offset) |
Unit |
Unit.sqrt()
Returns the square-root of this unit.
|
double[] |
ScaledUnit.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[] |
DerivedUnit.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.
|
abstract double[] |
Unit.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[] |
ScaledUnit.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[] |
DerivedUnit.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[] |
Unit.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 |
Unit.toThat(double value,
Unit that)
Convert a value from this unit to another unit.
|
float[] |
ScaledUnit.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[] |
DerivedUnit.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.
|
abstract float[] |
Unit.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[] |
ScaledUnit.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.
|
float[] |
DerivedUnit.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[] |
Unit.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.
|
double[] |
ScaledUnit.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[] |
DerivedUnit.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.
|
abstract double[] |
Unit.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[] |
ScaledUnit.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[] |
DerivedUnit.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[] |
Unit.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 |
Unit.toThis(double value,
Unit that)
Convert a value to this unit from another unit.
|
float[] |
ScaledUnit.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[] |
DerivedUnit.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.
|
abstract float[] |
Unit.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[] |
ScaledUnit.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.
|
float[] |
DerivedUnit.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[] |
Unit.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.
|
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.
|
| Constructor and Description |
|---|
QuantityDimension(Unit unit)
Constructs from an existing Unit.
|
| Modifier and Type | Method and Description |
|---|---|
Quantity |
QuantityDB.get(java.lang.String name,
java.lang.String unitSpec)
Returns the quantity that matches the given name and unit.
|
| Modifier and Type | Method and Description |
|---|---|
static UnitsDB |
DefaultUnitsDB.instance()
Deprecated.
Use visad.data.units.DefaultUnitsDB.instance() instead
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
UnitParser.basicExpr() |
static UnitsDB |
DefaultUnitsDB.instance()
Gets an instance of this class.
|
Unit |
UnitParser.logExpr() |
static void |
Parser.main(java.lang.String[] args)
Test this class.
|
Unit |
UnitParser.parse(java.lang.String spec)
Parses a string unit specification.
|
protected void |
DefaultUnitsDB.pn(java.lang.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(java.lang.String symbol,
Unit unit)
Adds a symbol and a new unit to the database.
|
protected void |
DefaultUnitsDB.px(java.lang.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() |