Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biomass_core.Rmd -> module manual. #58

Merged
merged 63 commits into from
Feb 24, 2022

Conversation

CeresBarros
Copy link
Member

  • Biomass_core.Rmd is now a "complete" module manual with details on functioning, differences from LANDIS-II BSE and a thorough explanation of module inputs

*TO DO:

  • perhaps a better explanation of module outputs will be necessary
  • Make Table 2 as wide as Table 1

@CeresBarros CeresBarros added the enhancement New feature or request label Feb 20, 2022
Copy link
Collaborator

@eliotmcintire eliotmcintire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Amazing job.

Biomass_core.R Outdated
@@ -873,8 +896,8 @@ Init <- function(sim, verbose = getOption("LandR.verbose", TRUE)) {
maxBiomass <- maxValue(sim$biomassMap)
if (maxBiomass < 1e3) {
if (verbose > 0) {
message(crayon::green(" Because biomassMap values are all below 1000, assuming that these should be\n",
" converted to tonnes/ha by multiplying by 100"))
message(crayon::green(" Because biomassMap values are all below 1000, assuming that these are on ton/ha.\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we change ton/ha to Mg/ha (or at least tonne/ha)?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually we use tonnes/ha below this, so if we use Mg we should update both instances.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tonnes/ha now

Biomass_core.R Outdated
expectsInput("species", "data.table",
desc = paste("a table that has species traits such as longevity, shade tolerance, etc.",
"Default is partially based on Dominic Cir and Yan's project"),
"Default is partially based on Dominic Cir and Yan Boulanger's project"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it's Dominic Cyr, not Cir

@CeresBarros CeresBarros merged commit 0186704 into PredictiveEcology:development Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants