You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am simulating tracks for each id on my set of sea turtle tracking data. The aim is to compute 50 simulation for each track.
The loop I built stops for some of my ids because of this warning:
"In surrogateAR(arfit, tp$xs, tp$ts, point.check = gshhsMask()) :
Failed to find acceptable point at step 1. If surrogateAR fails to return a track, this might indicate a location from which it is not possible to step to another, valid location."
Is there some alternative solution to iterate the function?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @martinmargh - thanks for the note. It sounds like the problem is not with the loop, it seems more likely that those particular tracks are causing problems for other reasons. If you take one of the tracks that is failing, and just try and simulate tracks directly for it (not in a loop), does it still fail? (I am expecting that it does). The problem might be the initial location for those tracks. If the first location is too far away from the ocean (too far inland), for example, then it might be impossible for the simulator to find a valid second location, because every location that it tries still falls on land and is rejected. If that is the issue, one solution might be to trim off the first few locations of the real track (and have it start from closer to the water).
If you have no luck, please post one of the problem tracks (or least the first part of it, starting from its initial location up to some point that is clearly at sea) and we can check.
Hello! I am simulating tracks for each id on my set of sea turtle tracking data. The aim is to compute 50 simulation for each track.
The loop I built stops for some of my ids because of this warning:
"In surrogateAR(arfit, tp$xs, tp$ts, point.check = gshhsMask()) :
Failed to find acceptable point at step 1. If surrogateAR fails to return a track, this might indicate a location from which it is not possible to step to another, valid location."
Is there some alternative solution to iterate the function?
Thank you!
The text was updated successfully, but these errors were encountered: