get_simStartEnd: Recuperate the start and end time of a simulation based on...

Description Usage Arguments Value Author(s)

View source: R/get_simStartEnd.R

Description

The weather file has to be in format required by Expert-N. Daily values are given in the format "YYYY-MM-DD" The function can be used to automatically deduce the maximum possible simulation window, given different weather files.

Usage

1
get_simStartEnd(x, sep_arg = ",", query.head = TRUE)

Arguments

x

a list with at least two elements

  • file_nameThe name of the weather data file. Several can be provided

  • pathThe path of where the weather data file is stored. Either the same amount as provided in file_name or 1.

sep_arg

The column seperator in the weather file DEFAULT = ,.

query.head

TRUE/FALSE If the weather file has a header or not. DEFAULT = TRUE.

Value

x List with time updated, crop specific DEFAULTs (fertilisation or tillage)

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de


tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.