Particle properties¶
Particle properties can easily add to computation via parameters, eg decaying concentrations, by listing in particle_properties parameters. Standard properties include, status, tide, water_depth and particle age.
Decaying particle¶
Decaying particle property used to size and colour particles. decay_time_scale
parameter = 3.5 hours.
particle_properties.age_decay.AgeDecay
demo60_SCHISM_3D_decaying_particle.py
json parameters
yaml parameters
Polygon aware particles¶
Particles with additional inside polygon property, with optional logging of polygon entry and exit events
class:
particle_properties.inside_polygons.InsidePolygonsNonOverlapping2D
class:
event_loggers.log_polygon_entry_and_exit.LogPolygonEntryAndExit
json parameters
yaml parameters
Particle Status¶
Particles coloured by their status property. Status can be one of following strings
['unknown', 'bad_cord', 'cell_search_failed', 'notReleased', 'dead', 'outside_open_boundary', 'frozen', 'stranded_by_tide', 'on_bottom', 'moving']