-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* save the original materials from JZ * save a functional copy of JZ's legacy work * save work in progress * Update the naming * passing checks * passing jz old new comparison, add check to make sure the state vector is set up correctly. * passing checks and tests * saving progress * Update the configuration tables. * update the model configurations * Expand on R package documenation related to model configurations. * update the read me * Correct the author section. * Update to reflect the new Read Me work flow * update the model configurations * Add model configs, documenation, and color guide. * Add colorMEMCPalette function example * Update exmples for the manucript text * update to pass tests and checks
- Loading branch information
Showing
106 changed files
with
3,013,843 additions
and
7,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# MEMC 0.1.0 | ||
# MEMC 0.1.0.999999 | ||
|
||
* Added a `NEWS.md` file to track changes to the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#### Documentation objects | ||
|
||
#' Configurations | ||
#' | ||
#' The various model configurations that are | ||
#' shipped with the MEMC package, such as: | ||
#' \code{BAMS_model}, \code{COMISSION_model}, | ||
#' \code{CORPSE_model}, \code{MEND_model}, | ||
#' \code{MIMCS_model}, and \code{MEMS_model}. | ||
#' All supported model configurations are listed | ||
#' in \code{model_configs}. | ||
#' | ||
#' These model configurations can be used with the \code{solve_model} function to | ||
#' complete the desired model simulations. | ||
#' @name configurations | ||
#' @seealso dynamics, fluxes | ||
#' | ||
#' @examples | ||
#' ## Using solve_model with the MEND_model configuration. | ||
#' out <- solve_model(mod = MEND_model, time = 0:10) | ||
NULL | ||
|
||
|
||
#' MEMC supported SOM flux dynamics | ||
#' | ||
#' These identifiers correspond to the various dynamics users can select | ||
#' from when setting up a model configuration using the \code{\link{configure_model}} function. | ||
#' | ||
#' @section Dynamics: | ||
#' \describe{The MEMC package allows users to select the dynamics used for DOMuptake, POMdecomp, and | ||
#' MBdecay from the following list: | ||
#' \item{MM}{Michaelis–Menten kinetics} | ||
#' \item{RMM}{Reverse Michaelis-Menten kinetics, as in (Schimel and Weintraub, 2003) and (Sulman et al. 2014)} | ||
#' \item{ECA}{Equilibrium Chemistry Approximation, based on RESOM (Tang and Riley, 2014)} | ||
#' \item{DD}{Density Dependent decomposition (only applicable for MB decay)} | ||
#' \item{LM}{Linear odel, as in (Robertson et al. 2019)} | ||
#' } | ||
#' @name dynamics | ||
#' @references \href{doi:10.1016/s0038-0717(03)00015-4}{Schimel, J. P., and M. N. Weintraub (2003), The implications of exoenzyme activity on microbial carbon and nitrogen limitation in soil: A theoretical model, Soil Biol. Biochem., 35(4), 549–563, doi:10.1016/s0038-0717(03)00015-4} | ||
#' @references \href{doi:10.1038/nclimate2436}{Sulman, B. N., R. P. Phillips, A. C. Oishi, E. Shevliakova, and S. W. Pacala (2014), Microbe-driven turnover offsets mineral-mediated storage of soil carbon under elevated CO2, Nat. Clim. Change, 4(12), 1099–1102, doi:10.1038/nclimate2436.} | ||
#' @references \href{https://doi.org/10.1038/nclimate2438}{Tang, J., Riley, W. Weaker soil carbon–climate feedbacks resulting from microbial and abiotic interactions. Nature Clim Change 5, 56–60 (2015). https://doi.org/10.1038/nclimate2438} | ||
#' @references \href{https://doi.org/10.5194/bg-16-1225-2019}{Robertson, A. D., Paustian, K., Ogle, S., Wallenstein, M. D., Lugato, E., and Cotrufo, M. F.: Unifying soil organic matter formation and persistence frameworks: the MEMS model, Biogeosciences, 16, 1225–1248, https://doi.org/10.5194/bg-16-1225-2019, 2019.} | ||
#' @seealso configurations, fluxes | ||
NULL | ||
|
||
|
||
|
||
#' Flexible SOM fluxes | ||
#' | ||
#' Description of the flexible SOM fluxes that users may change with \code{\link{configure_model}} function. | ||
#' | ||
#' \describe{The MEMC package supports flexible definitions for the following SOM fluxes: | ||
#' \item{DOMuptake}{dissovled organic uptake by microbial biomass, the flux describing the DOM that is broken down for microbial biomoass uptake.} | ||
#' \item{POMdecomp}{particulate oranic matter decomposition, the flux describing the POM that is broken down into DOM.} | ||
#' \item{MBdecay}{microbial biomass decay, the flux descirbing the micorbial biomass mortality/turn over.} | ||
#' } | ||
#' @name fluxes | ||
#' @seealso configurations, fluxes, dynamics | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.