Skip to content

Make Stem dynamics differentiable/vectorized#79

Merged
SCiarella merged 6 commits intomainfrom
stem
Feb 26, 2026
Merged

Make Stem dynamics differentiable/vectorized#79
SCiarella merged 6 commits intomainfrom
stem

Conversation

@SCiarella
Copy link
Collaborator

Closes #46.


Notice that specific test data for the Stem dynamics module do not exist in wofost72, so test_stem_dynamics.py implemented in this PR mainly checks the consistency of this new implementation (there are only a few assert_is_close statements) .
However, the integration test test_wofost_pp_with_stem_dynamics confirms that this new module numerically reproduces the correct results when used in combination with all the other wofost72's modules.

@SCiarella SCiarella marked this pull request as ready for review February 24, 2026 09:05
Copy link
Collaborator

@SarahAlidoost SarahAlidoost left a comment

Choose a reason for hiding this comment

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

@SCiarella Thanks! 👍 I left some comments/suggestions. Main issues:

  • the sonar reliability issue about shape, I wonder if my suggestion fixes the issue, let's see 🤔
  • including output variable WST in the gradient tests

If something is unclear, let me know.

@sonarqubecloud
Copy link

Copy link
Collaborator

@SarahAlidoost SarahAlidoost left a comment

Choose a reason for hiding this comment

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

@SCiarella thanks for addressing the comments, I see sonar is happy now 😄 let's merge 🚀

@SCiarella SCiarella merged commit faaecc2 into main Feb 26, 2026
11 checks passed
@SCiarella SCiarella deleted the stem branch February 26, 2026 10:49
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.

[Task]: Make Stem dynamics differentiable and efficient

2 participants