virtualargofleet.app_parcels.ArgoFloatKernel#
- ArgoFloatKernel(particle, fieldset, time)[source]#
Default kernel to simulate an Argo float
It only takes (particle, fieldset, time) as arguments.
Virtual float missions parameters are passed as Variables to the particles.
This function will be compiled at run time.
- Parameters:
particle (
ArgoParticle
) – An instance of virtual Argo float. This instance must also have the following attributes:parking_depth
,profile_depth
,vertical_speed
,cycle_duration
,life_expectancy
fieldset (
parcels.fieldset.FieldSet
) – A FieldSet class instance that holds hydrodynamic data needed to transport virtual floats. This instance must also have the following attributes: -verbose_events
,mask
time –