Replies: 3 comments 5 replies
-
Hi @soizicg, thanks for using Parcels and particularly your enthusiastic testing of the CROCO version! I had a quick look through your code, and one thing I noticed is that you use In general, it's better to change particle_ddepth += depth5 - particle.depth Does that help? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the directions, I have found them and attach them: |
Beta Was this translation helpful? Give feedback.
-
@erikvansebille, thanks for pointing me to the cfiles, I have found the issue. Apologies for that, but thank you I have learn a lot! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hello,
I have been testing the new implementation of croco and it's really good to read ROMS file. Advection of particles seems to behave really well, thanks for adding that option into Parcels!
However it looks like some features are not completely working yet. For my application I need to sample the temperature at the particle position, but it sends me the following error:
In this test (code below), the temperature is not sampled before 2 days of simulation, and that's when the error is produced (67% of the 3 days simulation). The particle is kept at a depth of 50 m and is relocated at at the seabed (considered as the depth z = -0.9 * h) if the bathymetry h is shallower at the particle's position. In the
AdvectionRK4_cst3D_CROCO
kernel, I usedfieldset.UVW
becausefieldset.UV
doesn't work yet with a croco fieldset.Note that the following code works if I use a ScipyParticle class instead of JITParticle, but the running time is very long for a 70 days simulation. I was wondering if there is a way to ensure it's also working with JITParticle?
Beta Was this translation helpful? Give feedback.
All reactions