Closed nheeren closed 5 years ago
Depreciated numpy command seems to be the issue. Stefan will fix.
Division was not properly implemented at several places:
# instead of
C1 = A / B
C1[np.isnan(C)] = 0
# use
C2 = np.divide(A,B,out=np.zeros_like(B), where=B!=0)
Fixes #7
When running
RECC_ScenarioControl.py
the following error reoccurs for all scenarios & countries. This may be related to issue #5, because the error occurs near that code.