Skip to contents

Lifecycle: experimental PEcAn.RothC status badge

PEcAn Coupler for the RothC Model

Work in progress. This package is following PEcAn’s standard iterative process toward full model coupling:

    • Partial: Only soil C written
    • Partial: Evaporation still hard-coded as 0

Example

See inst/example_workflow for a set of scripts to run multisite ensemble simulations of soil organic carbon content. TODO: consider converting to a vignette.

Installation

You can install the development version of PEcAn.RothC from r-universe:

options(
  repos = c(
    getOption("repos"),
    pecanproject = 'https://pecanproject.r-universe.dev'
  )
)
install.packages('PEcAn.RothC')

Or you can install directly from GitHub with the remotes package:

``` r remotes::install_github(‘pecanproject/pecan’, subdir = “models/RothC”)

If you have a local clone of the PEcAn development repository, follow the directions provided with PEcAn (in short: use make install).