Skip to contents

Simulates the application of chemicals to rice paddies, given a previous calculation of local hydrological balance as input.

Usage

ca(
  hbl,
  ca_schedules_df = erahumed::albufera_ca_schedules,
  height_thresh_cm = 2
)

Arguments

hbl

an object of class "hb_local" - see hb_local.

ca_schedules_df

a data.frame following the template of albufera_ca_schedules.

height_thresh_cm

a positive number. Upper limit of paddy water levels required for ground applications of chemicals. Expressed in centimeters.

Value

an object of class "erahumed_ca". This is essentially a data.frame with the same columns of the output of hb_local(), plus additional columns named as the chemicals listed in ca_schedules_df, each of which provides the (daily) time series of chemicals applications, expressed in kilograms.