Commit fb69a56e authored by sbiri's avatar sbiri
Browse files

update function descriptions in flux_subs (get_L) and hum_subs (gamma)

parent 1d081b06
...@@ -885,10 +885,11 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo, ...@@ -885,10 +885,11 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo,
Parameters Parameters
---------- ----------
L : int L : str
Monin-Obukhov length definition options Monin-Obukhov length definition options
"S80" : default for S80, S88, LP82, YT96 and LY04 "tsrv" : default for S80, S88, LP82, YT96, UA, C30, C35 and LY04
"ecmwf" : following ecmwf (IFS Documentation cy46r1), default for ecmwf "Rb" : following ecmwf (IFS Documentation cy46r1), default for ecmwf
and Beljaars
lat : float lat : float
latitude latitude
usr : float usr : float
...@@ -897,8 +898,6 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo, ...@@ -897,8 +898,6 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo,
star temperature (K) star temperature (K)
qsr : float qsr : float
star specific humidity (g/kg) star specific humidity (g/kg)
t10n : float
neutral temperature at 10m (K)
hin : float hin : float
sensor heights (m) sensor heights (m)
Ta : float Ta : float
...@@ -909,8 +908,6 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo, ...@@ -909,8 +908,6 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo,
air specific humidity (g/kg) air specific humidity (g/kg)
qsea : float qsea : float
specific humidity at sea surface (g/kg) specific humidity at sea surface (g/kg)
q10n : float
neutral specific humidity at 10m (g/kg)
wind : float wind : float
wind speed (m/s) wind speed (m/s)
monob : float monob : float
...@@ -919,6 +916,8 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo, ...@@ -919,6 +916,8 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo,
surface roughness (m) surface roughness (m)
zot : float zot : float
temperature roughness length (m) temperature roughness length (m)
psim : floast
momentum stability function
meth : str meth : str
bulk parameterisation method option: "S80", "S88", "LP82", "YT96", bulk parameterisation method option: "S80", "S88", "LP82", "YT96",
"UA", "LY04", "C30", "C35", "ecmwf", "Beljaars" "UA", "LY04", "C30", "C35", "ecmwf", "Beljaars"
...@@ -929,6 +928,8 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo, ...@@ -929,6 +928,8 @@ def get_L(L, lat, usr, tsr, qsr, hin, Ta, sst, qair, qsea, wind, monob, zo,
virtual star temperature (K) virtual star temperature (K)
monob : float monob : float
M-O length (m) M-O length (m)
Rb : float
Richardson number
""" """
g = gc(lat) g = gc(lat)
......
...@@ -416,7 +416,8 @@ def gamma(opt, sst, t, q, cp): ...@@ -416,7 +416,8 @@ def gamma(opt, sst, t, q, cp):
air temperature [K] air temperature [K]
q : float q : float
specific humidity of air [kg/kg] specific humidity of air [kg/kg]
cp : float
specific capacity of air at constant Pressure [kJ/(kg*K)]
Returns Returns
------- -------
gamma : float gamma : float
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment