Skip to content

Conversation

@chporter
Copy link
Contributor

While working on the modified Suleiman-Ritchie model, I came across a bug in SPAM. Mulch evaporation is accounted for twice and reduces soil evaporation too much. This commit fixes the problem. It does have an impact on some experiments:

  • lentil - biggest effect of any crop -7.5% CWAM, -8.4% HWAM, 2 days MDAT for one trt
  • chia - 2 days MDAT but <2% CWAM and HWAM
  • cowpea - 1 day MDAT but negligable effect on other variables.
  • soybean - one trt with -2.7% HWAM, 1 day MDAT
  • Sunflower - big diffs but these reflect the debug vs release and other differences that we have not yet tracked down.
  • Safflower - -2 days MDAT, -3.8% HWAM

It is a bug, but minor. We should probably fix it but need to thoroughly assess impact.

- This commit fixes the problem, but it has a big impact.
- Should we keep it?

(cherry picked from commit 7e54a28d368e5d86d01f3de60176b147913e4c6c)
Copy link
Contributor

@fabiooliveira72 fabiooliveira72 left a comment

Choose a reason for hiding this comment

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

Reviewed and tested as request by Cheryl and waiting reply through email.

@chporter
Copy link
Contributor Author

@fabiooliveira72, thanks for the analyses. The results are mixed, some experiments are better, some worse. I think overall, the impacts are minimal and we should accept the bugfix. Not worth recalibrating anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants