opendrift.readers.interpolation.interpolators ============================================= .. py:module:: opendrift.readers.interpolation.interpolators Attributes ---------- .. autoapisummary:: opendrift.readers.interpolation.interpolators.logger opendrift.readers.interpolation.interpolators.horizontal_interpolation_methods opendrift.readers.interpolation.interpolators.vertical_interpolation_methods Classes ------- .. autoapisummary:: opendrift.readers.interpolation.interpolators.Nearest2DInterpolator opendrift.readers.interpolation.interpolators.NDImage2DInterpolator opendrift.readers.interpolation.interpolators.LinearND2DInterpolator opendrift.readers.interpolation.interpolators.Linear2DInterpolator opendrift.readers.interpolation.interpolators.Nearest1DInterpolator opendrift.readers.interpolation.interpolators.Linear1DInterpolator Functions --------- .. autoapisummary:: opendrift.readers.interpolation.interpolators.expand_numpy_array opendrift.readers.interpolation.interpolators.fill_NaN_towards_seafloor Module Contents --------------- .. py:data:: logger .. py:function:: expand_numpy_array(data) .. py:class:: Nearest2DInterpolator(xgrid, ygrid, x, y) .. py:attribute:: x .. py:attribute:: y .. py:attribute:: xi .. py:attribute:: yi .. py:method:: __call__(array2d) .. py:class:: NDImage2DInterpolator(xgrid, ygrid, x, y) .. py:attribute:: x .. py:attribute:: y .. py:attribute:: xi .. py:attribute:: yi .. py:method:: __call__(array2d) .. py:class:: LinearND2DInterpolator(xgrid, ygrid, x, y) .. py:attribute:: block_x .. py:attribute:: block_y .. py:attribute:: x .. py:attribute:: y .. py:method:: __call__(array2d) .. py:class:: Linear2DInterpolator(xgrid, ygrid, x, y) .. py:attribute:: x .. py:attribute:: y .. py:attribute:: xi .. py:attribute:: yi .. py:method:: __call__(array2d) .. py:data:: horizontal_interpolation_methods .. py:class:: Nearest1DInterpolator(zgrid, z) .. py:attribute:: zi .. py:method:: __call__(array2d) .. py:class:: Linear1DInterpolator(zgrid, z) .. py:attribute:: index_above .. py:attribute:: index_below .. py:attribute:: weight_above .. py:attribute:: xi .. py:method:: __call__(array2d) .. py:data:: vertical_interpolation_methods .. py:function:: fill_NaN_towards_seafloor(array) Extrapolate NaN-values (missing) towards seafloor