Package ucar.visad.quantities
Class AirDensity
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.Density
ucar.visad.quantities.AirDensity
Provides support for the quantity of atmospheric density.
- Version:
- $Id: AirDensity.java,v 1.11 2005/05/13 18:35:37 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Method Summary
Modifier and TypeMethodDescriptionstatic Data
Creates an AirDensity data object from data objects for Pressure, and temperaturestatic Data
Creates an AirDensity data object from data objects for Pressure, InSituAirTemperature, and DewPoint.static FlatField
Creates an AirPressure -> AirDensity field from an Pressure -> (InSituAirTemperature, DewPoint) field.static RealTupleType
Obtains the RealTupleType associated with this class.static RealType
Obtains the RealType associated with this class.Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realType
Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Method Details
-
getRealType
Obtains the RealType associated with this class.- Returns:
- The RealType associated with this class.
- Throws:
VisADException
- Couldn't perform necessary VisAD operation.
-
getRealTupleType
Obtains the RealTupleType associated with this class.- Returns:
- The RealTupleType associated with this class.
- Throws:
VisADException
- Couldn't perform necessary VisAD operation.
-
create
public static Data create(Data pressure, Data inSituAirTemperature, Data dewPoint) throws TypeException, UnimplementedException, VisADException, RemoteException Creates an AirDensity data object from data objects for Pressure, InSituAirTemperature, and DewPoint.- Parameters:
pressure
- A Pressure data object.inSituAirTemperature
- An InSituAirTemperature data object.dewPoint
- A DewPoint data object.- Returns:
- The AirDensity data object computed from the arguments. The type of the object will be that of the arguments after standard promotion.
- Throws:
TypeException
- At least one argument has wrong type.UnimplementedException
- Necessary operation not yet implemented.VisADException
- Couldn't create necessary VisAD object.RemoteException
- Java RMI failure.- See Also:
-
create
public static Data create(Data pressure, Data temperature) throws TypeException, UnimplementedException, VisADException, RemoteException Creates an AirDensity data object from data objects for Pressure, and temperature- Parameters:
pressure
- A Pressure data object.temperature
- A temperature data object. If the in-situ temperature is used, then the returned density will be that for dry air; if the virtual temperature is used, then the returned density will be the actual density.- Returns:
- The AirDensity data object computed from the arguments. The type of the object will be that of the arguments after standard promotion.
- Throws:
TypeException
- At least one argument has wrong type.UnimplementedException
- Necessary operation not yet implemented.VisADException
- Couldn't create necessary VisAD object.RemoteException
- Java RMI failure.- See Also:
-
create
public static FlatField create(FlatField inputField) throws TypeException, UnimplementedException, VisADException, RemoteException Creates an AirPressure -> AirDensity field from an Pressure -> (InSituAirTemperature, DewPoint) field.- Parameters:
inputField
- An Pressure -> (InSituAirTemperature, DewPoint) field.- Returns:
- The (AirPressure -> AirDensity) field corresponding to the input field.
- Throws:
TypeException
- At least one argument has wrong type.UnimplementedException
- Necessary operation not yet implemented.VisADException
- Couldn't create necessary VisAD object.RemoteException
- Java RMI failure.
-