Index out of bounds ERROR #1514
-
Hello there, I was running this 3D simulation for the years 2008 to 2021, everything ran fine until the year of 2018, but starting from the year 2019, I received an error. I've already checked my velocity field data and everything seems okay. Does anyone have any ideas on what I might be doing wrong? This is my code for the pset and execution, below is the error I get when running from 2019 onwards. npart_lat = 25 lons = np.linspace(-23, -23, npart_lat) periodos = ['DJF','MAM','JJA','SON'] for ano in range(2019,2022):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Dear @imariaguiar, thanks for using Parcels and for reporting this problem. From the error message, it seems that something went wrong with the time dimension when creating your By the way, it seems that you use a very old version of Parcels; is there a reason for that? We are now at v3.0.2; I recommend running with the latest version as much as possible. Note that e.g. |
Beta Was this translation helpful? Give feedback.
Dear @imariaguiar, thanks for using Parcels and for reporting this problem. From the error message, it seems that something went wrong with the time dimension when creating your
fieldset
. Did you usetimestamps
, by any chance? Could it be that one variables has fewer time-slices than another?By the way, it seems that you use a very old version of Parcels; is there a reason for that? We are now at v3.0.2; I recommend running with the latest version as much as possible. Note that e.g.
recovery
has changed after v3, see https://docs.oceanparcels.org/en/latest/examples/tutorial_kernelloop.html#Working-with-Status-Codes