Updates to fix gcamdata issue with allocation of forest land #1240
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes an issue with breaking out regions as a result of allocation of managed forests. To use this feature, the user should follow the steps outlined below,
aglu.USE_BEFORE_ADJUST_FOREST_FILE
toFALSE
module_aglu_LB123.LC_R_MgdPastFor_Yh_GLU
. This can be done usingdriver(stop_after = "module_aglu_LB123.LC_R_MgdPastFor_Yh_GLU")
L123.LC_bm2_R_MgdFor_Yh_GLU_beforeadjust
in thegcamdata/outputs/
foldergcamdata/inst/extdata/aglu/LDS/L123.LC_bm2_R_MgdFor_Yh_GLU_beforeadjust
. Just copy the contents and don't replace the whole file i.e. make sure the metadata does not change.aglu.USE_BEFORE_ADJUST_FOREST_FILE
toTRUE
devtools::load_all(".")
driver
ordriver_drake
as ususal