Skip to content

Commit

Permalink
Fixed output generation for repwateruseGauges option
Browse files Browse the repository at this point in the history
  • Loading branch information
doc78 committed Aug 27, 2024
1 parent 280cfe8 commit 1ff0024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lisflood/hydrological_modules/waterabstraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def dynamic(self):
# 12.4 Bookkeeping for over-all water balance, and repwateruseGauges and repwateruseSites
self.var.cumulated_CH_withdrawal += self.var.withdrawal_CH_actual_M3 # bookkeeping for over-all water balance
if (option['repwateruseGauges']) or (option['repwateruseSites']):
self.var.WUseSumM3 = accuflux(self.var.Ldd, decompress(self.var.withdrawal_CH_actual_M3)*self.var.InvDtSec)
self.var.WUseSumM3 = compressArray(accuflux(self.var.Ldd, decompress(self.var.withdrawal_CH_actual_M3)*self.var.InvDtSec))

# ********************************************************************************************
# 13. Actual surface water abstractions (except prescribed paddy rice)
Expand Down

0 comments on commit 1ff0024

Please sign in to comment.