public abstract class ProfileFeatureCell extends ComputeCell
Modifier and Type | Field and Description |
---|---|
protected static visad.Real |
noData
The output "missing data" value.
|
Constructor and Description |
---|
ProfileFeatureCell(java.lang.String name,
visad.DataReference buoyProfileRef)
Constructs from data references.
|
Modifier and Type | Method and Description |
---|---|
protected static visad.Real |
interpolatePres(double topPres,
double topBuoy,
double botPres,
double botBuoy,
visad.Unit presUnit)
Interpolates the pressure at zero buoyancy from bracketing pressures
and buoyancies.
|
clean, compute, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public ProfileFeatureCell(java.lang.String name, visad.DataReference buoyProfileRef) throws visad.VisADException, java.rmi.RemoteException
name
- The name of the cell.buoyProfileRef
- The input buoyancy profile reference.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.protected static final visad.Real interpolatePres(double topPres, double topBuoy, double botPres, double botBuoy, visad.Unit presUnit) throws visad.VisADException
topPres
- The upper pressure.topBuoy
- The buoyancy at the upper pressure.botPres
- The lower pressure.botBuoy
- The buoyancy at the lower pressure.presUnit
- The unit of pressure.visad.VisADException
- if a VisAD failure occurs.