public final class LclPressureCell extends ComputeCell
| Constructor and Description |
|---|
LclPressureCell(visad.DataReference initPresRef,
visad.DataReference initTempRef,
visad.DataReference lclTempRef)
Constructs from data references.
|
| Modifier and Type | Method and Description |
|---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output condensation pressure (the pressure at the LCL) from
the parcel's initial pressure and temperature, and the temperature at the
Lifting Condensation Level (LCL).
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toStringpublic LclPressureCell(visad.DataReference initPresRef,
visad.DataReference initTempRef,
visad.DataReference lclTempRef)
throws visad.VisADException,
java.rmi.RemoteException
initPresRef - The input initial pressure reference.initTempRef - The input initial temperature reference.lclTempRef - The input LCL temperature 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 in the same order as during
construction. datums[0] is the
initial pressure; datums[1] is
the initial temperature; and datums[2]
is the temperature at the LCL.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.