|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.GeopotentialAltitude
public final class GeopotentialAltitude
Provides support for the quantity of geopotential altitude.
| Nested Class Summary | |
|---|---|
static class |
GeopotentialAltitude.GeopotentialCoordinateSystem
Provides support for coordinate system transformations between geopotential altitude and altitude. |
| Method Summary | |
|---|---|
static Data |
fromAltitude(Data altitude)
Converts altitude to geopotential altitude. |
static Data |
fromAltitude(Data altitude,
Real gravity)
Converts altitude to geopotential altitude based on a value for gravity. |
static Unit |
getGeopotentialMeter()
Gets the geopotential meter unit. |
static Unit |
getGeopotentialUnit(Unit altUnit)
Returns the standard geopotential altitude unit corresponding to an altitude unit. |
static Unit |
getGeopotentialUnit(Unit altUnit,
Real gravity)
Returns the geopotential altitude unit corresponding to an altitude unit and gravity. |
static RealTupleType |
getRealTupleType()
Obtains the RealTupleType associated with this class. |
static RealType |
getRealType()
Obtains the RealType associated with this class. |
static Data |
toAltitude(Data geopotentialAltitude)
Converts from geopotential altitude to altitude. |
static Data |
toAltitude(Data geopotentialAltitude,
Real gravity)
Converts from geopotential altitude to altitude. |
static double[] |
toAltitude(double[] geoAlts,
Unit geoUnit,
Real gravity,
double[] altitudes,
Unit altUnit)
Converts from geopotential altitude to altitude. |
static double[] |
toAltitude(double[] geoAlts,
Unit geoUnit,
Real gravity,
double[] altitudes,
Unit altUnit,
boolean copy)
Converts from geopotential altitude to altitude. |
static float[] |
toAltitude(float[] geoAlts,
Unit geoUnit,
Real gravity,
float[] altitudes,
Unit altUnit)
Converts from geopotential altitude to altitude. |
static float[] |
toAltitude(float[] geoAlts,
Unit geoUnit,
Real gravity,
float[] altitudes,
Unit altUnit,
boolean copy)
Converts from geopotential altitude to altitude. |
static double[] |
toGeopotentialAltitude(double[] altitudes,
Unit altUnit,
Real gravity,
double[] geoAlts,
Unit geoUnit)
Converts from altitude to geopotential altitude. |
static double[] |
toGeopotentialAltitude(double[] altitudes,
Unit altUnit,
Real gravity,
double[] geoAlts,
Unit geoUnit,
boolean copy)
Converts from altitude to geopotential altitude. |
static float[] |
toGeopotentialAltitude(float[] altitudes,
Unit altUnit,
Real gravity,
float[] geoAlts,
Unit geoUnit)
Converts from altitude to geopotential altitude. |
static float[] |
toGeopotentialAltitude(float[] altitudes,
Unit altUnit,
Real gravity,
float[] geoAlts,
Unit geoUnit,
boolean copy)
Converts from altitude to geopotential altitude. |
| Methods inherited from class ucar.visad.quantities.ScalarQuantity |
|---|
getRealType, getRealType, realType |
| Methods inherited from class ucar.visad.quantities.Quantity |
|---|
realTupleType, setRealTupleType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Unit getGeopotentialMeter()
throws VisADException
VisADException - Couldn't create necessary VisAD object.
public static RealType getRealType()
throws VisADException
VisADException - Couldn't perform necessary VisAD operation.
public static RealTupleType getRealTupleType()
throws VisADException
VisADException - Couldn't perform necessary VisAD operation.
public static Data fromAltitude(Data altitude)
throws VisADException,
RemoteException
altitude - The altitude data object.
VisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
public static Data fromAltitude(Data altitude,
Real gravity)
throws VisADException,
RemoteException
altitude - The altitude data object.gravity - The value for gravity.
VisADException - if a core VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
public static Data toAltitude(Data geopotentialAltitude,
Real gravity)
throws VisADException,
RemoteException
geopotentialAltitude - Geopotential altitude.gravity - Gravity.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.VisADMath
public static Data toAltitude(Data geopotentialAltitude)
throws VisADException,
RemoteException
geopotentialAltitude - Geopotential altitude.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.VisADMath
public static double[] toAltitude(double[] geoAlts,
Unit geoUnit,
Real gravity,
double[] altitudes,
Unit altUnit)
throws VisADException,
RemoteException
geoAlts - Geopotential altitudes in units of
geoUnit.geoUnit - The unit of geopotential altitude.gravity - Gravity.altitudes - Altitudes in units of altUnit.
Its length shall be at least
geoAlts.length. It may be the same
array as geoAlts.altUnit - The unit of altitude.
altitudes (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static double[] toAltitude(double[] geoAlts,
Unit geoUnit,
Real gravity,
double[] altitudes,
Unit altUnit,
boolean copy)
throws VisADException,
RemoteException
geoAlts - Geopotential altitudes in units of
geoUnit.geoUnit - The unit of geopotential altitude.gravity - Gravity.altitudes - Altitudes in units of altUnit.
Its length shall be at least
geoAlts.length. It may be the same
array as geoAlts.altUnit - The unit of altitude.copy - if true, a new copy of the array will be made
altitudes (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static float[] toAltitude(float[] geoAlts,
Unit geoUnit,
Real gravity,
float[] altitudes,
Unit altUnit)
throws VisADException,
RemoteException
geoAlts - Geopotential altitudes in units of
geoUnit.geoUnit - The unit of geopotential altitude.gravity - Gravity.altitudes - Altitudes in units of altUnit.
Its length shall be at least
geoAlts.length. It may be the same
array as geoAlts.altUnit - The unit of altitude.
altitudes (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static float[] toAltitude(float[] geoAlts,
Unit geoUnit,
Real gravity,
float[] altitudes,
Unit altUnit,
boolean copy)
throws VisADException,
RemoteException
geoAlts - Geopotential altitudes in units of
geoUnit.geoUnit - The unit of geopotential altitude.gravity - Gravity.altitudes - Altitudes in units of altUnit.
Its length shall be at least
geoAlts.length. It may be the same
array as geoAlts.altUnit - The unit of altitude.copy - if true, a new copy of the array will be made
altitudes (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static double[] toGeopotentialAltitude(double[] altitudes,
Unit altUnit,
Real gravity,
double[] geoAlts,
Unit geoUnit)
throws VisADException,
RemoteException
altitudes - Altitudes in units of altUnit.altUnit - The unit of altitude.gravity - Gravity.geoAlts - Geopotential altitudes in units of
geoUnit.
Its length shall be at least
altitudes.length. It may be the
same array as altitudes.geoUnit - The unit of geopotential altitude.
geoAlts (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static double[] toGeopotentialAltitude(double[] altitudes,
Unit altUnit,
Real gravity,
double[] geoAlts,
Unit geoUnit,
boolean copy)
throws VisADException,
RemoteException
altitudes - Altitudes in units of altUnit.altUnit - The unit of altitude.gravity - Gravity.geoAlts - Geopotential altitudes in units of
geoUnit.
Its length shall be at least
altitudes.length. It may be the
same array as altitudes.geoUnit - The unit of geopotential altitude.copy - if true, a new copy of the array will be made
geoAlts (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static float[] toGeopotentialAltitude(float[] altitudes,
Unit altUnit,
Real gravity,
float[] geoAlts,
Unit geoUnit)
throws VisADException,
RemoteException
altitudes - Altitudes in units of altUnit.altUnit - The unit of altitude.gravity - Gravity.geoAlts - Geopotential altitudes in units of
geoUnit.
Its length shall be at least
altitudes.length. It may be the
same array as altitudes.geoUnit - The unit of geopotential altitude.
geoAlts (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static float[] toGeopotentialAltitude(float[] altitudes,
Unit altUnit,
Real gravity,
float[] geoAlts,
Unit geoUnit,
boolean copy)
throws VisADException,
RemoteException
altitudes - Altitudes in units of altUnit.altUnit - The unit of altitude.gravity - Gravity.geoAlts - Geopotential altitudes in units of
geoUnit.
Its length shall be at least
altitudes.length. It may be the
same array as altitudes.geoUnit - The unit of geopotential altitude.copy - if true, a new copy of the array will be made
geoAlts (as a convenience).
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
public static Unit getGeopotentialUnit(Unit altUnit)
throws VisADException
altUnit - A unit of altitude (e.g. m)
altUnit (e.g.
gpm).
VisADException - VisAD failure.
public static Unit getGeopotentialUnit(Unit altUnit,
Real gravity)
throws UnitException,
TypeException,
RemoteException,
VisADException
altUnit - A unit of altitude (e.g. meter).gravity - The value of gravity.
altUnit (e.g. geopotential
meter).
UnitException - Altitude unit not a unit of length.
TypeException - gravity isn't gravity.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||