PredictiveEcology / CBM_core

Other
0 stars 1 forks source link

check on processes #2

Closed cboisvenue closed 3 years ago

cboisvenue commented 4 years ago

from https://github.com/cboisvenue/spadesCBM/issues/26

Recent spadesCBMcore module clean-ups means that we have to re-check that all annual processes are happening correctly and that all the disturbances matrices are also applied correctly. Potentially useful functions in the carbonara functions are: ctransfer() cTransferDist()

They were developed to double check the manual (R-scripted) carbon transfers applied in the SK branch prior to the error fix in the c++ scripts. These two functions need much updating but might be (or not) a good place to start automated checks.

cboisvenue commented 3 years ago

There was a function added to CBMutils::checkTransactions that checks all processes post simulation. It requires the simList and the number of randomly selected pixelGroups you want to check.