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.31.0.tar.gz (5.9 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows ARM64

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

Uploaded CPython 3.12 Windows x86-64

pyresample-1.31.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyresample-1.31.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

pyresample-1.31.0-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.12 macOS 10.9+ x86-64

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

Uploaded CPython 3.11 Windows ARM64

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

Uploaded CPython 3.11 Windows x86-64

pyresample-1.31.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyresample-1.31.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pyresample-1.31.0-cp311-cp311-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 macOS 10.9+ x86-64

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

Uploaded CPython 3.10 Windows ARM64

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.31.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyresample-1.31.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pyresample-1.31.0-cp310-cp310-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.9+ x86-64

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

Uploaded CPython 3.9 Windows ARM64

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.31.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyresample-1.31.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pyresample-1.31.0-cp39-cp39-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.31.0-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.31.0.tar.gz.

File metadata

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

File hashes

Hashes for pyresample-1.31.0.tar.gz
Algorithm Hash digest
SHA256 b9cd365a3d5138c4b515b33ff37e7a851160d465e26468f2ba2b6342efef6a41
MD5 097857b174aff433830073c51fd82115
BLAKE2b-256 76f19642e7d91b89cf37465fe393ccb12060bffe328db3dfdd809feabc379c7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 fadddb361f488a7a338bf206ed0d1bfa083856f6c47c80777f9533d71e6b9729
MD5 c579853ae11b1955c93a502f44ba704f
BLAKE2b-256 1505a3e164da624bcc32e37e1a3cbed25df5ee57f89393e4ff7f379adbba2196

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 781aedc03578ff445682cb0f56842bfdbd29b290b83a983e5f851d64cd81cac8
MD5 3e4c8ec5bc53b680533155ee2e8e74c7
BLAKE2b-256 8b86494826e6f3ce5e205f2424ecac84cf23a3fcadc71203e7cab6717293ff7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6b6152d24b77e48b60d7f61ee7fc310b1c68648036202a84182f37e1f3018e0
MD5 041506003649a572e5fea44651d5841f
BLAKE2b-256 816cd3fbe5a5e40bc012a8f777e9745f6f08134eb7d2446ff83a9e753ad7a8be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b488e5d48b180d603bff339a4206ac4b85bbd77ffb0d3b83efa325bafc3f32c2
MD5 e435b67b0338d86691fdc463496d158c
BLAKE2b-256 4565594d41391cbba7297deb675476ccda28b8c0560af7e155e6c77459e7edfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 626688bba921a4164c2a481a5ace4b664ce75be3de90044639a1e6a325e9f967
MD5 ccae2faf841cfe9f95cabde74ea0db88
BLAKE2b-256 56103e0100cee8c0a02b4881147ce6d0f0bd2095660ec98c84e895c0fd1cc884

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 713ba70d9cf2326945235abe21a1afec3eddfaced38b7a94acabc24c489ed5c6
MD5 484dc4ae7bbb4c256775a5c32ed807c2
BLAKE2b-256 402e251efe0d52415a9151683e14ec503050c400b301ae88652c6c36713e7ea5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 007927e58fffb4a3d8eb42b3ed2bd73ccb5f02e9fd0afb9d92d216a7e41a2aca
MD5 7a23f305d9b5f010ad2666f7b7cfdde5
BLAKE2b-256 1673f11eac9d450db07fcafa7c31c1eaf9425d578da778f2d7c47451cce11f51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 255c8bbf667e47fc6c50d51db24fba230713b2b54e71a156ee5d58620059eaa8
MD5 3fc28582e7def8d83940ffffff25a187
BLAKE2b-256 858443033f94d44b92062220d93a1c786bfaef6cbbd126ab6c5bc67cfec88b90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16f1b4f9b691befa5145db43140dd600829a16c21ecb310f00b161f13b8f6e03
MD5 9f2048f06db59e58897462981077753f
BLAKE2b-256 cfc28c64c4c678465703cc45b2b6bf0e88297f7b484e77b5126ffc568c53a3ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e7ae28b9e2ec42003fe3a433eb40c6358d739b2db0c073bb664ebb60e250c12c
MD5 49736542d712ec5505dc8b5d8bbb09a5
BLAKE2b-256 eb50cd344382d5b54ac3af443c12b4e8d67a07d7971a69b13806851e24ece8f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8077f150baa9d8ea190f5a5254e0a11e91bca1685a206a39988a1bd3ecae629f
MD5 d867abd42ceba306387dd702b98c2b3b
BLAKE2b-256 0c1c5bb9f30fb69456acbd6a3e208dc4f560ba136fd6b0ffee9e5e34d74240c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ac16e690c4d449205db1d027dc52ced0708768a011ed7ca23447243507027df4
MD5 9b262d317bc5cc67b9cf0d2dbb374fd5
BLAKE2b-256 c0ec47247009f20b5a523d313ea3b1f06b302dd2e674e3a40251892533811cdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 23a4ea5fbbfe3a080554ce659c5fec0198d20f1f47aa07c9d727423356c5b0f8
MD5 098506e75dc5a298b86816a96513382a
BLAKE2b-256 4bec1000eb453ff16e44ddb9a607eab2cf92956f837953280bbc885366a43f14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3b06aadc72fbcaac13f163f848559ab5aa3a16b9aa2ef301f41abb730cba876b
MD5 13002aa93051a7c4a5e8894ab769578a
BLAKE2b-256 507b55d4d03ae9d945ac03ab425cfd9e9a8f38cc06381e5cf39bc7d719e1d24c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b31d5df3167b2e3e6abe50b518e6df6ffb0ba08ff0ba62a2606515131ae8190
MD5 7396b90e12f9eb67f1a7394c4f501979
BLAKE2b-256 38a551fa092e24a70e0d3335f8c6bbb9c2331043abf4b9874929f8c6b9b9ff92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7652b0208ef8be3763d1e32ad4eb2590ecdd36b41397dc68237fa5c3a8ee13d5
MD5 c79ead44ad7ebdeed7b7abff1bb18eaa
BLAKE2b-256 5745de48997216e1a7960a82edd37968714b70e38df4bdabd3c4d66f3b8c7e99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c27fab6a88f5dfcb5c89ada1193057582dab05a4a4e7ea2d412b390bd03cbb4a
MD5 c987f96b34ae25db9e7e21410f92bef1
BLAKE2b-256 9501ac994478812f7b5cafc09d15c5f4d05697dd97ba7589afb09db76a8b0f89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 59c973d75405f4485ff51305c0865e2f4da822080d23ef091c544ee1d330d4ff
MD5 1b00087f11775284a3c1e43f65b79408
BLAKE2b-256 5dfd0ad11e94cc412d1b6fbc42d5575548e808969bc4627a8a9437c6696882f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 5e45a0ed7e65ed3c317ab817518485eb2834f6819bbefac69f53a2a2db04693f
MD5 ce7cb8d28505a59b390f86041c0a8426
BLAKE2b-256 bb93eb71eb558191541c1b9c020934cf83463e2be0afb69300dadf5da95df6f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 56e098ae6259a162a8624d25048e0c1b991bb67ae5a921522969a87953256f0e
MD5 2175a9de7560d029b80e116343b88a0d
BLAKE2b-256 bde74a8dfe2e07358ad1a13c94364596e121417cee26f7dd2f50d821871eff43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90f262bcde40ca0bf6521636c2534e183a2b7525397dfa335883233c1b9361d1
MD5 f696d35f206950afcd9a9c8701874b60
BLAKE2b-256 bdcdae1b389af8506dac9ea74fd8ebe4190343fea41519e92b66aadf856bd59d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7dea122d6f19df35e973baf5f3e389a8c2ab7f590e11195221138ec6bebfdb2a
MD5 31ec03e8fb67b3a6657c61386e710a92
BLAKE2b-256 2584d89bb4b16564191f51908106d7db19e6a8655fe3734bb1c5a669a4e7a77e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb1fa8b0a2eaf81ee12e6e31da8770bb6530f70b8ce783e210c086a0749508cc
MD5 4fd56ddc52f5f1253f4f2a3c6575fdf9
BLAKE2b-256 25a2680c19dccc9ec45d70c8b8471ab97211afe45639aa2aa3d5ae7e25d7935f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.31.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ac8f6d37e6a94e8285d566573cd78c1281a7bdfe34ebcbaa8bcf5e960638d5e1
MD5 4fe320c2da78865e9cb401a2697328d7
BLAKE2b-256 c4a00a9569643f77b179752e100d4daf8d1f7a7ca0a4218b1407675a5d5040aa

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