load_rSFSW2_data_for_analysis: Prepare and load SOILWAT2 simulation output as an array from...

Description Usage Arguments Value Notes See Also

View source: R/access_rSFSW2_output.R

Description

Prepare and load SOILWAT2 simulation output as an array from a sqlite3 database produced by rSFSW2.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
load_rSFSW2_data_for_analysis(
  meta,
  path,
  path_tmp,
  fname_dbOuts = NULL,
  variables,
  MeanOrSD = c("Mean", "SD"),
  sim_scenarios,
  sc_historical,
  experiments = NULL,
  subprojects = NULL,
  subset = NULL,
  write_to_netcdf = FALSE,
  verbose = FALSE,
  ...
)

Arguments

experiments

A vector of character strings. Values of the 'Experimental_Label' field. Use if experimental treatments are organized in one dbOutput database.

subprojects

A vector of character strings. Same as experiments, but use if experimental treatments are organized in different dbOutput databases. If used, then fname_dbOuts is a vector with values for each subprojects. Note: experiments and subprojects are mutually exclusive.

Value

The same structure as returned from extract_dbOut_to_array, i.e., a four-dimensional numerical array with dimensions runsN_sites, variables, scenarios, and experiments.

Notes

write_to_netcdf is no longer supported.

See Also

extract_dbOut_to_array for extraction from dbOut database.


DrylandEcology/rSW2analysis documentation built on Nov. 8, 2021, 4:20 p.m.