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

Add crop residue removal #2297

Merged
merged 20 commits into from
Jan 10, 2024
Merged

Add crop residue removal #2297

merged 20 commits into from
Jan 10, 2024

Conversation

samsrabin
Copy link
Collaborator

@samsrabin samsrabin commented Dec 18, 2023

Description of changes

Adds parameter crop_residue_removal_frac (default 0) that represents what fraction of post-harvest crop residues (stems and leaves) should be removed to the crop product pool rather than being transferred to litter.

Specific notes

Contributors other than yourself, if any: @mwgraham, @danicalombardozzi

CTSM Issues Fixed (include github issue #): None

Are answers expected to change (and if so in what way)? Not if crop_residue_removal_frac is default 0.

Any User Interface Changes (namelist or namelist defaults changes)? Adds parameter crop_residue_removal_frac (default 0)

Testing performed, if any:
From 1-degree runs for AGU, see results with Rlo (residue removal 50%) compared to Roff (no residue removal; previous behavior). (Toff/Thi refer to tillage settings.)
Soil C:
screenshot_6744
NBP (relative to tillage and residue removal off; unitless):
screenshot_6745

Remaining tasks

  • Add documentation, to contribute to Documentation of new features needed #2113
  • (Waiting on review) Merge in latest tag and perform aux_clm testing
  • Eventually, but not now: Add the ability to read maps of residue removal fraction (e.g., Smerald et al., 2023).

@samsrabin samsrabin added the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Dec 18, 2023
@samsrabin samsrabin self-assigned this Dec 18, 2023
@samsrabin samsrabin marked this pull request as ready for review December 23, 2023 01:05
@samsrabin samsrabin removed the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Jan 4, 2024
call hist_addfld1d (fname='LIVESTEMC_TO_REMOVEDRESIDUEC', units='gC/m^2/s', &
avgflag='A', long_name='livestem C to removed residue C', &
ptr_patch=this%livestemc_to_removedresiduec_patch)

Copy link
Collaborator Author

@samsrabin samsrabin Jan 5, 2024

Choose a reason for hiding this comment

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

  • Turn these off by default

@slevis-lmwg slevis-lmwg self-requested a review January 5, 2024 22:18
Copy link
Contributor

@slevis-lmwg slevis-lmwg left a comment

Choose a reason for hiding this comment

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

@samsrabin and I went over this PR. During our call, Sam R decided to make new history fields inactive, and I agreed. Other than that, this PR looks ready.

A reminder for me: When matrixcn (#640) and this branch merge in main soon, I will need to update the matrixcn side to match the updates introduced by this PR.

Improvements to processing of crop calendar files

In python/ctsm/crop_calendars/, process_ggcmi_shdates.py and regrid_ggcmi_shdates.py are used to convert the raw GGCMI crop calendar files into CTSM-compatible versions. This update fixes some bugs, removes dependencies on the nco utilities, enables the use of surface datasets as template files (in addition to the existing ability to use CTSM output files), and standardizes things for consistency with other CTSM Python tools.
@samsrabin samsrabin merged commit cd6a021 into ESCOMP:master Jan 10, 2024
@slevis-lmwg slevis-lmwg mentioned this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants