You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error message****************************
Step Date Discharge
90 30/03/1980 0.01 Traceback (most recent call last):
File "D:\GitHub\CWatM\run_cwatm.py", line 39, in
main(settings, args)
File "D:\GitHub\CWatM\cwatm\run_cwatm.py", line 334, in main
success, last_dis = CWATMexe(settingsfile[0])
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GitHub\CWatM\cwatm\run_cwatm.py", line 149, in CWATMexe
stCWATM.run()
File "D:\GitHub\CWatM\cwatm\management_modules\dynamicModel.py", line 45, in run
self.step()
File "D:\GitHub\CWatM\cwatm\management_modules\dynamicModel.py", line 31, in step
self._model.dynamic()
File "D:\GitHub\CWatM\cwatm\cwatm_dynamic.py", line 154, in dynamic
self.output_module.dynamic()
File "D:\GitHub\CWatM\cwatm\management_modules\output.py", line 459, in dynamic
outMap[map][i][2] = writenetcdf(netfile, varname,"", "undefined", eval(in1), date1, j+1, flag1, True,12)
^^^^^^^^^
File "", line 1, in
TypeError: 'int' object is not subscriptable
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi, when I output the environment flow, the following error is reported. How should I handle this?
Configuration of setting.ini**************
#-------------------------------------------------------
[ENVIRONMENTALFLOW]
#-------------------------------------------------------
calc_ef_afterRun = True
OUT_Dir = $(FILE_PATHS:PathOut)
OUT_MAP_12month = MMF, MQ90, EF_VMF
Error message****************************
Step Date Discharge
90 30/03/1980 0.01 Traceback (most recent call last):
File "D:\GitHub\CWatM\run_cwatm.py", line 39, in
main(settings, args)
File "D:\GitHub\CWatM\cwatm\run_cwatm.py", line 334, in main
success, last_dis = CWATMexe(settingsfile[0])
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GitHub\CWatM\cwatm\run_cwatm.py", line 149, in CWATMexe
stCWATM.run()
File "D:\GitHub\CWatM\cwatm\management_modules\dynamicModel.py", line 45, in run
self.step()
File "D:\GitHub\CWatM\cwatm\management_modules\dynamicModel.py", line 31, in step
self._model.dynamic()
File "D:\GitHub\CWatM\cwatm\cwatm_dynamic.py", line 154, in dynamic
self.output_module.dynamic()
File "D:\GitHub\CWatM\cwatm\management_modules\output.py", line 459, in dynamic
outMap[map][i][2] = writenetcdf(netfile, varname,"", "undefined", eval(in1), date1, j+1, flag1, True,12)
^^^^^^^^^
File "", line 1, in
TypeError: 'int' object is not subscriptable
All reactions