Skip to main content

Fast projection of satellite images using forward quadrilateral interpolation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quadrilateral_interpolation-1.1.1.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quadrilateral_interpolation-1.1.1-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file quadrilateral_interpolation-1.1.1.tar.gz.

File metadata

File hashes

Hashes for quadrilateral_interpolation-1.1.1.tar.gz
Algorithm Hash digest
SHA256 fe98bfe3acac54bf2fd67843a58db1df290a250b550263d788f815e52a8c11f6
MD5 f200b0be79d5fe5adff300a62b50d15b
BLAKE2b-256 1e5a635bc027f354786d02563ae2cd548ba9c50e358382876a24cb4b3c8aa5b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for quadrilateral_interpolation-1.1.1.tar.gz:

Publisher: publish.yml on ghislainp/quadrilateral_interpolation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quadrilateral_interpolation-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for quadrilateral_interpolation-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69aa5ed199491253d3900823f61f3f8593ca98b69e9093ddcd8d20d490c032a6
MD5 bcbbd50607d5977166652a8ee701f542
BLAKE2b-256 5bf45d9a0e450182b59fdfe1a2e306b717fb54a38f24ad706ac0ccb53ada2c52

See more details on using hashes here.

Provenance

The following attestation bundles were made for quadrilateral_interpolation-1.1.1-py3-none-any.whl:

Publisher: publish.yml on ghislainp/quadrilateral_interpolation

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page