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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows ARM64

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

Uploaded CPython 3.11 Windows x86-64

pyresample-1.28.3-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.3-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.3-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 Windows ARM64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 Windows ARM64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.28.3-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.3.tar.gz.

File metadata

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

File hashes

Hashes for pyresample-1.28.3.tar.gz
Algorithm Hash digest
SHA256 96b41e8da3b7e7900fc399d867033147c39512774b427bd05b561781a668ae3a
MD5 14aa640ffa8cdc6568776053e543aab5
BLAKE2b-256 e68c76bbc976cd1a165d04756fb2736231c1a1b8c0d7979d4916572d21671d66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 42df1f6218934a6c3da2d6c1cfb1c2744435cd52004e9af8caa3933d81ecc5c5
MD5 fdd93bfc4a07212bbb1bcc0de63880d3
BLAKE2b-256 9407797b26b2d34e68d5c43b16cd4f0b1988ac3a51adaeff45ca69b25241dd1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f04b0f45ee57f5c4fbee398060be02b17d13ddbce43457c4c5f6c3f855a74bdc
MD5 53cba5b62b46c39bca01a284b987143b
BLAKE2b-256 f4303f79ab6f407c53ac445f138c8ebc40ec2615904556c5bb5ce8cd5bd663fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3e81b776b6cb5aa5d0c82e544ddebc57a9701be2aacffbaa279af00d58984500
MD5 3878b9531342092b897bec2d17f6826a
BLAKE2b-256 2a7eea9f0edc84bc04e651ff1474bffd6fd60052726eb6fda2d0427332012d37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 30c97c2cf5be115d6f749f61991814e5c67e9f6046682208848fd335a3b70836
MD5 0568845980af76f599ae00404fcc8b56
BLAKE2b-256 c128d0cdd730888a29913d1e5c407a3e29b6748dec34024c2acbb67c68458d2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e39e665268f24f9906c0f843246d3fb3e4401ae165bec17676f1b0db6354eca
MD5 53ac876d3bfce02e633fb0c8a5fc6d4f
BLAKE2b-256 1105ae3d6c1fc62d3f32a704fea7f94004198e94b70105971af97c9d0d8c8a15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b96092606cfb85b9be8f7e94dca0f2e53753090aaad83ef3b21a420749e7eeaf
MD5 f7e2cba4c3987569278d2f20573ba784
BLAKE2b-256 86b68e81b298ab35bf05f1c11a45a8f48d62753eff4228a362d94b0eef7bfde7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 cd7dddadc8b2bdc0ba805750c72344c7c3a4170cc3f8faf5fe01145650f7ac9d
MD5 c1a5fd6db2be862e6c29b7fc259f3e81
BLAKE2b-256 92bfbb03ef98d0e77611c35d276dbdbfee25a366f3801c8a060983430da042d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fa8ec71541610570784858a5e2f0b96f0d363e02a15974b45b47033a415e4650
MD5 cb1f6cb02668069dae589a9a94e0b793
BLAKE2b-256 a10a8957272863a8bedc20af1b7ba9670f019910b97f69b9819022a98bc9c1c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06334b93daea8fa097d49f49bbaee1d66faa0e978ae3f313fbd13b77c21b79ac
MD5 bdc83b619ddcee330c729151b259a746
BLAKE2b-256 21d2af5de43f2fab168907d9c61d343c181ad1512f3f9b33ed7e6a3e833fa83b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5f5897f7dd915244fff3e2e171e3a54b76c98cc3ede6746eac2f2a054b303580
MD5 21f22c205e97514d0aa239e421fc0411
BLAKE2b-256 e42c832b490a0443b08112fd51e25360486c83c266df4f463c2d57e5fe040807

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce202fc589a21392180fde19bb9a0fb7ab1b1ce9c0eb90b9df357ec2651b1534
MD5 cc4b3a796a189f9abdb9f13bd3fdbce9
BLAKE2b-256 0505dc65c03b3e4614f3294f494f11832686b452f857460c53d85b3f460aee89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bea22d8d011050ffab418900f9b8f3d42564783990bab5c7dbcc7712e450fa8a
MD5 5b7447f00fb39ae9d2efd58ffd713115
BLAKE2b-256 0bf13cc15e17ea9753ae072d7576cc29a368b8e0ed6c5a61a2128d5641afd417

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 dfe4a18529926f86625cab89374c31e32cf34e935391c3b17cacc876f58de627
MD5 1cbf4c71df461f72f4b12cbaccfbf72e
BLAKE2b-256 a4ee282dd3e7327e4ba4b163228d09764a54c5924048fa46b412d41691a02339

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d48b0dacf8531dde5882f3d3c0eb977fdcd0e1a34f4f1cbcdfec198cd1d0cc08
MD5 4970c0a7ec387e3795a8ea8f0ce27612
BLAKE2b-256 e035271f03a854a5bd635da092faa6d3c0c682e37d9617eaf76bf05181a73ee7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b8a84fed258472f7737d55bf35532654d4360ae21dff1e25209a443a05ad1d5
MD5 623abb30f9b5748cb2046d10d1f9a523
BLAKE2b-256 9e2c52c3fe8df4784d54f9c01e71866fa6979d7ed6c5c4b5264b9be87718823e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b8e63459f334cc0de9f0bb1ad904eafc83eaaa1fb10bcdefd40b58e8ddfe2307
MD5 50752feee09601a64b7fca5ca5f60a5f
BLAKE2b-256 6f517142c188b5acd871343000de21405324fbc8864dcc6494c0dca4202d1610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f19fb93627dd7ec8fa2ce27d52b473803400a5770e1303d43c3426efb538058
MD5 583d83c44ef1440eaf985933ec037aa2
BLAKE2b-256 6e4ba4e02d17791a1194dcf47ad1ed847d00ba7dea6f12b2ad3c9421e1675831

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 11c887d5e81fc81d9a3c2f88b6e5310ce348964cfe8312a4b6484c0a2cde3bd4
MD5 a42280373a7748d28216c3dd2e7a517a
BLAKE2b-256 a339ce03051b28e4856885195b86901a142ff69787e27d631a5ea18337c66bdb

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