Beispiel #1
0
 def RandomKernel(particle, fieldset, time):
     particle.p += ParcelsRandom.uniform(0, 1)
 def Error_RandomiseLon(particle, fieldset, time):
     """Error handling kernel that draws a new longitude.
     Note that this new longitude can be smaller than fieldset.minlon"""
     particle.lon = ParcelsRandom.uniform(0., 1.)