View source: R/stabilityClass.R
stabilityClass | R Documentation |
Computes stability class given net radiation, total cloud cover and wind speed.
stabilityClass(rad, tcc, ws, option = "iaea")
rad |
The net radiation in W/m^2 |
tcc |
The total cloud cover in a range from 1 to 8 |
ws |
wind speed in m/s |
option |
The method used to determine the stability class. It can be
|
stabilityClass()
computes stability class according to IAEA method based
on net radiation, total cloud cover tcc and wind speed.
Net radiation and wind are used by day; tcc and wind are used by night.
Three different alogorithms are implemented, selected by the option
argument.
iaea
option implements the *radiation-wind method recommended by the
International Atomic Energy Agency (IAEA) and it is based on the net
radiation during the day and cloud cover by night.
pasquill
option is based on the original Pasquill formulation and
lacks the "very weak" solar insolation present in the modified iaea
version.
Eventually, the custom
options is similar to iaea
,
with slightly different set of parameters for net radiation, wind speed
and cloud cover.
Previously used option impact
is the same as iaea
and it is now
deprecated.
stabilityClass
returns a numeric vector with Pasquill
stability classes coded as: A = 1, B = 2, ... , F = 6 ranging from
"very unstable" to "very stable".
plotStabilityClass()
# Compute stability class with custom algorithm
stMeteo$cst <- stabilityClass(
rad = stMeteo$rad,
tcc = stMeteo$tcc,
ws = stMeteo$ws,
option = "custom"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.