Diana User Guide:Vertical crossection functions | Previous: Field functions | Next: File formats | Index | ![]() |
//---------------------------------------------------------------------- // Field names: //------------- // th = potential temperature (Kelvin) // tk = temperature (Kelvin) // tc = temperature (Celsius) // tdk = dew point temperature (Kelvin) // tdc = dew point temperature (Celsius) // rh = relative humidity (%) // q = specific humidity (kg/kg) // f = any scalar field // u,v = wind components in grid x- and y-direction (m/s) //---------- // Notes: //---------- // Function argument and result names are just examples. // Some surface parameters are also required (to be found in the input file). // Incl. crossection positions in the original grid. //---------- // The real functions often need more arguments than used in setup. Like pressure. // This is done automatic. Also the existence of any undefined/missing values in the input data. // --------- // If the result field name also is among the input parameter/field names, // the function will not be activated when the input field is found. // The shortest "route" with fewest functions are chosen to make the final plot data. // Several of the (conversion) functions used are field functions. //----------------------------------------------------------------------
Result | Function(argumet(s)) |
result = | add(a,b) |
result = | subtract(a,b) |
result = | multiply(a,b) |
result = | divide(a,b) |
tc = | tc_from_tk(tk) |
tk = | tk_from_tc(tc) |
tc = | tc_from_th(th) |
tk = | tk_from_th(th) |
th = | th_from_tk(tk) |
thesat = | thesat_from_tk(tk) |
thesat = | thesat_from_th(th) |
the = | the_from_tk_q(tk,q) |
the = | the_from_th_q(th,q) |
rh = | rh_from_tk_q(tk,q) |
rh = | rh_from_th_q(th,q) |
q = | q_from_tk_rh(tk,rh) |
q = | q_from_th_rh(th,rh) |
tdc = | tdc_from_tk_q(tk,q) |
tdc = | tdc_from_th_q(th,q) |
tdc = | tdc_from_tk_rh(tk,rh) |
tdc = | tdc_from_th_rh(th,rh) |
tdk = | tdk_from_tk_q(tk,q) |
tdk = | tdk_from_th_q(th,q) |
tdk = | tdk_from_tk_rh(tk,rh) |
tdk = | tdk_from_th_rh(th,rh) |
ducting = | ducting_from_tk_q(tk,q) |
ducting = | ducting_from_th_q(th,q) |
ducting = | ducting_from_tk_rh(tk,rh) |
ducting = | ducting_from_th_rh(th,rh) |
ducting = | d_ducting_dz_from_tk_q(tk,q) |
d_ducting_dz = | d_ducting_dz_from_th_q(th,q) |
d_ducting_dz = | d_ducting_dz_from_tk_rh(tk,rh) |
d_ducting_dz = | d_ducting_dz_from_th_rh(th,rh) |
ff_total = | ff_total(u,v) |
ff_normal = | ff_normal(u,v) |
ff_tangent = | ff_tangential(u,v) |
ff_nort_south = | ff_north_south(u,v) |
ff_east_west = | ff_east_west(u,v) |
ff_knots = | ff_knots_from_ms(ffms) |
m = | momentum_vn_fs(vn) |
h_above_msl = | height_above_msl_from_th(th) |
h_above_surface = | height_above_surface_from_th(th) |
Diana User Guide:Vertical crossection functions | Previous: Field functions | Next: File formats | Index | ![]() |