Home >> Forums >> Mercator data

Mercator data

I don't succeed to run ichtyop with dataset come from Corpernicus. I recived this message :  Index 0 out of bounds for length 0 | java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0. But first, i have the last version of java second, i download netbeans, and then i put netcdf data in input folder with this name : mercator2d-Caraibe.nc and xml files in folder cfg  Caraibe_config_mercactor2d.xml.
How can i resolve this problem ?

Ichthyop version: 
Ichthyop 3.3alpha
Hydrodynamic dataset: 
Java version: 
Java SE 8
Operating system: 
Windows 10


Can you please provide your configuration file? Thanks


Thanks for your answer.

Hi Jerome

First, there is a mistake in the configuration file. You need to set the equal to "gridU file pattern" and "gridV file pattern" equal to "mercator2d-Caraibe.nc" (where both velocity fields are stored).

Second, I have encountered issues when initialising the run (I had to modify the code slightly). But still the results are "weird" (a lot of particles die at the domain edges).

Can you try to run the code with the updated configuration (filename + more precise release stain)? If it still does not work, I will provide you with the updated code.


Hi Nicolas,
Thanks a lot but when i do all modification, i recieved a new message : Ichthyop [servere] [Dataset]  Index -1 out of bounds for length 25 | java.lang.ArrayIndexOutOfBounds.
What do i do ?