Go to the documentation of this file.
24 #define MET_UNITS__P_PA 0
25 #define MET_UNITS__P_HPA 1
26 #define MET_UNITS__T_K 10
27 #define MET_UNITS__T_C 11
28 #define MET_UNITS__Q_KG_KG 20
29 #define MET_UNITS__Q_G_KG 21
35 #define M_WET 18.01534
38 #define L_ENTHALPY 2.38e6
40 #define MAGNUS_A1 17.625
41 #define MAGNUS_B1 243.04
43 static const double es_coef_wet[] = {6.107799961, 4.436518521e-1, 1.428945805e-2,
44 2.650648471e-4, 3.031240396e-6, 2.034080948e-8, 6.136820929e-11};
45 static const double es_coef_ice[] = {6.109177956, 5.034698970e-1, 1.886013408e-2,
46 4.176223716e-4, 5.824720280e-6, 4.838803174e-8, 1.838826904e-10 };
50 static const float std_p_lvls_42[] = {1000., 975., 950., 925., 900., 875., 850.,
51 825., 800., 775., 750., 725., 700., 650., 600., 550., 500., 450., 400.,
52 350., 300., 250., 200., 150., 100., 70., 50., 40., 30., 20., 10., 7., 5.,
53 4., 3., 2., 1., 0.7, 0.5, 0.4, 0.3, 0.1};
57 int met_cvt_q_to_rh(
int,
float *,
int,
float *,
int,
float *,
int,
float *);
58 int met_cvt_rh_to_q(
int,
float *,
int,
float *,
int,
float *,
float *,
int);
double met_cvt_p_cvt(double, int, int)
int met_cvt_ttd_to_rh(int, float *, int, float *, int, float *)
double met_cvt_q_cvt(double, int, int)
int met_cvt_rh_to_q(int, float *, int, float *, int, float *, float *, int)
double met_cvt_t_cvt(double, int, int)
int met_cvt_q_to_rh(int, float *, int, float *, int, float *, int, float *)