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.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-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for quadrilateral_interpolation-1.1.tar.gz
Algorithm Hash digest
SHA256 f486a66dd6c91e8d1f54f4ac02f68e40f0e47fc0a369e9467885f53f40a7e41e
MD5 89b040b52abb19ef82b92925cb0c19ce
BLAKE2b-256 fa3a20f7511e2d0b9743f8a44f1a8d6f2a231f04df4b539dbbfd1200e1172660

See more details on using hashes here.

Provenance

The following attestation bundles were made for quadrilateral_interpolation-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-py3-none-any.whl.

File metadata

File hashes

Hashes for quadrilateral_interpolation-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a1b2d6e39d84cfffba8bb8c8ba3f2059c0ac858bfa7b65b4f685c38eda5f139
MD5 61811b6a05b9182fc815614d3407b8a0
BLAKE2b-256 d25d3d22af11ca6d20ab49eca93e615b44d6111ad25db5df204bc4cd99a3524a

See more details on using hashes here.

Provenance

The following attestation bundles were made for quadrilateral_interpolation-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