compute_spraytime: Determine spray time for wetting a sample

View source: R/compute_spraytime.R

compute_spraytimeR Documentation

Determine spray time for wetting a sample

Description

Once the optimum water content is determined, the bulk mixture must be brought to this water content. compute_spraytime() allows the user to pass a data frame of existing water contents (w_target) and target water contents; the return value is the existing data frame with water masses and spray times added. This makes the water addition process accurate and precise while keeping the workflow simple.

Usage

compute_spraytime(df, OD_soil_mass_g = 8000, spray_flo_rate_cm3_sec = 2.4)

Arguments

df

Data fram containing columns for the unique identifier (typically sample_name) and the w_extant and w_target values (the latter two being gravimetric water contents as decimals)

OD_soil_mass_g

the mass of soil to prepare, in terms of oven-dry mass. Defaults to 8000 g (enough to pack three chunk cylinders to a depth of 2", including 0.17" of over-packed soil, and a few hundred g remaining for daily repairs)

spray_flo_rate_cm3_sec

flow rate of electric spray bottle, in cm3 per second.

Value

Data frame containing the original columns, with columns added for the total water quantity and a spray time.


evanmascitti/soiltestr documentation built on Oct. 6, 2022, 5:32 p.m.