wasa_prep_runs: Preparation of WASA-SED model input

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
wasa_prep_runs(sp_input_dir = NULL, meteo_dir = NULL,
  radex_file = NULL, wasa_sim_dir = getwd(), proj_name = "wasa_run",
  sim_start = NULL, sim_end = NULL, timestep = 24, outfiles = NULL)

Arguments

sp_input_dir

Character string of the directory containing the spatial WASA-SED input. E.g. the output of db_wasa_input (argument 'dest_dir').

meteo_dir

Character string of the directory containing the time series input files for the WASA-SED model. Requires the files temperature.dat, radiation.dat, humidity.dat, and rain_daily.dat or rain_hourly.dat.

radex_file

Character string of the file (including path) of preprared extraterrestrial radiation input (named 'extraterrestrial_radiation.dat').

wasa_sim_dir

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

proj_name

Character string of the current project name, i.e. the directory within wasa_sim_dir which will contain the directories 'input' (the complete WASA-SED input) and 'output' (WASA-SED simulation output will be written into this directory).

sim_start

Object of class 'date' giving the start date of the simulation (will be written into WASA-SED input file 'do.dat').

sim_end

Object of class 'date' giving the end date of the simulation (will be written into WASA-SED input file 'do.dat').

timestep

Integer giving the temporal resolution of the model run in hours. Must be 1 (hourly) or 24 (daily resolution). Will be written into WASA-SED input file 'do.dat'. Default: 24.

outfiles

Character vector specifying the contents of input file 'outfiles.dat' controlling the output to be generated by the model. See the WASA-SED socumentation for supported values. If NULL (default), the file will not be generated and default output will be produced.

Value

Function returns nothing.

Author(s)

Tobias Pilz tpilz@uni-potsdam.de


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