Skip to content

Commit

Permalink
Added irr_applied to water balance error check.
Browse files Browse the repository at this point in the history
  • Loading branch information
ted committed May 16, 2019
1 parent 5ff0a7a commit 211fa1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vic/drivers/shared_all/src/put_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ put_data(all_vars_struct *all_vars,
/********************
Check Water Balance
********************/
inflow = out_data[OUT_PREC][0] + out_data[OUT_LAKE_CHAN_IN][0]; // mm over grid cell
inflow = out_data[OUT_PREC][0] + out_data[OUT_LAKE_CHAN_IN][0] +
out_data[OUT_IRR_APPLIED][0]; // mm over grid cell
outflow = out_data[OUT_EVAP][0] + out_data[OUT_RUNOFF][0] +
out_data[OUT_BASEFLOW][0]; // mm over grid cell
storage = 0.;
Expand Down

0 comments on commit 211fa1c

Please sign in to comment.