pyresample.bilinear package

Submodules

pyresample.bilinear.xarr module

XArray version of bilinear interpolation.

class pyresample.bilinear.xarr.XArrayBilinearResampler(source_geo_def, target_geo_def, radius_of_influence, neighbours=32, epsilon=0, reduce_data=True)

Bases: BilinearBase

Bilinear interpolation using XArray.

load_resampling_info(filename)

Load bilinear resampling look-up tables and initialize the resampler.

resample(data, fill_value=None, nprocs=1)

Resample the given data.

save_resampling_info(filename)

Save bilinear resampling look-up tables.

class pyresample.bilinear.xarr.XArrayResamplerBilinear(source_geo_def, target_geo_def, radius_of_influence, **kwargs)

Bases: XArrayBilinearResampler

Wrapper for the old resampler class.

Module contents

Code for resampling using bilinear algorithm for irregular grids.

The algorithm is taken from

http://www.ahinson.com/algorithms_general/Sections/InterpolationRegression/InterpolationIrregularBilinear.pdf