Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 953 Bytes

monitors.rst

File metadata and controls

33 lines (26 loc) · 953 Bytes

Monitors

:py~sympl.Monitor objects store states in some way, whether it is by displaying the new state on a plot that is shown to the user, updating information on a web server, or saving the state to a file. They are called like so:

monitor = MyMonitor()
monitor.store(state)

The :py~sympl.Monitor will take advantage of the 'time' key in the state dictionary in order to determine the model time of the state. This is particularly important for a :py~sympl.Monitor which outputs a series of states to disk.

sympl.Monitor

sympl.NetCDFMonitor

sympl.PlotFunctionMonitor