public final class VirtualTemperatureProfileCell extends ComputeCell
| Constructor and Description |
|---|
VirtualTemperatureProfileCell(visad.DataReference tempProfileRef,
visad.DataReference moistRef)
Constructs from data references.
|
| Modifier and Type | Method and Description |
|---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the (AirPressure -> VirtualTemperature) profile corresponding to
an (AirPressure -> AirTemperature) profile and a moisture profile.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toStringpublic VirtualTemperatureProfileCell(visad.DataReference tempProfileRef,
visad.DataReference moistRef)
throws visad.VisADException,
java.rmi.RemoteException
Field and the moisture argument should refer to
either a Field or a Real. The
Field's rangetype or the Real's
RealType should be compatible with either
DewPoint.getRealType() or WaterVaporMixingRatio.getRealType().tempProfileRef - The input temperature profile reference.moistRef - The input moisture reference.visad.VisADException - if a VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.protected visad.Data compute(visad.Data[] datums)
throws visad.TypeException,
visad.VisADException,
java.rmi.RemoteException
compute in class ComputeCelldatums - The input data corresponding to the data
references of construction: datums[0]
is the temperature profile and
datums[1] is the moisture
profile.java.lang.ClassCastException - if an input data reference has the wrong
type of data object.visad.TypeException - if a VisAD data object has the wrong type.visad.VisADException - if a VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.