swot_simulator.plugins.data_handler.time_interp

swot_simulator.plugins.data_handler.time_interp(xp: numpy.ndarray, yp: numpy.ndarray, xi: numpy.ndarray) numpy.ndarray[source]

Time interpolation for the different spatial grids interpolated on the SWOT data

Parameters
  • xp (numpy.ndarray) – The x-coordinates of the SWOT grid.

  • yp (numpy.ndarray) – The y-coordinates of the SWOT grid, same shape as xp.

  • xi (numpy.ndarray) – The x-coordinates of the interpolation grid.

Returns

The interpolated values.

Return type

numpy.ndarray