public class MeteoMath extends Object
| 构造器 | 说明 |
|---|---|
MeteoMath() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static double |
cal_E(double es,
double rh) |
Calculate actual vapor pressure (E) of the air
|
static double |
cal_Es(double tc) |
Calculate saturation vapor pressure
|
static double |
cal_Es_1(double tc) |
Calculate saturation vapor pressure (Es)
|
static double |
cal_Es_2(double tc) |
Calculate saturation vapor pressure (Es)
|
static double |
cal_Tdc(double e) |
Calculate dewpoint from actual water vapor pressure
|
static double |
cal_Tdc(double t,
double rh) |
Calculate dewpoint from temperature and relative humidity
|
static double |
cal_Tdc_1(double e) |
Calculate dewpoint temperature
|
static double |
cal_Tdc_1(double tc,
double rh) |
Calculate dewpoint temperature
|
static Array |
calSeaPrs(Array z,
Array t,
Array p,
Array q) |
Estimate sea level pressure
|
static double |
dewpoint2rh(double tc,
double tdc) |
Calculate relative humidity from dewpoint
|
static Array |
dewpoint2rh(Array tdc,
Array tc) |
Calculate relative humidity from dewpoint
|
static double[] |
ds2uv(double windDir,
double windSpeed) |
Get wind U/V components from wind direction and speed
|
static Array[] |
ds2uv(Array windDir,
Array windSpeed) |
Get wind U/V components from wind direction and speed
|
static double |
height2Press(double height) |
Calculate pressure frmo height
|
static Array |
height2Press(Array height) |
Calculate pressure from height
|
static double |
press2Height(double press) |
Calculate height from pressure
|
static Array |
press2Height(Array press) |
Calculate height from pressure
|
static double |
qair2rh(double qair,
double tc,
double press) |
Calculate relative humidity from specific humidity
|
static Array |
qair2rh(Array qair,
Array temp,
double press) |
Calculate relative humidity from specific humidity
|
static Array |
qair2rh(Array qair,
Array temp,
Array press) |
Calculate relative humidity
|
static double |
rh2dewpoint(double rh,
double t) |
Calculate dewpoint from relative humidity and temperature
|
static Array |
rh2dewpoint(Array rh,
Array tc) |
Calculate dewpoint from relative humidity and temperature
|
static double |
tc2tf(double tc) |
Calculate fahrenheit temperature from celsius temperature
|
static Array |
tc2tf(Array tc) |
Calculate fahrenheit temperature from celsius temperature
|
static double |
tf2tc(double tf) |
Calculate celsius temperature from fahrenheit temperature
|
static Array |
tf2tc(Array tf) |
Calculate celsius temperature from fahrenheit temperature
|
static double[] |
uv2ds(double u,
double v) |
Get wind direction and wind speed from U/V
|
static Array[] |
uv2ds(Array u,
Array v) |
Get wind direction and wind speed from U/V
|
public static double cal_Es(double tc)
tc - Air temperaturepublic static double cal_Es_1(double tc)
tc - Air temperaturepublic static double cal_Es_2(double tc)
tc - Air temperature - degree Cpublic static double cal_Tdc(double e)
e - Actural water vapor pressurepublic static double cal_Tdc(double t,
double rh)
t - Temperaturerh - Relative humiditypublic static double dewpoint2rh(double tc,
double tdc)
tc - Temperaturetdc - Dewpoint temperaturepublic static Array dewpoint2rh(Array tdc, Array tc)
tdc - Dewpoint temperaturetc - Temperaturepublic static double rh2dewpoint(double rh,
double t)
rh - Relative humidityt - Temperaturepublic static Array rh2dewpoint(Array rh, Array tc)
rh - Dewpoint temperaturetc - Temperaturepublic static double qair2rh(double qair,
double tc,
double press)
qair - Specific humidity, dimensionless (e.g. kg/kg) ratio of water
mass / total air masstc - Temperature - degree cpress - Pressure - hPa (mb)public static double cal_Tdc_1(double e)
e - Actual vapor pressurepublic static double cal_Tdc_1(double tc,
double rh)
tc - Air temperaturerh - Relative humiditypublic static double tf2tc(double tf)
tf - Fahrenheit temperaturepublic static double tc2tf(double tc)
tc - Celsius temperaturepublic static double cal_E(double es,
double rh)
es - Saturation vapor pressurerh - Relative humiditypublic static double press2Height(double press)
press - Pressure - hPapublic static double height2Press(double height)
height - Height - meterpublic static Array calSeaPrs(Array z, Array t, Array p, Array q)
z - Height (m)t - Temperature array (K)p - Pressure array (Pa)q - Mixing ratio (kg/kg)public static Array tc2tf(Array tc)
tc - Celsius temperaturepublic static Array tf2tc(Array tf)
tf - Fahrenheit temperaturepublic static Array qair2rh(Array qair, Array temp, double press)
qair - Specific humidity, dimensionless (e.g. kg/kg) ratio of water
mass / total air masstemp - Temperature - degree cpress - Pressure - hPa (mb)public static Array qair2rh(Array qair, Array temp, Array press)
qair - Specific humidity, dimensionless (e.g. kg/kg) ratio of water
mass / total air masstemp - Temperature - degree cpress - Pressure - hPa (mb)public static Array press2Height(Array press)
press - Pressure - hPapublic static Array height2Press(Array height)
height - Height - mpublic static Array[] uv2ds(Array u, Array v)
u - U componentv - V componentpublic static double[] uv2ds(double u,
double v)
u - U componentv - V componentpublic static Array[] ds2uv(Array windDir, Array windSpeed)
windDir - Wind directionwindSpeed - Wind speedpublic static double[] ds2uv(double windDir,
double windSpeed)
windDir - Wind directionwindSpeed - Wind speedCopyright © 2019. All rights reserved.