Description Usage Arguments Details Value
This function is called by extract_QC
and is not inteded to be
used directly. QC information for multiple variables stored in a character
vector of certain properties is extracted and interpreted.
1 | extract_coded(data, var, qc_suffix, prefix = "[8]", split = "[/]")
|
prefix |
Character string containing a |
split |
Character string containing a |
x |
An atomic type. |
Each element of x
is expected to have the same structure according to
the format specified by units
attribute of x
. units
format string (e.g. "8u/v/w/ts/h2o/co2"
) starts with a prefix
("8"
) that is followed by variable names ("u", "v", "w", "ts",
"h2o", "co2"
) that are distinguished by a separator ("/"
). Elements
of x
thus consist of either seven components (prefix and six flags for
each variable) or one NA
value. Flags can have three values:
Flag 0: measured variable passed the test.
Flag 1: measured variable failed the test.
Flag 9: flag could not be obtained for the given variable (NA
).
x
is interpreted in respect to instruments required to measure given
fluxes. SA is required for measurements of all fluxes and solely provides
data for computation of Tau and H fluxes. IRGA is additionally required for
measurements of LE and NEE. To confirm the correct performance of SA, all
variables "u", "v", "w", "ts"
must have flag 0.
In the case of IRGA, all variables "h2o", "co2"
must have flag 0.
Results are reported according to the QC scheme using QC flag range 0 - 2..
A data frame with columns "sa"
and "irga75"
. Each
column has attributes "varnames"
and "units"
and length equal
to that of x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.