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
I have a question about whether the inflow discharge timeseries can be input as monthly timestep. I tried to input monthly scale data, but the model has some error as follows:
ERRORS:
b'D:\Users\cwj\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\core\fromnumeric.py:86: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\r\n return ufunc.reduce(obj, axis, dtype, out, **passkwargs)\r\nTraceback (most recent call last):\r\n File "E:\cwatm_model\CwatM_model\CWatM_version1.06\tutorial\CWATM_model\CWatM\cwatm\hydrological_modules\inflow.py", line 176, in dynamic\r\n self.var.inflowM3[loc] = self.var.inflowTs[str(key)][index] * self.var.DtSec\r\nIndexError: index 108 is out of bounds for axis 0 with size 108\r\n'.
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
-
Hi, everyone!
I have a question about whether the inflow discharge timeseries can be input as monthly timestep. I tried to input monthly scale data, but the model has some error as follows:
ERRORS:
b'D:\Users\cwj\AppData\Local\Programs\Python\Python38\lib\site-packages\numpy\core\fromnumeric.py:86: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\r\n return ufunc.reduce(obj, axis, dtype, out, **passkwargs)\r\nTraceback (most recent call last):\r\n File "E:\cwatm_model\CwatM_model\CWatM_version1.06\tutorial\CWATM_model\CWatM\cwatm\hydrological_modules\inflow.py", line 176, in dynamic\r\n self.var.inflowM3[loc] = self.var.inflowTs[str(key)][index] * self.var.DtSec\r\nIndexError: index 108 is out of bounds for axis 0 with size 108\r\n'.
I want some help to solve this problem.
Beta Was this translation helpful? Give feedback.
All reactions