Skip to main content

Geospatial image resampling in Python

Project description

Build Status Coverage Status DOI

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.

Documentation

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

pyresample-1.28.4.tar.gz (5.9 MB view details)

Uploaded Source

Built Distributions

pyresample-1.28.4-cp312-cp312-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12 Windows ARM64

pyresample-1.28.4-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12 Windows x86-64

pyresample-1.28.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyresample-1.28.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

pyresample-1.28.4-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pyresample-1.28.4-cp312-cp312-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pyresample-1.28.4-cp311-cp311-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 Windows ARM64

pyresample-1.28.4-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11 Windows x86-64

pyresample-1.28.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyresample-1.28.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pyresample-1.28.4-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyresample-1.28.4-cp311-cp311-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pyresample-1.28.4-cp310-cp310-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 Windows ARM64

pyresample-1.28.4-cp310-cp310-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyresample-1.28.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyresample-1.28.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pyresample-1.28.4-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pyresample-1.28.4-cp310-cp310-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pyresample-1.28.4-cp39-cp39-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 Windows ARM64

pyresample-1.28.4-cp39-cp39-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyresample-1.28.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyresample-1.28.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pyresample-1.28.4-cp39-cp39-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.28.4-cp39-cp39-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file pyresample-1.28.4.tar.gz.

File metadata

  • Download URL: pyresample-1.28.4.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyresample-1.28.4.tar.gz
