Closed ytmben closed 6 months ago
Just to add, bizarrely enough, that now I tried running a simulation on different ocean current data, on which I have already ran simulations, and I am getting a very similar error:
ichthyop[severe] Index -2147483648 out of bounds for length 102 | java.lang.ArrayIndexOutOfBoundsException: Index -2147483648 out of bounds for length 102
Again, 102 is the length of my latitude dimension, which in this case is named lat. Very strange, but the reappearing thing is the Index -2147483648.
Hi @ytmben
Like this, I can't tell much. I will need some samples of your current and configuration files to reproduce the error.
@barriern
Hi @barriern , Thank you for such a quick reply. I will send them to you by WeTransfer, I will only send the first 9 current files so as to not overload you with files
Yotam
Hi Yotam.
I received your files but the coordinates files (MED-MFC_006_004_coordinates_crop_upper_lev.nc and MED-MFC_006_004_mask_bathy_crop_upper_lev.nc) are missing. So I can't run the model for the moment
Nicolass
Ah, I am so sorry, I must have forgot to attach them. I will send another email right away.
I suspect you inverted the longitude and latitudes of your release stain
In red, this is the release stain of your configuration file. It is out of the domain, which is why you have the out of bound error.
If you invert lon_stain and lat_stain parameter (blue point), it works.
Nicolas
Thank you for checking, it's weird that that would be the issue, since I tried changing my release stain or flipping it and I got the an error reading that my release stain was not in water. But maybe I made a silly mistake by mistyping a number. In any case, thank you for checking and for your patience, and I apologize for bothering you with such a silly thing. Yotam
It works as you say, Thank you for all your help
Hello,
I am trying to run a simulation similar to my last one, but for some reason once the simulation gets to my second ocean current .nc, it stops and gives me this error:
ichthyop[severe] Index -2147483648 out of bounds for length 72 | java.lang.ArrayIndexOutOfBoundsException: Index -2147483648 out of bounds for length 72
My lat dimension has a length of 72, but I can't understand to what it is referring to with Index -2147483648. I already checked if by mistake it's some wrong value in my lat dimension, but from what I could tell it isn't. Do you have any idea?
Thank you in advance, Yotam