Geospatial image resampling in Python
Project description
Pyresample
Pyresample is a python package for resampling geospatial image data. It is the primary method for resampling in the Satpy library, but can also be used as a standalone library. Resampling or reprojection is the process of mapping input geolocated data points to a new target geographic projection and area.
Pyresample can operate on both fixed grids of data and geolocated swath data.
To describe these data Pyresample uses various "geometry" objects including
the AreaDefinition
and SwathDefinition
classes.
Pyresample offers multiple resampling algorithms including:
- Nearest Neighbor
- Elliptical Weighted Average (EWA)
- Bilinear
For nearest neighbor and bilinear interpolation pyresample uses a kd-tree approach by using the fast KDTree implementation provided by the pykdtree library. Pyresample works with numpy arrays and numpy masked arrays. Interfaces to XArray objects (including dask array support) are provided in separate Resampler class interfaces and are in active development. Utility functions are available to easily plot data using Cartopy.
Pyresample is tested with Python 2.7 and 3.6, but should additionally work on Python 3.4+. Pyresample will drop Python 2.7 at the end of 2019.
See pytroll.github.io for more information on the PyTroll group and related packages.
Citation
Hoese, D., Raspaud, M., Lahtinen, P., Roberts, W., Lavergne, et al. (2020). pytroll/pyresample: Version 1.16.0. Zenodo. https://doi.org/10.5281/zenodo.3372769
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 Distributions
Hashes for pyresample-1.26.0.post0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3d5d5b5f940b8b19493357e5c41c510f8c35e12371774c5b2eb1df2f0fcb0d0 |
|
MD5 | 64da954528a0c4efac46afb02871c7a9 |
|
BLAKE2b-256 | 3740bd8b3b4ec1c7204cc25e1f3166cc5ab5cdd07794ab8f20d47ac8aa57a166 |
Hashes for pyresample-1.26.0.post0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19e5fe9df9b5a9e3e5b42c9985a90418923d1f68fac2a66ae90dc6bfa61a18a |
|
MD5 | d46181f5d28ad609221f92cd187e2ccf |
|
BLAKE2b-256 | a044ac8223ff95565442b5edbf4fd259ba3f8f0065eeaaf9b0affb36c0059afd |
Hashes for pyresample-1.26.0.post0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad15b62999749312961f8b779ac6bbaadc0ffbda35b4561f8dfea060d982bac |
|
MD5 | e2f5961e02076f43292c7b83a66ec2af |
|
BLAKE2b-256 | 4da3bdc061d4c824aa64851b9e89c9bd7357623e442678762708c1e5f34422e4 |
Hashes for pyresample-1.26.0.post0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a60cb233e889744b0b1aa91b97ebcb61381a80db5197732b5c7fe02466f4ac0 |
|
MD5 | 0becba2477cd15693f8b13a44401ed7a |
|
BLAKE2b-256 | 7fb2b44e50243bf2ea3da8a9f2449b4394edb9266a8a1ad3253b400e2981aa34 |
Hashes for pyresample-1.26.0.post0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b40afe3c28073ce65fb8e01f53567ac1b846c168fcb53d4d64d8715dd956c5d2 |
|
MD5 | 5dd98c17710596677c397c19b4fde4bc |
|
BLAKE2b-256 | 021df66c91481e858e889c9a97b7509ead0c8dee2cc129c770c03f7c9f8e0136 |
Hashes for pyresample-1.26.0.post0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a28a8932122261902f387569bb4fd48b98524b534e85e059eb2dc44a7a90259 |
|
MD5 | 55b73994c64d4111dfa7e5c04534781f |
|
BLAKE2b-256 | f6ba21bd4d5a6347d046d9b091c222ea9d881060c9f2382514c78f77fa9bc1a3 |
Hashes for pyresample-1.26.0.post0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fbfd76655fb22691d6225ca818c1190f82cb4790c02a0f3286a7244bd4bd85 |
|
MD5 | 14a86b9ab00ef2a8219817d2d0d325be |
|
BLAKE2b-256 | 395960b4292b578e231e9bdb198e2d79baeb573af3a95840573eb9fc7c872aaa |
Hashes for pyresample-1.26.0.post0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61efdff78e9ac6071a6b74c56b4fa6b260364cd7dce96a100a12be1bcb403a21 |
|
MD5 | f2d448679812110ff7e69f3d5fde20a2 |
|
BLAKE2b-256 | 588a7663d7de327fef44d0b5921b91747e025bac79889452d4866f2e9fe9bf6c |
Hashes for pyresample-1.26.0.post0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69f8bb33853fecc99e5a4de3c59ffb7eea27ec339d7e4fc5d9ffad6de19a0340 |
|
MD5 | 60a1928d08f86c8434d57688c7d0ee25 |
|
BLAKE2b-256 | 16c7e51d28600bf7ebadbb87b17d013ed66c53576d295ca388105ae5dfa43716 |
Hashes for pyresample-1.26.0.post0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78e7c3a2677abdd3f65ee9af4a9af54e1bb7f741b9124cff9fcef8f357272452 |
|
MD5 | a09c5c3aaab9a5237c4b507894293a69 |
|
BLAKE2b-256 | b435cfd0d5c2112292d708dafe100f005771ec252016b8a398b6f4abf4225e57 |
Hashes for pyresample-1.26.0.post0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25c3220f35dd5a689f63284dfdda04cce7d99c71a8721d50ea2dcc23c666992f |
|
MD5 | e9b3d8fd4f9d6914ec03aaec07cbb648 |
|
BLAKE2b-256 | 2ac0359cccbf0871fc084c7a9cad4fe3770d017d0a79db7b047ba3ac1d1e8d7b |
Hashes for pyresample-1.26.0.post0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48de4ce8b989d972bdef20ad247e32310476484e0f1eacbc5c689e8239908e63 |
|
MD5 | 36a48828e9e61f8da797729f49ba5717 |
|
BLAKE2b-256 | ced4809ad8040948e8fdea0669eb8be527c0e01c25487f8e3679dfeb3dba2640 |
Hashes for pyresample-1.26.0.post0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55b2a425c4a4194b7e0ec483708652bc9835a73eea2aed7638cd7a219c6e90c |
|
MD5 | f75bbf9c72463961939cc7cada29d92e |
|
BLAKE2b-256 | 9d7db49aea164e61c1a6ba4e9055284bacbf12fcce4143752e21c34df40fb343 |
Hashes for pyresample-1.26.0.post0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c7a26feb9814db129a9b8fabd7acb5efce1a72e7fd6bf2c297338a234a46105 |
|
MD5 | 015c4f30e530aa833c306e60aef0d489 |
|
BLAKE2b-256 | 52f6ada75413a39353ec007a12c94055dd8dff7655d886361b41d1ea4665ef63 |
Hashes for pyresample-1.26.0.post0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c5dd8fce59e3ca0a289282fd904bd7b13e534a88a0a1762784a534b7615fe9a |
|
MD5 | f9c8f88b721c4c7b80560895817b04df |
|
BLAKE2b-256 | 9da41459b2b7eb4392ae6ffd39debdaf1317a843fa03995576f3c5f777d905ec |
Hashes for pyresample-1.26.0.post0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d4ef61542f6b104d453db999d6e6b4320b5ffaede03985baf44546879d4a41c |
|
MD5 | 51f8e170adb9395e8fa2db60230b88f3 |
|
BLAKE2b-256 | 7411e1d26956817dbf83a83c3398c25d294ac3b77762a91d33809a4148e56f8d |