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

Uploaded Source

Built Distributions

pyresample-1.34.2-cp313-cp313-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows ARM64

pyresample-1.34.2-cp313-cp313-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows x86-64

pyresample-1.34.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pyresample-1.34.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

pyresample-1.34.2-cp313-cp313-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyresample-1.34.2-cp313-cp313-macosx_10_13_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

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

Uploaded CPython 3.12Windows ARM64

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

Uploaded CPython 3.12Windows x86-64

pyresample-1.34.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

pyresample-1.34.2-cp312-cp312-macosx_10_13_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows ARM64

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

Uploaded CPython 3.11Windows x86-64

pyresample-1.34.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyresample-1.34.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.34.2.tar.gz
Algorithm Hash digest
SHA256 094e959e3e31a547d39ce1a940e5cdb23845a5c458a0fc244f2e4e5135e4f797
MD5 7b159f0e01fdfffd092e2b6f5cf3aa08
BLAKE2b-256 65f369979fed1660956ebbdfc2498005e6dfde7fdf3df306cf2e0d399f6fcf25

See more details on using hashes here.

File details

Details for the file pyresample-1.34.2-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.34.2-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 48a4770f3cb23b2e305b5ee073af699d2e7c8f7fba931269017919f859222de0
MD5 df840baed552f150a00b7715f98968a4
BLAKE2b-256 64e4f610022c7ca596c239f51ff0c4d0c0f6f765425c7005102b656adbe49668

See more details on using hashes here.

File details

Details for the file pyresample-1.34.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.34.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dc5a975bbc64bde00375ec1ac39427a829285b10316e57af9dcc1f7cad03b864
MD5 643d86208769388cb31d2ca02732436a
BLAKE2b-256 03a93979bf34755348e4a38eea5c92d3386867e9cc342b1b604236359e00c137

See more details on using hashes here.

File details

Details for the file pyresample-1.34.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.34.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4af6c0e5ecab2eaf167e0fb1ee375db5aedf7fa2b1e4029d07d065b0e6a9d57b
MD5 40768b569b5d4ac98f8dbbbadeb1d597
BLAKE2b-256 24f3ce3a81744124ef544f972d3d17b70f2e67ab9dada24ff98874b541e3080a

See more details on using hashes here.

File details

Details for the file pyresample-1.34.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.34.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 908b5cc35fcd94961f3af96341a540ab2083e0dba10318f674d0273daaa7d71b
MD5 c111143299c97a5d1b2832a0b85c5df8
BLAKE2b-256 8a804f156ad0d4361a87a1c3ec8b4842d4eca9a351f41e42ae20b0f351672725

See more details on using hashes here.

File details

Details for the file pyresample-1.34.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.34.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b2f169205fb88e47f7aae7c7ca1fd5411f077664fffb5fa58b58602de7222fc
MD5 e84e1d9e236041c261dfd5a08e7c5363
BLAKE2b-256 9178975ecc967d7f0048fb31bd9458c97998b9bb1114a7fb5c1a18a22d7d66b1

See more details on using hashes here.

File details

Details for the file pyresample-1.34.2-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.34.2-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 633c26b6d910e44ac25712b3f10ca30c2f40827ebf620733b5a987958f5f1977
MD5 10834735bee3d7738d02d3d53e0d08b2
BLAKE2b-256 d285fafebf57e95fe540519417edbebe472d47741cbbba6911301d590c5a2d9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 6322658cfe0ce9bd0700efdcc4cc6aa0fa74805e06fadb71232d3fb6aea95c5c
MD5 a81734d65b0bdda63bda5006d6b87eea
BLAKE2b-256 82afa2ee30e78a13c4dd513cfc57203cb8746d9df44e1b3d637a4c1dadc0deb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eea9eb6e20dc52bec1ccb2f66d71590d9c4d897c0f171d3230c83d2801a2169f
MD5 30814136b61ed2d470548405d64e6b38
BLAKE2b-256 33699241990157c2c00338eb3d012a9897155ad66d4d1249318ee1655b629e43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6fcbde65dde7f63b5daff52bca8836d127ba8935f90e59a110984f68f4600a43
MD5 2331c24f0e4985a2a2301d6603f791b8
BLAKE2b-256 6161e344944f5669d08a73417a0d3b2754e49f8bbbebeff81c22580c25280d0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c841b5461a7a3e6bbaf10e01233fa9077d104e953b0dab02c2e285f7cd6b1dc7
MD5 8251f14cc625a142aed933c5d05d6fc6
BLAKE2b-256 daad7436836c47fbf407c61e4465bb8667cb774583f5bd7de811c008aef063c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f83f64a7cd4f3ab1a20332cdd835ea885824536ff95b1770f70e016f87a9e6a3
MD5 9a6f1bcdfbaa838da5d83f580366fb00
BLAKE2b-256 bf9cdbe9e7db4a4e222a2846c51bddc77429ad3fb834d80ef373b4809991c293

See more details on using hashes here.

File details

Details for the file pyresample-1.34.2-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.34.2-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 bdb904ae5479943d1af6d9184d95d608df2163208f67eded5ddcf7419f0a8eb8
MD5 7eb3a43b4a827fa4233a506c3e587202
BLAKE2b-256 dcc20e91506dd84a81c79135328f10264a2aa101d46ee10387dc6541e57c7fe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 4b2b4dfd4a5b3f7fa116e5f6a81c96794dddd768f48ad9f7ef31db6cbb6efb28
MD5 60760635a8ed64068ba5f5dddffaf122
BLAKE2b-256 bddc70f1e53ddb99fed465e4216b138e8ec916bf25efa9d4847da133f7aaa0d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 92521961da1f8c59ad615201c8d7866fcd728d904683d69ae2782b325e17ebfe
MD5 07dc370d0f3a9ce634c3a12f067bc53a
BLAKE2b-256 723db44b8cc2dfc60e74751c118f576f47330e0f9f7bb46dd094e08a5cbb2242

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f05f810e421119e4b0f5014db159eafa0b2f7aaec9fab1837c50eba60b29ee83
MD5 7ed38adf17c666d6833ebc956aebfc17
BLAKE2b-256 3d889414017e77ab825c70bfafe329aa4976dbcf0c17a3f074164eb454b10f8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d9d3d1b3c86d38da5340bb06e9c28f68ffc7edb2efffa4c9075c07e1967b1728
MD5 290aa086f285da34c155a8b77f402869
BLAKE2b-256 0d6c90273c90df13e48b1327335d1f0fda8a680da76a02bc303157c633050941

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ef1c14cc8784cd64dbd74ba3b6ef71b4dc0ac8952d76b7af9dbb1cbd4ad8fec
MD5 a441191c2d6ba4b4e55255e642e484ca
BLAKE2b-256 227e58531f82368a74157764dd387a9b540df722b1d268553bb5119b91f21a11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c5e0e0b8a7919bb72f5de4ca2a60a9ee905a2b460db465e9d59ee4feaf6a7cd5
MD5 1bffb45ecd02fe170827ca5cfeaeed9b
BLAKE2b-256 40f3d50414c95bb272e2d841cba17cf5a01982815725a57b9c72187f1b44df77

See more details on using hashes here.

Supported by

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