
CUMBA (Carbon Use Model for yield and Brix Assessment) is a daily time-step crop model for processing tomato. Given daily weather and an irrigation schedule, it computes thermal time, phenology and root growth, a three-layer soil-water balance, carbon accumulation modulated by heat / cold / water stress, and finally predicts fresh-fruit yield and Brix at harvest.
The package exposes two top-level entry points:
cumba_experiment() — run the model on observed experiments using a
user-supplied irrigation schedule (calibration mode).cumba_scenario() — run the model in deficit-irrigation scenario
mode, where irrigation is automatically triggered on phase-specific
water-stress thresholds.# install.packages("pak")
pak::pak("GeoModelLab/cumba")
library(cumba)
data(tomatoFoggia)
out <- cumba_experiment(
weather = tomatoFoggia$weather,
param = cumbaParameters,
irrigation_df = tomatoFoggia$irrigation,
estimateRad = TRUE,
estimateET0 = TRUE,
fullOut = FALSE
)
head(out)
A farmer-facing Shiny application built on cumba (field selection,
Open-Meteo weather, daily irrigation advice, Learning mode and an LLM
chatbot) is available at https://geomodelab.shinyapps.io/cumba/; it can
also be launched locally from the package source with
shiny::runApp("shinyApp/").
vignette("cumba-getting-started") — model overview and minimal example.vignette("cumba-experiment") — running observed experiments.vignette("cumba-scenario") — deficit-irrigation scenarios.vignette("estimate_et0_rad") — ET0 / radiation calibration workflow.Package website: https://geomodellab.github.io/cumba/.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.