README.md

cumba cumba logo

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:

Installation

# install.packages("pak")
pak::pak("GeoModelLab/cumba")

A first run

library(cumba)

data(tomatoFoggia)

out <- cumba_experiment(
  weather       = tomatoFoggia$weather,
  param         = cumbaParameters,
  irrigation_df = tomatoFoggia$irrigation,
  estimateRad   = TRUE,
  estimateET0   = TRUE,
  fullOut       = FALSE
)

head(out)

Web application

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/").

Documentation

Package website: https://geomodellab.github.io/cumba/.



Try the cumba package in your browser

Any scripts or data that you put into this service are public.

cumba documentation built on Nov. 19, 2026, 5:11 p.m.