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

bugfix on harvesting of unoccupied canopy area #1339

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ckoven
Copy link
Contributor

@ckoven ckoven commented Feb 24, 2025

FATES is currently underestimating harvest rates relative to the forcing dataset, because it isn't transferring the correct amount of unoccupied space between tree crowns to the newly-logged patch when it applies harvest. This is because of a bug in some of the logic handling the edge case for when the forcing file specifies too-tiny logging rates, which is mistakenly zeroing out the rate of logging that is applied to the interstitial area. This PR fixes that.

Description:

There is logic to handle the case when the resulting secondary forest area would be smaller than the minimum FATES patch size. There is a mistaken else in that logic that shouldn't be there.

Collaborators:

Expectation of Answer Changes:

This will change answers when logging is active.

Checklist

If this is your first time contributing, please read the CONTRIBUTING document.

All checklist items must be checked to enable merging this pull request:

Contributor

  • The in-code documentation has been updated with descriptive comments
  • The documentation has been assessed to determine if updates are necessary

Integrator

  • FATES PASS/FAIL regression tests were run
  • Evaluation of test results for answer changes was performed and results provided

Documentation

Test Results:

CTSM (or) E3SM (specify which) test hash-tag:

CTSM (or) E3SM (specify which) baseline hash-tag:

FATES baseline hash-tag:

Test Output:

@glemieux glemieux self-requested a review February 27, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Under Review
Development

Successfully merging this pull request may close these issues.

1 participant