public static class Vis5DVerticalSystem.Vis5DVerticalCoordinateSystem extends CoordinateSystem
P = 1012.5 * e^( H / -7.2 ) (^ denotes exponentiation)
H = -7.2 * Ln( P / 1012.5 ) (Ln denotes natural log)
for the transformations (in this case H is in km).
| Constructor and Description |
|---|
Vis5DVerticalCoordinateSystem()
Construct a new vertical transformation system
|
| Modifier and Type | Method and Description |
|---|---|
static double |
altitudeToPressure(double alt)
Converts an altitude value in meters to a pressure value in
millibars.
|
boolean |
equals(Object o)
Checks the equality of o against this coordinate system
|
double[][] |
fromReference(double[][] alts)
Converts altitudes in m to pressure in millibars.
|
float[][] |
fromReference(float[][] alts)
Converts altitudes in m to pressure in millibars.
|
static double |
pressureToAltitude(double pressure)
Converts a pressure value in millibars to an altitude in
meters.
|
double[][] |
toReference(double[][] pressures)
Converts pressures in millibars to altitude in meters.
|
float[][] |
toReference(float[][] pressures)
Converts pressures in millibars to altitude in meters.
|
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnitspublic Vis5DVerticalCoordinateSystem()
throws VisADException
VisADExceptionpublic double[][] toReference(double[][] pressures)
throws VisADException
toReference in class CoordinateSystempressures - array of pressuresVisADException - illegal inputpublic double[][] fromReference(double[][] alts)
throws VisADException
fromReference in class CoordinateSystemalts - array of altitudesVisADException - illegal inputpublic float[][] toReference(float[][] pressures)
throws VisADException
toReference in class CoordinateSystempressures - array of pressuresVisADException - illegal inputpublic float[][] fromReference(float[][] alts)
throws VisADException
fromReference in class CoordinateSystemalts - array of altitudesVisADException - illegal inputpublic boolean equals(Object o)
equals in class CoordinateSystemo - object in questionpublic static double altitudeToPressure(double alt)
P = 1012.5 * e^( H / -7.2 ) (^ denotes exponentiation)
(H is in km in this formula, but input value is meters)
alt - value to convertpublic static double pressureToAltitude(double pressure)
H = -7.2 * Ln( P / 1012.5 ) (Ln denotes natural log)
(H is in km in this formula, but returned value is meters)
pressure - value to convertCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.