opendrift.readers.operators.ops =============================== .. py:module:: opendrift.readers.operators.ops Classes ------- .. autoapisummary:: opendrift.readers.operators.ops.Combine opendrift.readers.operators.ops.Filter Module Contents --------------- .. py:class:: Combine Combining two readers into a third one. You can use usual operators, but also more complex ones such as gaussian combining. .. py:method:: __add__(other) .. py:method:: __radd__(other) .. py:method:: __mul__(other) .. py:method:: __rmul__(other) .. py:method:: __truediv__(other) .. py:method:: __sub__(other) .. py:method:: combine_gaussian(measurement_reader, std) Mix two readers with a gaussian, whose std is the one given as an argument. The measurment reader have to be of type timeseries, with a lon and lat attributes that are taken as the center of the measure. .. py:class:: Filter .. py:property:: variables :type: List[str] :abstractmethod: .. py:method:: filter_vars(vars) Only keep the specified variables. .. py:method:: exclude_vars(vars) Remove the specified variables.