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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows ARM64

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

Uploaded CPython 3.12 Windows x86-64

pyresample-1.30.0-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.30.0-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.30.0-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pyresample-1.30.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.30.0-cp311-cp311-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 Windows ARM64

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

Uploaded CPython 3.11 Windows x86-64

pyresample-1.30.0-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.30.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.30.0-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyresample-1.30.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.30.0-cp310-cp310-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 Windows ARM64

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.30.0-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.30.0-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.30.0-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pyresample-1.30.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.30.0-cp39-cp39-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 Windows ARM64

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.30.0-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.30.0-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.30.0-cp39-cp39-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.30.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.30.0.tar.gz.

File metadata

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

File hashes

Hashes for pyresample-1.30.0.tar.gz
Algorithm Hash digest
SHA256 d97ed4cf83a03794884814dffe23edc51a9a390abef89f12c207234cd247683a
MD5 63c10dd20a8041fa61e8ae3ed9e3368f
BLAKE2b-256 a575ea759fb245b76de97e3a2df6d10870ae507f381bdf9dbe41cc03ec6f562e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 243c4407bf0c7acdb76e08ca58bf98c8361f31c60babf91dec4eb5293c237769
MD5 d22f29454a27490a7b7d7ac4c12c47ca
BLAKE2b-256 d4191ff34c3348dc6507fac59f1f23785d4faf24059e18485ea699173a5654bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e1cc7c469e3ee0f49901d279f5020d745c4455116df6cf9d66eb9ea9777a9f74
MD5 5fe807cb05dbf0654e42d5bcfffb2657
BLAKE2b-256 3279bc0a5378292a8c9d8b254c95b7cf497f2fd3a763e6126b8cd68bce3bf08a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab38bed2b529454a94f7bd4a05f0341bb88c7bbd61f57e41ddba7d8d6a15647d
MD5 0b6610ea65c3fb3d39fb5ae0c3d16172
BLAKE2b-256 115147aa34129d194fd39c7dfb09b100a7fc527c636adc0550d8ab12004299c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c4f878a4db9e88a69d257122d9eee4e2bb7fb213dcc046699a7e199890901216
MD5 7029990f4676d6b907a32fd16f5a34c4
BLAKE2b-256 5bc52b9d277cd94b171e1c888dba23cb144dfadc34fd79fdffa5af5d84bc236f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 512a8c7931200644f7dd3a7496b83e448b97a0c4302a4452bba9934c0f7ac4b0
MD5 f4b439a84d8c20834e76a14c62c3c82e
BLAKE2b-256 c933c1c75b880184fac26fdb31abf305246d3177f19e7b53a8f4e305f50c4172

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ae3bb62ef331466e84d8470dcb619e9dd3e5a93af17c06305a2c0ec0f8f55a34
MD5 d68d8b3e4631a45ffca27f9db7fd0632
BLAKE2b-256 a9949d79af100b1ecb4849e94943db1bfb522e4ecc4c1d4c55a85d75049c62ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 50faeb32e8e7fca3e3a35be324bd9433cabf3e29f100722599753a9139e8135a
MD5 bf32f09fdfedcecce469e4ffe400e0f5
BLAKE2b-256 f1dbe34d7fffb154fb9704c52e22c31b969da6a8f85de5611462868cc0387358

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 17474a1ddeb198736691de00892c82d3b2e3b8b09e465fd8a891e46b1ebb91f7
MD5 2ffa8d9ab73152667b3b79a3e0506d80
BLAKE2b-256 99300d7f83b9753b14690a2e3d7ac421e7a0d165ae3e763361f7877b31e55dd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 682e1f620e723efbc02d0752223dc91459483b4c0dea38334d877de9ac57e4de
MD5 434ce321e9a4f99dab387f837dc04ee7
BLAKE2b-256 265ae9b176e38f7ef8f334c50dc40263d2ed1b0590a305268efb5b63c0662bbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05edcbf1afc6fe18904027746aa1f47dfaecd0348d614412d8785bfe56d47583
MD5 c8bb1c4dcd86150482715d0d4395d5aa
BLAKE2b-256 3007510c46ef69ae1779d343963f885a00ef2f08d94648e6d3a51594a031cfa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8f33654a49af38efe164fb765976b9b539de07e7f3208fc22649405c174597e
MD5 9e6822622afe81cc9173bef76749ef45
BLAKE2b-256 65e0c8e0b2f8b8e4968e0034bdc1508e78b44f438ca9d05ab070d6cd54a8af73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c886f2e86b8e0901d2d78ffba5e82f7a50934d6a495cf29f542930a860d98317
MD5 09994db27f00824641fa3a96097e1a7f
BLAKE2b-256 f331c7e62130bbb794eff716a1e2fd9d312c8db6e15099b0161f68806d5a4af0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 0fa1697d0a0f26f34ad0827b2a89f33392b804f933d5464b72aa317cc5acb7d8
MD5 1c2c6e5cd92504d740306a635983cd89
BLAKE2b-256 49d04c43efdff35fb05e8d670b3f340e91a8d61d9f10f75638de7f0dfeef2d94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2cc3c5fc6c912a317e1361728c1e13ee3091affb8e4d8c133d51d08958f0a04a
MD5 d7e629168cc390692c16b3e04ad7f513
BLAKE2b-256 48bb4bf9139f95c346bc815679155390ce18aad281d99a9dfc1de90c845aebc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d3b7fcfb0ce874c1be5b9c5cf30a93f7f0e4dea5038eba09ca57a4ff7a6ed9b2
MD5 ae8ac4aadc4d7ea43974a4cde21a8d2e
BLAKE2b-256 ddc10611c985ebbd904282273b50725b9a97dbc5d4b69c43abdde5562b932dcd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 064d7a17452be32fe1a66662a9b05481378e579545dc51bb679d6963a602c953
MD5 d63a0314fe09c356f080e8312c6aee25
BLAKE2b-256 663bf6ff110211a9fed7042f762987b6ab0fba506050a7c1d83224bc275fc698

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af718df8a7a9ead35caba9e99b0869cfe7cb2a8921c3a6368f0898fc39c67844
MD5 88825022b63767cac8f2b5503af8919e
BLAKE2b-256 893bd2b203c0d19d6d5f8e7430d6f577c2f594f2e0f8cea97a086dc910e4ab90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c7c7a68bd46e9a4b56a7f1a491aec773db8a4d4525938b3945d5963d84daeb92
MD5 6768a331edd24c94ac92766a2f6489a7
BLAKE2b-256 c435e10ec28650054a99c2c8adefb67ba08ee5ea49e2f93ee2a49c5e74a4a82f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 bc5ae3acc8aa92f0674326776805887e258c86cdf20a0042b02bf52770c8f440
MD5 8c080bb16f5c674725ce29922cb56e4c
BLAKE2b-256 ba557f697cd9fbf43cba802ede3c6dd115cccb62ce22d6de34a31ecb361c2bfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d9b9fc8efa44d84f7bb27f8f6df690370045a37e7fa1f97177500a3187e4fd09
MD5 d11ab641c2853d708a272afa888cd9f1
BLAKE2b-256 d9f5d0c42b4bc38e83482a21033d988ac0f0f82e5925d61e2d9e876182bfc316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2ada29c7ce865810f073b5a478843a3c217b16794dd974927d393abc3c303de3
MD5 de5094f8de2b69940f31a46c1ea2ecc0
BLAKE2b-256 16e6f8395c7c1fd4985f62de7f752574ad2b25b16eeeb91a9d51cd0f6e29e0a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0320b6d553f4372dc7462fce38bca95d73bfa9367b977a787c451f998858f5c4
MD5 17ef6da5d495d3f82182feaf5e001d99
BLAKE2b-256 06e6f88e5329d5e12d7719c2012414cc8ea6de22fb228b27641fe465e365e104

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f29529d400e009c2d6cb76a65abab762e0ddfa7586bc02df6d99c015098cb3c
MD5 90722b69e738edb7dd3d741c68caf905
BLAKE2b-256 e3df0132b494a3350cd0e4b9a8799ec01c431c01b54a93ddefa6c9d62f46c462

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.30.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c9d6b2c19e9a59f06bedfe5a9ac00624861a0679afb2cd5c443a0718dec70a62
MD5 80c257036878e025ea9731e037b886c4
BLAKE2b-256 15fccf6538c117ac8132a7ae2b1f5fbec6245db32a920fbbbdb02b80eb470d27

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