AgMIP open source software development and use.
Calculates the soil water volumetric content for an array of soil layers based on a user-provided percent available water.
ICH2O(j) = SLLL(j) + ICSW%/100. * (SLDUL(j) - SLLL(j))
FILL, ICH20, PCTAWC(), 50
Sets initial soil water content at 50% of available water capacity.
The following DOME spreadsheet is using this function. Machakos Overlay DOME