opendrift.readers.interpolation.structured ========================================== .. py:module:: opendrift.readers.interpolation.structured Attributes ---------- .. autoapisummary:: opendrift.readers.interpolation.structured.logger Classes ------- .. autoapisummary:: opendrift.readers.interpolation.structured.ReaderBlock Module Contents --------------- .. py:data:: logger .. py:class:: ReaderBlock(data_dict, interpolation_horizontal='linearNDFast', interpolation_vertical='linear', wrap_x=False) Class to store and interpolate the output from a reader with data on a regular (structured) grid. .. py:attribute:: x .. py:attribute:: y .. py:attribute:: time .. py:attribute:: data_dict .. py:attribute:: wrap_x :value: False .. py:method:: _initialize_interpolator(x, y, z=None) .. py:method:: interpolate(x, y, z=None, variables=None, profiles=[], profiles_depth=None) .. py:method:: _interpolate_horizontal_layers(data, nearest=False) Interpolate all layers of 3d (or 2d) array. .. py:method:: _wrap_longitude(x) .. py:method:: covers_positions(x, y, z=None) Check if given positions are covered by this reader block.