Skip to content

read LAI from sipnet.out if present - #4090

Merged
mdietze merged 2 commits into
PecanProject:developfrom
infotroph:fix-4089
Sep 2, 2026
Merged

read LAI from sipnet.out if present#4090
mdietze merged 2 commits into
PecanProject:developfrom
infotroph:fix-4089

Conversation

@infotroph

Copy link
Copy Markdown
Member

Description

Fixes #4089: Checks for an LAI column in sipnet.out and uses it if present; otherwise calculates it from leaf carbon content and leaf specific weight as previously done.

Will not change any model runs until PecanProject/sipnet#393 is implemented, but no need to wait for that before merging this.

@mdietze mdietze left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

side note before you close the associated issue -- would be good to check read/write.restart.SIPNET as having LAI likely simplifies the logic there. The LAI vs leafC inconsistency on read/write has been a pain for ~14 years and I regret not modifying SIPNET v1 way back then.

@mdietze
mdietze enabled auto-merge September 2, 2026 14:32
@mdietze
mdietze added this pull request to the merge queue Sep 2, 2026
Merged via the queue into PecanProject:develop with commit 0e81fe2 Sep 2, 2026
31 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sipnet] model2netcdf on segmented runs uses same SLA for all segments

2 participants