Index: wflow-py/wflow/wflow_bmi.py =================================================================== diff -u -r8e380ffbfaedb9df9fccee3c03ebb53e346d1a71 -r043cc93152a2b84e31b26a39f523e4930957b981 --- wflow-py/wflow/wflow_bmi.py (.../wflow_bmi.py) (revision 8e380ffbfaedb9df9fccee3c03ebb53e346d1a71) +++ wflow-py/wflow/wflow_bmi.py (.../wflow_bmi.py) (revision 043cc93152a2b84e31b26a39f523e4930957b981) @@ -4,6 +4,7 @@ import logging import wflow.bmi as bmi +import numpy as np #TODO: Set log level also ini to be able to make quiet or non-quiet runs #TODO: set re-init in the ini file to be able to make cold start runs @@ -196,6 +197,7 @@ # otherwise we have to loop over all dimensions slices = [np.s_[i:(i+n)] for i,n in zip(start, count)] tmp[slices] + self.set_var(name, name, tmp)