类 MeteoMath
- java.lang.Object
-
- org.meteoinfo.math.meteo.MeteoMath
-
public class MeteoMath extends java.lang.Object- 作者:
- yaqiang
-
-
构造器概要
构造器 构造器 说明 MeteoMath()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static doublecal_E(double es, double rh)Calculate actual vapor pressure (E) of the airstatic doublecal_Es(double tc)Calculate saturation vapor pressurestatic doublecal_Es_1(double tc)Calculate saturation vapor pressure (Es)static doublecal_Es_2(double tc)Calculate saturation vapor pressure (Es)static doublecal_Tdc(double e)Calculate dewpoint from actual water vapor pressurestatic doublecal_Tdc(double t, double rh)Calculate dewpoint from temperature and relative humiditystatic doublecal_Tdc_1(double e)Calculate dewpoint temperaturestatic doublecal_Tdc_1(double tc, double rh)Calculate dewpoint temperaturestatic ucar.ma2.ArraycalSeaPrs(ucar.ma2.Array z, ucar.ma2.Array t, ucar.ma2.Array p, ucar.ma2.Array q)Estimate sea level pressurestatic doubledewpoint2rh(double tc, double tdc)Calculate relative humidity from dewpointstatic ucar.ma2.Arraydewpoint2rh(ucar.ma2.Array tdc, ucar.ma2.Array tc)Calculate relative humidity from dewpointstatic doubleheight2Press(double height)Calculate pressure frmo heightstatic doublepress2Height(double press)Calculate height from pressurestatic doubleqair2rh(double qair, double tc, double press)Calculate relative humidity from specific humiditystatic doublerh2dewpoint(double rh, double t)Calculate dewpoint from relative humidity and temperaturestatic ucar.ma2.Arrayrh2dewpoint(ucar.ma2.Array rh, ucar.ma2.Array tc)Calculate dewpoint from relative humidity and temperaturestatic doubletc2tf(double tc)Calculate fahrenheit temperature from celsius temperaturestatic doubletf2tc(double tf)Calculate celsius temperature from fahrenheit temperature
-
-
-
方法详细资料
-
cal_Es
public static double cal_Es(double tc)
Calculate saturation vapor pressure- 参数:
tc- Air temperature- 返回:
- Saturation vapor pressure
-
cal_Es_1
public static double cal_Es_1(double tc)
Calculate saturation vapor pressure (Es)- 参数:
tc- Air temperature- 返回:
- Saturation vapor pressure
-
cal_Es_2
public static double cal_Es_2(double tc)
Calculate saturation vapor pressure (Es)- 参数:
tc- Air temperature - degree C- 返回:
- Saturation vapor pressure
-
cal_Tdc
public static double cal_Tdc(double e)
Calculate dewpoint from actual water vapor pressure- 参数:
e- Actural water vapor pressure- 返回:
- Dewpoint
-
cal_Tdc
public static double cal_Tdc(double t, double rh)Calculate dewpoint from temperature and relative humidity- 参数:
t- Temperaturerh- Relative humidity- 返回:
- Dewpoint
-
dewpoint2rh
public static double dewpoint2rh(double tc, double tdc)Calculate relative humidity from dewpoint- 参数:
tc- Temperaturetdc- Dewpoint temperature- 返回:
- Relative humidity as percent (i.e. 80%)
-
dewpoint2rh
public static ucar.ma2.Array dewpoint2rh(ucar.ma2.Array tdc, ucar.ma2.Array tc)Calculate relative humidity from dewpoint- 参数:
tdc- Dewpoint temperaturetc- Temperature- 返回:
- Relative humidity as percent (i.e. 80%)
-
rh2dewpoint
public static double rh2dewpoint(double rh, double t)Calculate dewpoint from relative humidity and temperature- 参数:
rh- Relative humidityt- Temperature- 返回:
- Dewpoint
-
rh2dewpoint
public static ucar.ma2.Array rh2dewpoint(ucar.ma2.Array rh, ucar.ma2.Array tc)Calculate dewpoint from relative humidity and temperature- 参数:
rh- Dewpoint temperaturetc- Temperature- 返回:
- Relative humidity as percent (i.e. 80%)
-
qair2rh
public static double qair2rh(double qair, double tc, double press)Calculate relative humidity from specific humidity- 参数:
qair- Specific humidity, dimensionless (e.g. kg/kg) ratio of water mass / total air masstc- Temperature - degree cpress- Pressure - hPa (mb)- 返回:
- Relative humidity as percent (i.e. 80%)
-
cal_Tdc_1
public static double cal_Tdc_1(double e)
Calculate dewpoint temperature- 参数:
e- Actual vapor pressure- 返回:
- Dewpoint temperature (celsius)
-
cal_Tdc_1
public static double cal_Tdc_1(double tc, double rh)Calculate dewpoint temperature- 参数:
tc- Air temperaturerh- Relative humidity- 返回:
- Dewpoint temperature (celsius)
-
tf2tc
public static double tf2tc(double tf)
Calculate celsius temperature from fahrenheit temperature- 参数:
tf- Fahrenheit temperature- 返回:
- Celsius temperature
-
tc2tf
public static double tc2tf(double tc)
Calculate fahrenheit temperature from celsius temperature- 参数:
tc- Celsius temperature- 返回:
- Fahrenheit temperature
-
cal_E
public static double cal_E(double es, double rh)Calculate actual vapor pressure (E) of the air- 参数:
es- Saturation vapor pressurerh- Relative humidity- 返回:
- Actual vapor pressure
-
press2Height
public static double press2Height(double press)
Calculate height from pressure- 参数:
press- Pressure - hPa- 返回:
- Height - meter
-
height2Press
public static double height2Press(double height)
Calculate pressure frmo height- 参数:
height- Height - meter- 返回:
- Pressure - hPa
-
calSeaPrs
public static ucar.ma2.Array calSeaPrs(ucar.ma2.Array z, ucar.ma2.Array t, ucar.ma2.Array p, ucar.ma2.Array q)Estimate sea level pressure- 参数:
z- Height (m)t- Temperature array (K)p- Pressure array (Pa)q- Mixing ratio (kg/kg)- 返回:
- Sea level pressure (Pa)
-
-