Replies: 1 comment
-
Hi @kaylapng, thanks for using Parcels! Your error seems to be because your particles are started in a region of the ocean (71W, 41N) where you don't have velocity data for. What domain is your hydrodynamic data? Could it be that your hydrodynamic data is between 0E and 360E? What happens if you add 360 to your initial longitudes for the particles? initial_lons = [lon+360 for lon in mpaa['Longitude'].values] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Hi, I am trying to track particles using ocean currents and drop them in by delaying their start times. What should be the format of my .nc file for my fieldset? Right now, my .nc file downloaded from OSCAR has variables (time, lat, lon, u, v), where u and v have dimensions (time, latitude, and longitude). However, the currents aren't applying, and when I print pset for the final positions, I'm getting the same coordinates as the start.
I'm also getting a field sampled out of bounds error which I'm not understanding because I did not set bounds. If anyone has any ideas it would be much appreciated--i've been stuck for days. Thank you very much for your time and assistance and apologies for the messiness.
Supporting code & Error Message
Beta Was this translation helpful? Give feedback.
All reactions