Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/qat_call_save_lim_rule.R
This function calls qat\_save\_lim\_rule\_static\_1d, qat\_save\_lim\_rule\_sigma\_1d or qat\_save\_lim\_rule\_dynamic\_1d. As a result a part of a savelist is constructed, which can be used to construct a netCDF file.
1 2 3 |
resultlist_part |
A list with the results of the check |
element |
Element-identifier for the result, which will be given back in the savelist |
dim_mv |
Dimension of the measurement vector. |
time |
A vector of time elements with the length of the measurement vector |
height |
A vector of height elements with the length of the measurement vector |
lat |
A vector of latitude elements with the length of the measurement vector |
lon |
A vector of longitude elements with the length of the measurement vector |
vec1 |
An additional vector, which is named as vec1 |
vec2 |
An additional vector, which is named as vec2 |
vec3 |
An additional vector, which is named as vec3 |
vec4 |
An additional vector, which is named as vec4 |
baseunit |
The unit of the original measurement vector |
savelist |
A list with save elements |
savelistcounter |
Numbers of elements of the savelist |
This function calls the described saving-function, which transform the resultlist elements to a savinglist element. The possible called functions are qat\_save\_lim\_rule\_static\_1d, qat\_save\_lim\_rule\_sigma\_1d or qat\_save\_lim\_rule\_dynamic\_1d. As a result the given savelist will get an additional entry.
The given savelist will be returned, with included results of the functions which may be called in this function.
Andre Duesterhus
qat_save_lim_rule_static_1d
, qat_save_lim_rule_sigma_1d
, qat_save_lim_rule_dynamic_1d
, qat_run_workflow_save
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | vec <- rnorm(1000)
min_vector<-seq(-1,-2,length.out=1000)
max_vector<-seq(1,2,length.out=1000)
workflowlist_part <- list(minimum_value=-2, maximum_value=2,minimum_vector="vec1",
maximum_vector="vec2",minimum_vector_name="minimum vector",
maximum_vector_name="maximum vector", sigma_factor=2)
resultlist <- qat_call_lim_rule(vec, workflowlist_part, element=1, vec1=min_vector,
vec2=max_vector)
savelist <- list()
savelistcounter <- 1
for (ii in 2:4) {
savelist <- qat_call_save_lim_rule(resultlist[[ii]], savelist=savelist,
savelistcounter=savelistcounter)
if (length(which(names(savelist)=="element"))==0) {
savelistcounter<-length(savelist)
} else {
savelistcounter<-1
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.