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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows ARM64

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

Uploaded CPython 3.11 Windows x86-64

pyresample-1.28.2-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.2-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.28.2-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 Windows ARM64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 Windows ARM64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.28.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for pyresample-1.28.2.tar.gz
Algorithm Hash digest
SHA256 3f48da510148d9c649dd689ff43ea4a57eb3eae90428b737312fc0502beb3532
MD5 81eceaa95da9eba5782b564ddce77ee7
BLAKE2b-256 e1e075e16a1e2a133a3e1389a379f0c04edce5d2e1aa1fcadcc9b40c3d5b7f4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 a0eaf00430cdf990319748b30d6fca582e8f5454201808e711d90be4026e9084
MD5 70f13e6de369825eecee66db0d49cdaa
BLAKE2b-256 9ad8adaf3568d8309a73d191ed38e5cf05881ea0a7ba272db05a8565ae34309a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f50a554e751ad67d1b97b678899be57fe7091949eb83044a511c12081a88eb4c
MD5 53f39d8c9fcb8e9a126a7109514d7d8d
BLAKE2b-256 2790eb26b3de81cb6bbb718c88973b6c4800f845f9dee2b5348b5de7999393e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23162aafea5283886a2f6d2b1eae7d9555b9e8f0f6d706b403b23ca6aea60c3f
MD5 a84812cd7be5c11b1291784d46147f64
BLAKE2b-256 d4b5e393d28283b07ab260551bd5029bb52ebc4cf407554f31295a28873c25cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7563da90a92d898240d7aef0fc7e86d0ef01a12eb6a850b597a823c444335eb
MD5 83ab2990f0b3f0c1f10d93d1a8e0302c
BLAKE2b-256 16584dcb1e763184db87db0b17787a47d71687371d158a1370abe0ae887751f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d1c3460b99c46f5d83a7f1fbcf95b3fd28a7e52893ea42952d868a195b90e348
MD5 ccdd153473b622635c44cc42a35fe1ea
BLAKE2b-256 fffa31604e79a5dcc1128fc8d5e59f4a8c61d64575c2d2e2e539b77f932c4f9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 38526315a47f41a7e01c77bf52872241b7e49b67db7d5ce48d64addf0064b13f
MD5 9c09de5fd3336ec40e6ef9cc77fedae8
BLAKE2b-256 ad98f9dc60a356dd6b1e339ad4c882d07ba442c70eee8a1babef21a31a470a56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 3ebfef22faab719872f701e7c80fef2acc30bab5bef3a8aa51435343ca8cb75b
MD5 c6217e068d08beb478124e510c093d56
BLAKE2b-256 7a04932cfaeeaa2df8e8d5f007295bea9d64d35c6e738e118487879f36540cef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5499eba739f7c3f75413dfd68d9b01b76437bb69bfa0916bce818bf3967ec055
MD5 3cfe3be143ad4d44f973a621e65028c2
BLAKE2b-256 756a6fa64012c3bde3f844f9f1b045cca69d644b29c4fdfa285474a9ed13ebad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 130e7cd7c9dfcea86e2fc1c7822ed8ef9e4169a51c93c86ec625063bcf37c2c1
MD5 85ca1bc569202000884e76123c20473c
BLAKE2b-256 ae11c10864c0f9945c221877a3d6b9fe3d331bc8fa174c5d3b77e5bfb04707c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b46558e7a75733f6e0d743a38977ff916b156628e624ed8a825a0dd4836e0dbd
MD5 cde0b2578acc692f46493dab4c2ceee8
BLAKE2b-256 7189125033bb45ab356afe77cc9a828d10fae2256a04a6d96f5bef666e054abe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2c5d9e0d500c9d9a5841b12786fb6468a279f242ce339ea7d3518ca47364d7d
MD5 fda059672d5e64a2a3af9ce370de6cfd
BLAKE2b-256 073b0e4f22393451f7462872e53730e3c8405e43fab805bb9b5636dd9697b5ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 26598c3f7d09bf134b4fdf37b852e08ddcc4d2e70ef01405d10ead16f712e5a4
MD5 3579a6fa525cd0acd89b1d36681ae740
BLAKE2b-256 820e321b7f2b1e86828bdc3e0de7ddd377168db984b82ac7e70e05672b5d9878

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 d22a13af4a23ece0baf030529fb411a142d08737e01e683989c511a686824611
MD5 3fbe59ff47a28358ebdf1e15d9807aa9
BLAKE2b-256 b0baef03c394469b2c0ac5f8514a9ebb696befc9e75adf357eafa7ca9629f8bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9f63cc9418462c7de43c381b72adae5088203447340bdf8e69cac1f6e8ecd9eb
MD5 3801e8c7986a011428b9f5835229f069
BLAKE2b-256 3b09759dcb09dca3123b10d8b2a59a0d84495343ce8a0d68c6039166e7a0a6d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95828deaf6a67aa592ab6315a2a64cdef15139dcac1ae18602f4bd838c9875d4
MD5 aa5d637cca5a83adb76c2c20748a01ea
BLAKE2b-256 35e83d919af583432c08c50b8316e0a47986b24f45957cc6da7bfc4a8ea978d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 499113034b3dc88f69592ced531272528ddede4563c7435e23da5a12d3a4e712
MD5 c4f91dceb6f88ac1bb00df44c340b987
BLAKE2b-256 f4d890f33826e0dca560d0092a2622f0d368b6ca889c695284c19afa10bbe521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 38c34fab466317cd5757d0ad5ff149886f2adaf6cc11af4c80f99bc01d9b9d91
MD5 b4a9f967d335fa5e95aa79d55c035944
BLAKE2b-256 b025c32973de6d191c198f73c7a2e5703e6c282128fd8bd9e77bad1d3d13ede6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7f53fe0b084488e5704ae2d7bc89be219a282fbfb9008e12328f1dfeb1f921dd
MD5 9ac425666909b8ffa629d99083b1da83
BLAKE2b-256 9ad5c4ec20170d3ad6efe60fe0834c124f7301b8a1c17210365998b81ebd651a

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