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,
maybe this problem is on windows only, but I wonder if there are some solution. the problem is : when I add def SampleGalapagos(fieldset, particle, time): if fieldset.hainan_mask[time, particle.depth, particle.lat, particle.lon] == 1: particle.visited_hainan = 1 and def DeleteParticle(particle, fieldset, time): particle.delete() at the same time, it will come out these problem:
Thanks @wongchieh, for reporting. I don't use windows myself, and have little experience with developing for it. This OSError: exception: access violation seems something to do with windows and/or the gcc compiler in conda. I fear we can't fix this easily.
You could try running in Scipy mode, by specifying that your particles are ScipyParticle objects instead of JITParticle objects. Note, however, that runs will then be significanlty slower.
hello,
maybe this problem is on windows only, but I wonder if there are some solution. the problem is : when I add
def SampleGalapagos(fieldset, particle, time): if fieldset.hainan_mask[time, particle.depth, particle.lat, particle.lon] == 1: particle.visited_hainan = 1
anddef DeleteParticle(particle, fieldset, time): particle.delete()
at the same time, it will come out these problem:if there any methods or it must be on linux
The text was updated successfully, but these errors were encountered: