View source: R/output_control.R
output_control | R Documentation |
Passes output variables to appropriate output selection method.
output_control(
output_method,
output_variables,
return_data,
output_folder,
output_filename,
runID = 1
)
output_method |
Output method (function) to use. "awk" will use awk, "r" will use new R based method, any other non NULL input will use the older R based output selection. |
output_variables |
Datafrane with two named columns: "variables" containing variables of interest found in the header of standard rhessys output files, "out_file" points to the files containing the associated variables, this can be either the path to that file, can use the abbreviation for the different output types (patch daily = pd, patch daily grow = pdg etc.) and the files in output_folder will be parsed appropriately, or can use the fully written out space.time suffix, e.g. "patch.daily" or "grow_patch.daily" |
return_data |
TRUE/FALSE if the function should return a data.table of the selected output - for now only works if doing 1 run |
output_folder |
Folder where rhessys output is located |
output_filename |
Base file name of standard rhessys output |
runID |
Integer ID of the current run, used internally |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.