Skip to content

Commit

Permalink
fix bug with irrigation limits that were not correctly applied
Browse files Browse the repository at this point in the history
  • Loading branch information
jensdebruijn committed Nov 20, 2024
1 parent 0e95fa8 commit b5a24f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geb/agents/crop_farmers.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def abstract_water(
if potential_irrigation_consumption_farmer_m3 > 0.0:
# if irrigation limit is active, reduce the irrigation demand
if not np.isnan(remaining_irrigation_limit_m3[farmer]):
adjust_irrigation_to_limit(
potential_irrigation_consumption_farmer_m3 = adjust_irrigation_to_limit(
farmer=farmer,
day_index=day_index,
remaining_irrigation_limit_m3=remaining_irrigation_limit_m3,
Expand Down

0 comments on commit b5a24f1

Please sign in to comment.