Skip to contents

Makes the required tibble that is used as scenario argument in the aquacrop_wrapper function.

Usage

design_scenario(
  name,
  Input_Date,
  Sim_Date = NULL,
  Plant_Date,
  IRRI,
  Soil,
  Plu,
  Tnx,
  ETo,
  FMAN = "default",
  GWT = 2,
  SW0 = "FC"
)

Arguments

name

character vector with names of the scenarios.

Input_Date

Date format vector with initial input dates for the different scenarios

Sim_Date

Date format vector with dates for starting simulation. if NULL, set to Plant_Date

Plant_Date

Date format vector with planting dates for the different scenarios

IRRI

character vector with names for the ID in the IRRI_s tibble

Soil

character vector with names of Soil tibble(s)

Plu

character vector with names of Precipitation tibble(s)

Tnx

character vector with names of Temperature tibble(s)

ETo

character vector with names of Reference Evapotranspiration tibble(s)

FMAN

character vector with names for the ID in the FMAN_s tibble

GWT

numeric vector with depth of ground water table in m

SW0

character vector with names for the ID in the SW0_s tibble. If "FC" initial conditions are taken from SOL_s tibble.

Value

A tibble with the different scenarios to run in AquaCrop