swot_simulator.plugins.data_handler.IrregularGridHandler

class swot_simulator.plugins.data_handler.IrregularGridHandler(dataset_loader: swot_simulator.plugins.data_handler.DatasetLoader)[source]

Bases: swot_simulator.plugins.Interface

Default interpolator for an irregular grid. First, uses an RTree to do the spatial interpolation of all model grid, then do the time interpolation with a simple weighting of two grid.

Parameters

dataset_loader (DataLoader) – Data loader

__init__(dataset_loader: swot_simulator.plugins.data_handler.DatasetLoader)[source]

Methods

IrregularGridHandler.interpolate(lon, lat, dates)

Interpolate the SSH for the given coordinates

IrregularGridHandler._spatial_interp(...)

Spatial interpolation of the SSH on the selected maps.