Skip to main content

quadrilateral_interpolation

This code provides a fast quadrilateral interpolation to perform satellite image projection from swath geometry to any geographical projection defined by a CRS.

The method and the code implementation are intent to be very fast but may not as accurate as other backward interpolation methods (bilinear, ...). It is suitable for coarse resolution imagery and was initially developed for OLCI. The calculation is based on: Interpolation using an arbitrary quadrilateral

The API follows the conventions of xESMF for the Resampler object and of pyresample for the grid definition. See pyresample for useful tools to create and manipulate grids.

This package was designed to work for satellite images opened with satpy but can be used as a standalone projection tool as long as the basic grid definition information are provided (lat, lon for the source and CRS, pixel size and offset for the destination).

Installation

Install with pip:

pip install quadrilateral_interpolation

Example

An example notebook is provided in the example/ directory. It requires to first download an OLCI image (~700Mb) in the native ESA format.

Contributing

Pull requests are welcome to make this code faster, more accurate, nicer, or more useful.

Metadata

Release files for quadrilateral-interpolation 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quadrilateral-interpolation 1.1.1
File Size Uploaded
quadrilateral_interpolation-1.1.1.tar.gz 31.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quadrilateral-interpolation 1.1.1
File Interpreter ABI Platform
quadrilateral_interpolation-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 56.5 kB

Release files / quadrilateral_interpolation-1.1.1.tar.gz

Download URL quadrilateral_interpolation-1.1.1.tar.gz
Size 31.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fe98bfe3acac54bf2fd67843a58db1df290a250b550263d788f815e52a8c11f6
BLAKE2b-256 checksum
How to use checksums
1e5a635bc027f354786d02563ae2cd548ba9c50e358382876a24cb4b3c8aa5b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 28, 2025.

Transparency log

Release files / quadrilateral_interpolation-1.1.1-py3-none-any.whl

Download URL quadrilateral_interpolation-1.1.1-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69aa5ed199491253d3900823f61f3f8593ca98b69e9093ddcd8d20d490c032a6
BLAKE2b-256 checksum
How to use checksums
5bf45d9a0e450182b59fdfe1a2e306b717fb54a38f24ad706ac0ccb53ada2c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 28, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page