-
Notifications
You must be signed in to change notification settings - Fork 32
SIP217 Update harvest and fert event handling #270
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e3ac815
Add eventSoil fluxes for litter-pool=off handling
Alomir dddc623
Update harvest and fert to handle litter-pool=off
Alomir 04434e5
Merge branch 'master' into SIP217-Update-harvest-event-handling
Alomir 599644d
Merge branch 'master' into SIP217-Update-harvest-event-handling
Alomir 90c86d9
Merge branch 'master' into SIP217-Update-harvest-event-handling
Alomir e4fbd6b
Update for improved harv/fert handling
Alomir cfd5bde
Updates to handle nitrogen and litter_pool
Alomir a96f948
Fix (attempt#1) linux test issue
Alomir ed3d4c1
Fix attempt for locally nonreproducible failure
Alomir 80451d9
Fix attempt for locally nonreproducible failure
Alomir 56caf39
Fix attempt for locally nonreproducible failure
Alomir 7153393
Fix attempt for locally nonreproducible failure
Alomir 75eb5c8
Fix attempt for locally nonreproducible failure
Alomir 5a3870d
Fix attempt for locally nonreproducible failure
Alomir a88e9d1
Fix attempt for locally nonreproducible failure
Alomir f416fa3
Fix attempt for locally nonreproducible failure
Alomir 472274c
Fix attempt for locally nonreproducible failure
Alomir 5c55773
Fix attempt for locally nonreproducible failure
Alomir d21464c
Fix attempt for locally nonreproducible failure
Alomir 8b065bd
Fix attempt for locally nonreproducible failure
Alomir a95dc26
Fix attempt for locally nonreproducible failure
Alomir fd1ef18
More test failure investigations
Alomir 5c15659
Restore harvest write
Alomir a9dba8d
Debugging change for linux
Alomir bfcc12b
debug action
Alomir 1ba5b86
Make debug step manual
Alomir 74c7533
Make debug step manual pt2
Alomir ee3b692
Make debug step manual pt3
Alomir 9c2cd34
Merge branch 'master' into SIP217-Update-harvest-event-handling
Alomir af5135f
Merge branch 'master' into SIP217-Update-harvest-event-handling
Alomir 1c16eea
Update events.c
dlebauer 9f0ebe4
Update for PR feedback
Alomir 2231134
Update for harvest output fix
Alomir 28342aa
Add retricted environment
Alomir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ on: | |
| - 'docs/**' | ||
|
|
||
| jobs: | ||
|
|
||
| # Build and Integration Test | ||
| build: | ||
| strategy: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: Setup Linux Debug Session | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| debug_enabled: | ||
| type: boolean | ||
| description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | ||
| required: false | ||
| default: false | ||
|
|
||
| jobs: | ||
| # Debug environment | ||
| debug: | ||
| runs-on: ubuntu-latest | ||
| environment: debug | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Install gdb | ||
| if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | ||
| run: sudo apt install gdb | ||
| - name: Setup tmate session | ||
| if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | ||
| uses: mxschmitt/action-tmate@v3 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
tests/sipnet/test_events_infrastructure/events_output_header.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| year day type param_name=delta[,param_name=delta,...] | ||
| 2023 65 plant fluxes.eventLeafC=6.00,fluxes.eventWoodC=8.00,fluxes.eventFineRootC=10.00,fluxes.eventCoarseRootC=12.00,fluxes.eventInputC=36.00,fluxes.eventInputN=0.00 | ||
| 2023 70 irrig fluxes.eventSoilWater=10.00,fluxes.eventEvap=0.00 | ||
| 2023 200 harv fluxes.eventLitterC=10.93,fluxes.eventLeafC=-11.86,fluxes.eventWoodC=-9.50,fluxes.eventFineRootC=-7.46,fluxes.eventCoarseRootC=-7.78,fluxes.eventLitterN=0.00,fluxes.eventOutputC=25.66,fluxes.eventOutputN=0.00 | ||
| 2023 200 harv fluxes.eventSoilC=3.81,fluxes.eventLitterC=7.12,fluxes.eventLeafC=-11.86,fluxes.eventWoodC=-9.50,fluxes.eventFineRootC=-7.46,fluxes.eventCoarseRootC=-7.78,fluxes.eventSoilOrgN=0.00,fluxes.eventLitterN=0.00,fluxes.eventOutputC=25.66,fluxes.eventOutputN=0.00 | ||
| 2024 65 plant fluxes.eventLeafC=6.00,fluxes.eventWoodC=10.00,fluxes.eventFineRootC=14.00,fluxes.eventCoarseRootC=18.00,fluxes.eventInputC=48.00,fluxes.eventInputN=0.00 | ||
| 2024 70 irrig fluxes.eventSoilWater=5.00,fluxes.eventEvap=5.00 | ||
| 2024 200 harv fluxes.eventLitterC=8.51,fluxes.eventLeafC=-2.78,fluxes.eventWoodC=-3.27,fluxes.eventFineRootC=-5.04,fluxes.eventCoarseRootC=-5.93,fluxes.eventLitterN=0.00,fluxes.eventOutputC=8.51,fluxes.eventOutputN=0.00 | ||
| 2024 200 harv fluxes.eventSoilC=5.48,fluxes.eventLitterC=3.02,fluxes.eventLeafC=-2.78,fluxes.eventWoodC=-3.27,fluxes.eventFineRootC=-5.04,fluxes.eventCoarseRootC=-5.93,fluxes.eventSoilOrgN=0.00,fluxes.eventLitterN=0.00,fluxes.eventOutputC=8.51,fluxes.eventOutputN=0.00 |
4 changes: 2 additions & 2 deletions
4
tests/sipnet/test_events_infrastructure/events_output_no_header.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| 2023 65 plant fluxes.eventLeafC=20.00,fluxes.eventWoodC=10.00,fluxes.eventFineRootC=8.00,fluxes.eventCoarseRootC=6.00,fluxes.eventInputC=44.00,fluxes.eventInputN=0.00 | ||
| 2023 70 irrig fluxes.eventSoilWater=10.00,fluxes.eventEvap=0.00 | ||
| 2023 200 harv fluxes.eventLitterC=24.80,fluxes.eventLeafC=-9.60,fluxes.eventWoodC=-6.40,fluxes.eventFineRootC=-9.60,fluxes.eventCoarseRootC=-9.60,fluxes.eventLitterN=0.00,fluxes.eventOutputC=10.40,fluxes.eventOutputN=0.00 | ||
| 2023 200 harv fluxes.eventSoilC=24.80,fluxes.eventLitterC=0.00,fluxes.eventLeafC=-9.60,fluxes.eventWoodC=-6.40,fluxes.eventFineRootC=-9.60,fluxes.eventCoarseRootC=-9.60,fluxes.eventSoilOrgN=0.00,fluxes.eventLitterN=0.00,fluxes.eventOutputC=10.40,fluxes.eventOutputN=0.00 | ||
| 2024 65 plant fluxes.eventLeafC=20.00,fluxes.eventWoodC=10.00,fluxes.eventFineRootC=8.00,fluxes.eventCoarseRootC=6.00,fluxes.eventInputC=44.00,fluxes.eventInputN=0.00 | ||
| 2024 70 irrig fluxes.eventSoilWater=5.00,fluxes.eventEvap=5.00 | ||
| 2024 200 harv fluxes.eventLitterC=24.28,fluxes.eventLeafC=-20.64,fluxes.eventWoodC=-11.76,fluxes.eventFineRootC=-5.76,fluxes.eventCoarseRootC=-4.96,fluxes.eventLitterN=0.00,fluxes.eventOutputC=18.84,fluxes.eventOutputN=0.00 | ||
| 2024 200 harv fluxes.eventSoilC=24.28,fluxes.eventLitterC=0.00,fluxes.eventLeafC=-20.64,fluxes.eventWoodC=-11.76,fluxes.eventFineRootC=-5.76,fluxes.eventCoarseRootC=-4.96,fluxes.eventSoilOrgN=0.00,fluxes.eventLitterN=0.00,fluxes.eventOutputC=18.84,fluxes.eventOutputN=0.00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| 2024 70 harv 0.1 0.2 0.3 0.4 | ||
| 2024 70 harv 0.25 0.25 0.25 0.25 | ||
| 2024 70 harv 0.2 0.1 0.2 0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.