Repository navigation
Conversation
|
Hi @infotroph, could you please check my PR #4129 matches the intended solution and let me know if any changes are needed? |
|
Hey @infotroph ,I’ve made the requested changes: used |
Co-authored-by: Chris Black <chris@ckblack.org>
infotroph
left a comment
There was a problem hiding this comment.
The code looks good now, thanks. One more request I neglected earlier: Can you add a line to NEWS.md?
Yaa Sure @infotroph, I add a Line in NEWS.md. |
Description
Updated
write_segmented_configs()so that consecutive crop segmentsthat map to the same PFT are merged instead of creating separate SIPNET
segments.
The segment boundaries are checked after the crop-code-to-PFT mapping,
and unnecessary transitions are removed. The retained segments continue
from the correct start time.
Motivation and Context
When different crop codes map to the same PFT,
write_segmented_configs()previously created separate segments and unnecessary SIPNET restarts.
This change avoids those unnecessary restarts when the PFT does not
actually change.
Fixes #4122
Review Time Estimate
Types of changes
Checklist