echse_prep_runs: Preparation of input for the WASA engine of the ECHSE...

Description Usage Arguments Value Author(s)

Description

Makes use of spatial model input prepared with the lumpR package, pre-processed meteorological data, and further input to this function to generate a directory for the model ready to run simulations.

Usage

1
2
3
echse_prep_runs(sp_input_dir = NULL, wgt_file = NULL,
  meteo_ext_datafiles = NULL, prep_tpl = FALSE,
  echse_sim_dir = getwd())

Arguments

sp_input_dir

Character string of the directory containing the spatial input. E.g. the output of db_echse_input.

wgt_file

Character string specifying the name of the file containing the weighting of input locations of meteorological data. Should be the output of function externalInputLocationsTable (argument 'file_result').

meteo_ext_datafiles

Data.frame containing information of ECHSE's external datafile input. Requires the variables 'variable', 'sums', 'past', and 'file' (see the ECHSE manual for more information).

prep_tpl

Logical. Shall template parameter files be created? If TRUE, files sharedParamNum_WASA_svc_tpl.dat, sharedParamNum_WASA_lu_tpl.dat, and sharedParamNum_WASA_rch_tpl.dat will be created (and the old files be deleted accordingly) where all choice_* parameter values will be replaced by placeholders to be adjusted, for instance, within a multi-hypothesis study employing different model structures (i.e. using different choice_* parameter realisations). Default: FALSE.

echse_sim_dir

Character string of the location the output shall be written to (directory will be created if it does not exist).

Value

Function returns nothing.

Author(s)

Tobias Pilz tpilz@uni-potsdam.de


tpilz/WasaEchseTools documentation built on May 5, 2019, 12:33 p.m.