Algorithm Hash digest
SHA256 0326f6aaacec22a39ccfc558c3214f204ffac9fe1d15d0e0ffbff505e18bdeb3
MD5 d4c24d02ae257f69cad1f693e9183609
BLAKE2b-256 6bbb6a8411066dd7a325a0abea7236c8218c2e70d2f8ab3a24dc1ded03d52b6b

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 d4b6434236ac124d9b48596cc69cf3d615962fc4413f329f7c09b6d2c7d9a8ea
MD5 9ff5da9bcf324941782517ad79e67ca7
BLAKE2b-256 e5aa9c15615d482ea5e14ed913caaf631cd7a48d752353a671469cb9898b2856

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 784cb68a0f09d4e984282753403adaa44cfc4573873b113563e00abe944718ab
MD5 098cf1396a21cd1062588009728c931b
BLAKE2b-256 96c3d31e98c2a2a5f93ce8d2c499f07ab131124a334e7b75613412bd0590104d

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb078550ec3c90e08c7c5890fed3623e9a340ac0bc59816e5897420b78137be3
MD5 d609f810b3dc601f856472b468eadb1c
BLAKE2b-256 06298808599a1e3722736f9f308fde22f0f4dfa3d6b85f3650ca6c10a5d04937

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2b7c243d9e3c195c1c8fa7389f26067f0365e9d90fdc3e6218cc62a0836bfb06
MD5 4757bf8e1db701f2b8474fe160a7354b
BLAKE2b-256 9d9123a933c7270b438a8bde995badeb7de3ad1ca5c0b63a71e4d8a43cb578b7

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 284b852a15d1f42137a64ab494202e85d19bcb2eb7d09457308c00779fb51a07
MD5 443d52159c8c2928e16324962f18b7cd
BLAKE2b-256 ab614e0cac8a175a54561143f56d317486c15ffb4cb52c47b2e5dd512be134a4

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3136a8563673e4bab5b21ed4de1936e55f13deae8a55d41873cacfd573f466d7
MD5 93d36d9f2e617b9d6f09edf37417023a
BLAKE2b-256 81b06eb94fb37b8f3fa058287c02dc885d70074ac3a2c300727fb60b9f4901ed

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 128af462f190150a34ae7e070d0c16be4c4c12fb732cb9dcbb3e9e07e31fe452
MD5 0cbd923b62c11744cc6655552dab0ca7
BLAKE2b-256 f89898d689a7463c3a9c8c1257ef5e0d290c4c0419b4875e080b7e786e2e317f

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a8baae466c11816e6c361ad7bf17bc4741dc4e79f62b0d6399042b02fa84075c
MD5 9cb0d281736d4f27c47b1e770aa1ea19
BLAKE2b-256 f727bc5a0f29647bb615d02f6d510179cc49243269f1af7abf27426b3a0f7ad6

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 627874822332428483cebe656104b9a0b42d28e94a2b31b610d5ab79e90da875
MD5 3ccceddba0a9fb961de458a8f3485d96
BLAKE2b-256 292c75df5bc1bc9699bc86f91f0281ac4c0ccd28f9425fe202f88e6b72e035b9

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 891fa471c6844bc78926b23059503abf1d7848620223043a8d461b804fae34b6
MD5 2a4a93149ccb2d3002d09c74b7ea3d0a
BLAKE2b-256 c7a16babf7eeffe52874cfc10f9e47568a18a25cefb41e5d5dd159c3d8dfbc6b

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3aa34ab3532a968adc14ec9d0d909204cc28f475cbc6a24fda7dc97362cd739
MD5 0d9546dff5c8d77b83ca1a40007e2b61
BLAKE2b-256 42debb96c3e8078f8b765a676d04f2af6c2d002abc88eae618ce8e2f569e6ce5

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 948b82102a097159fd8e664aaa315d316db4da82a340fc78cf518ddf18f9e161
MD5 55f9ddcfe8b0271c7aaa8ca7c312c556
BLAKE2b-256 f507aceb1da4cec187a0df35331d4edcdb76bb3a3478614088657c18d9050250

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp310-cp310-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 534d25f1d5c69113713bb6e4cb0b8f99a325431d185025c1cd6dc8dac9722c1f
MD5 c6a1440ce1e592525d4eb3c25466ff57
BLAKE2b-256 5dc942b9c4b9617f60cfc71c59ccd9e1e593d495ed6bcc87321d5b3a0b7c80f6

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6e9fd55d7098757e88d6ea298541c1cdf6acebfe14171547787031e5ed126984
MD5 72215c57491daf527e14deb1897e9896
BLAKE2b-256 b25f7e66bc0d44638c7042431d43a70a683df26a7287edac8232a23940dfbbb5

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 152845d0c105f5617ffda96ed993fa91e28391d58bdc786b1b293cc0cf9332d6
MD5 0688c1b7644457ad80563f7ed200ac2b
BLAKE2b-256 2eef9f9365c2915375d55a6331458aa975cc3a6bcf9fc1fbbcb136b0934d138d

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c2b19961dae1ccb8ac7296e6fefe40590181ac8f97fd1089b223b3cda04bab07
MD5 1107f214af4daaec11b3a659ddceb4e9
BLAKE2b-256 5b861dc4578b99889ea5b43fcb7c14c65e39dd36ed37c6eaa4175db0e7645bd2

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cb49be2ebeab6a200cb81f03ab0e9f65af7f9e5a68dd2c5efd2113dda9d5a6cf
MD5 de345c889bb04c5b6c95bb52eadd4e5e
BLAKE2b-256 9b4b2fbf9e20f1f3445b1a7a745f295576eb9d400ac18fc2fd12201e3700cc5b

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1184fd5553e734a3e9e64c3964c040edd9d7e43ab5f53f7bffc6de7cd8b411c8
MD5 d73d36d9d25f06d90cbbaca66a5b8b14
BLAKE2b-256 d62047e571527ab1992618b16be023bc06fb2721846df69c52f30a1365cb451b

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp39-cp39-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 5309808cf03c89e340c187cb3dbf99604f39048c045918e27b1b3711e6f01772
MD5 6d6298b740ff5d25f39f8e202dfda62f
BLAKE2b-256 d0642caadde7e9c17757d40be71990f3a515193ab322140ca8346bd18a5e552c

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 aedff7188e937cd0e8fb9ecef3ca9ae371f032c8a31a0f82b918b0b9bbceb4d2
MD5 2753143646f3305ca6e9cead7e8b117b
BLAKE2b-256 4c052aad67b3ef4ceb0f7eb47e5d474ca06726e1e1f04f760e23eacead93b0ab

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 07740db69065ee3078d38c4afff87a7849a1f94c4a1fa18511fe16d22e33eb49
MD5 b9b55bb6b556117312a5efcae5986bb5
BLAKE2b-256 a08746070c34576009ae55f11bb21f790e21a7f2790b4f34be78b6e7dd858254

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9174ab4781875ef14a528e791188c3db3bd5597e27cf65f32c38764bbbe4da4e
MD5 84f436307e4c56c8c5710d9fafeb0a29
BLAKE2b-256 b575fe6fcd3930df51d25b1b5fe9e33389ec328796346f2cc2d797f6e580caab

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87fbb9e2ab331e4dc1e5458009159dbd58979a407b604269fb91e6dd8b71dfc6
MD5 47e2dad216f66f3a6f622e53bd25007c
BLAKE2b-256 3502f2a19fe4a0dbed6699a036b1a6dc24e6122e4b5a0a15e107feb081b7f817

See more details on using hashes here.

File details

Details for the file pyresample-1.28.4-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bcc253a710c22905f7f53add8b69eafc3bcbc5e63bc9bb48e6ad70b993fa41c1
MD5 00fff5626a0a89f7f80c6a96aa79efb5
BLAKE2b-256 086a4d8a1243eea8e3de0a53a073fe7c0def941397901ec917464b178433add1

See more details on using hashes here.

Supported by

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