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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quadrilateral_interpolation-1.1.1.tar.gz.
File metadata
- Download URL: quadrilateral_interpolation-1.1.1.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe98bfe3acac54bf2fd67843a58db1df290a250b550263d788f815e52a8c11f6
|
|
| MD5 |
f200b0be79d5fe5adff300a62b50d15b
|
|
| BLAKE2b-256 |
1e5a635bc027f354786d02563ae2cd548ba9c50e358382876a24cb4b3c8aa5b5
|
Provenance
The following attestation bundles were made for quadrilateral_interpolation-1.1.1.tar.gz:
Publisher:
publish.yml on ghislainp/quadrilateral_interpolation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quadrilateral_interpolation-1.1.1.tar.gz -
Subject digest:
fe98bfe3acac54bf2fd67843a58db1df290a250b550263d788f815e52a8c11f6 - Sigstore transparency entry: 780781223
- Sigstore integration time:
-
Permalink:
ghislainp/quadrilateral_interpolation@26b74da5b02c41ba6434d495bb0bd4efcca42d33 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/ghislainp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@26b74da5b02c41ba6434d495bb0bd4efcca42d33 -
Trigger Event:
release
-
Statement type:
File details
Details for the file quadrilateral_interpolation-1.1.1-py3-none-any.whl.
File metadata
- Download URL: quadrilateral_interpolation-1.1.1-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69aa5ed199491253d3900823f61f3f8593ca98b69e9093ddcd8d20d490c032a6
|
|
| MD5 |
bcbbd50607d5977166652a8ee701f542
|
|
| BLAKE2b-256 |
5bf45d9a0e450182b59fdfe1a2e306b717fb54a38f24ad706ac0ccb53ada2c52
|
Provenance
The following attestation bundles were made for quadrilateral_interpolation-1.1.1-py3-none-any.whl:
Publisher:
publish.yml on ghislainp/quadrilateral_interpolation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quadrilateral_interpolation-1.1.1-py3-none-any.whl -
Subject digest:
69aa5ed199491253d3900823f61f3f8593ca98b69e9093ddcd8d20d490c032a6 - Sigstore transparency entry: 780781226
- Sigstore integration time:
-
Permalink:
ghislainp/quadrilateral_interpolation@26b74da5b02c41ba6434d495bb0bd4efcca42d33 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/ghislainp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@26b74da5b02c41ba6434d495bb0bd4efcca42d33 -
Trigger Event:
release
-
Statement type: