Replies: 2 comments 4 replies
-
Hi @selipot, have you seen the tutorial that @reint-fischer has written, on grounding/beaching? See https://docs.oceanparcels.org/en/latest/examples/documentation_stuck_particles.html. That could provide some useful background? As for which condition to use to flag beaching: ideally you'd use a mask file from the model that differentiates between land and ocean points (and use the right type of interpolation). If you don't have such a mask feel or can't make it, then a condition on the velocity could work, indeed. But that's always a bit hacky... |
Beta Was this translation helpful? Give feedback.
-
I asked about the problem of particles travelling on land a couple months ago and was advised to use C grid data. However, C grid data is extremely hard to come by and I have continued working with A grid data as, even when using C grid data, particles seemingly are still ending up on land due to a horizontal diffusivity field that I have added. To deal with this I have added a Boolean landmask. But it seems due to the way the A grid is structured the simulation isn't incorporating the landmask with my fieldset properly or not sampling from it properly. To deal with this I have tried using
which seems to make it work properly. I just wanted to ask if anyone could explain to me what the differences are between interp_method = 'nearest' vs. linear vs. linear_invdist_land_tracer vs. cgrid_tracer and when to use which one in what instance. I'm adding a number of other additional fields to my fieldset (e.g. a unbeaching field). Would all additionally added fields need to use an interpolation method when working with an A grid? I have also tried using the above
to avoid having to add a landmask altogether but this does not seem to work for me for some reason. Whether I add a slip boundary condition or not, particles end up on land. Could someone please elaborate what the differences are between these interpolation methods. And if I use a partial or full slip, would I still need to use one of the other interpolation methods for adding new fields? I would really appreciate any help as I am getting more confused the more I read about interpolation methods. Many thanks :) |
Beta Was this translation helpful? Give feedback.
-
I am currently dealing with some numerical drifters released with Parcels in a model HYCOM run and I want to assess a posteriori when my drifters actually become “grounded” or "beached" in the model. Because I did not specify any specific boundary condition in my experiment (sort of ignored that aspect), I think my particles become grounded by infinitesimally slowing down towards coasts. Has anyone devised an algorithm to flag such grounding? I am currently looking at an algorithm where I detect grounding if the particle speed is continuously less than a threshold value (0.003 m/s) for a number of days (1). Any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions