parcels
parcels copied to clipboard
ctypes and pointers
Every pointer to memory should be set as late as possible. This will help parallelising the code (see #553 and https://github.com/willirath/pangeo_parcels)
Could everything be set at pset.execute() ? By everything I mean, pointers in fieldset and pset.
Minimal code to test if we can serialize a ParticleSet
:
import pickle
copied_pset = pickle.loads(pickle.dumps(pset))
Closing this very old Issue for now.