Skip to content

Commit 50c0047

Browse files
Add biomass and HI to final_stats
Added biomass, biomass_ns, harvest_index and harvest_index_adj to the final_stats output for OCI runs.
1 parent 7791ba0 commit 50c0047

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

aquacrop/entities/output.py

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ def __init__(self, time_span, initial_th):
3232
"crop Type",
3333
"Harvest Date (YYYY/MM/DD)",
3434
"Harvest Date (Step)",
35+
'biomass',
36+
'biomass_ns',
37+
'harvest_index',
38+
'harvest_index_adj',
3539
"Dry yield (tonne/ha)",
3640
"Fresh yield (tonne/ha)",
3741
"Yield potential (tonne/ha)",

aquacrop/timestep/run_single_timestep.py

+4
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,10 @@ def solution_single_time_step(
547547
Crop_Name,
548548
clock_struct.step_end_time,
549549
clock_struct.time_step_counter,
550+
NewCond.biomass,
551+
NewCond.biomass_ns,
552+
NewCond.harvest_index,
553+
NewCond.harvest_index_adj,
550554
NewCond.DryYield,
551555
NewCond.FreshYield,
552556
NewCond.YieldPot,

0 commit comments

Comments
 (0)