Performing a workflow of constructing saving elements by a given resultlist

Share:

Description

This function performs a workflow of constructing a savelist by a given resultlist.

Usage

1
2
qat_run_workflow_save(resultlist, baseunit = "", time = NULL, height = NULL, 
lat = NULL, lon = NULL, vec1 = NULL, vec2 = NULL, vec3 = NULL, vec4 = NULL)

Arguments

resultlist

Resultlist with results of checks

baseunit

Unit of the original measurement vector

time

A time vector of the measurment\_vector

height

A height vector of the measurment\_vector

lat

A latitude vector of the measurment\_vector

lon

A longitude vector of the measurment\_vector

vec1

A potential additional vector

vec2

A potential additional vector

vec3

A potential additional vector

vec4

A potential additional vector

Details

This function performs a workflow of constructing a savelist by a given resultlist. This can be used to build netCDF-files by the function qat\_save\_result\_ncdf.

Value

A savelist, with the results of the performed tests will be given back.

Author(s)

Andre Duesterhus

See Also

qat_config_read_workflow, qat_run_workflow_check, qat_run_workflow_plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
	library("qat")
	# define testvector
	testvector<-rnorm(500)
	# read in workflow from systemfiles
	filename_in <- system.file("extdata/workflowexample.xml", package="qat")
	workflowlist <- qat_config_read_workflow(filename_in)
	# define some additional vectors
	maxlim <- seq(3,1,length.out=500)
	minlim <- seq(-1,-3,length.out=500)
	uproc <- seq(1,3,length.out=500)
	downroc <- seq(3,1,length.out=500)
	# run the workflow on the testvector
	rlist <- qat_run_workflow_check(testvector,workflowlist,vec1=maxlim, vec2=minlim, 
	vec3=uproc, vec4=downroc)
	# produce the savelist
	savelist <- qat_run_workflow_save(rlist)
	filename_out <- "myresults" 
	# write netCDF-file of the results in current directory
## Not run: 
	qat_save_result_ncdf(testvector, savelist=savelist, filename_out, 
	workflowlist=workflowlist ,vec1=maxlim, vec2=minlim, vec3=uproc, vec4=downroc)
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.