Learn R Programming

eva3dm (version 0.99.1)

template: Create templates for model evaluation

Description

Create templates of code (r-scripts and bash job-submission script) to read, post-process and evaluate model results.

Usage

template(
  root,
  template = "WRF",
  case = "case",
  env = "rspatial",
  scheduler = "SBATCH",
  partition = "main",
  project = "PROJECT",
  verbose = TRUE
)

Value

no value returned, create folders and other template scripts

Arguments

root

directory to create the template

template

template type (see notes)

case

case to be evaluated

env

name of the conda environment

scheduler

job scheduler used (SBATCH or PBS)

partition

partition name

project

project name

verbose

display additional information

Examples

Run this code
temp <- file.path(tempdir(),"POST")
template(root = temp,template = 'WRF', case = 'WRF-only')

Run the code above in your browser using DataLab