create_cfgClimateFile: Calculate Annual Average Temperature and Annual Monthly...

Description Usage Arguments Value Author(s) Examples

View source: R/create_cfgClimateFile.R

Description

The function is intended for use on the climate files in a given folder, to calculate the AveYearTemp and MonthTempAmp for the cfg files. The output is stored in a file.

Usage

1
2
3
4
5
create_cfgClimateFile(
  path,
  query.write = FALSE,
  path_file_out = "cfgClimate.IN"
)

Arguments

path

path to folder with csvs only climate files OR individual files

query.write

defaults to FALSE. If TRUE a result file will be written , path_file_out = "cfgClimate.IN" a character specifying the path to the location of climate files. Can be

path_file_out

name of the file

Value

nothing, saves and overwrites weather files.

Author(s)

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

Michelle Viswanathan, michelle.viswanathan@uni-hohenheim.de

Examples

1
2
3
4
5
6
7
## Not run: 
path <- c("./100_485 .csv", "./60_518 .csv")
path <- c("./100_485 .csv")
path <- c("./")
create_cfgClimateFile(path, query.write = TRUE)

## End(Not run)

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