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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows ARM64

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

Uploaded CPython 3.12 Windows x86-64

pyresample-1.29.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.29.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.29.0-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 Windows ARM64

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 Windows ARM64

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.29.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.29.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.29.0-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 Windows ARM64

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.29.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.29.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.29.0-cp39-cp39-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.29.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.29.0.tar.gz.

File metadata

  • Download URL: pyresample-1.29.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.4

File hashes

Hashes for pyresample-1.29.0.tar.gz
Algorithm Hash digest
SHA256 ea04159f022670719d10e9583eb2f8061adbca3fc662c0801fb08784830207c9
MD5 294dd2c97c1051eaf8134b735998180c
BLAKE2b-256 15e24c63380cb8ec12e4cc3c151919afe9df1a0988dbee3081882b41c5d85d8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 3a2843d3ac01022b6dfde4ac6318cacf82414e960560a0d98c4c765e5f898f32
MD5 d96d86395f736e5c8ed97b5fd3d0e6c8
BLAKE2b-256 55eecebc43f5b19085d241856ef2574d30793ee1777194479d59731c64cb1eda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 411199a2e94f0598706b00c0e1818be20f4c1f7e0d2f6c8db32ef6601b0d6968
MD5 e20480090116a99fba13793cb4fd8179
BLAKE2b-256 0972690399a15cb7985de5e9054c716eb402d6bbb7899f63bbb3d9ec56a625a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6c26015e5a7cf5a11f181bfe5757ea7ebe2ca5d68651cb1a7151c4f16ac836a
MD5 89effd58eec5f039348f4a119232ee8d
BLAKE2b-256 932132481c130706371143022c7390a6e7556447d848f8be38a763785b1a446b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b397e3a437a7d6d4dda2f0c9d2891218c3c4bbddcd05fe5ee09999a23a8b5420
MD5 6b18cd7ae044c3722802abfb523a9dd0
BLAKE2b-256 1046de1c0d3f9c9a444b0a8fd8b483f153a574474647924693c1105e7af6a516

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8e3a8076c375f37ce75076db70cdec1eeebc8d6a4bfe3671e69b1ed27bbe0b9
MD5 5b2adbe765a607827693e0a34578f373
BLAKE2b-256 7876cae7408553855490d222b420d8c8334142733f29d0ee61395a31aeec117d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d333be285e4854ab9d2e607b4f31bb756818797e41bcc6541cf71d840714a92b
MD5 f3b3f184a7e970c83f789c190f12d8c2
BLAKE2b-256 a083a51bfaff946c24247107942bba16d173b2521f885af6a8ee0ea7274b16c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 d3fdc824b38d1876b6b53d01c25a74bbea5596d8776e81f575ea857a29bdb32d
MD5 811874f0509e164e3e412bdaccf4c8cd
BLAKE2b-256 1913a8e2990a187c388ab556c0b76212b86d5915d7e29f6bbf303b7d8a988173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 648798f3c1d0f63533a0d329cf4b606e45207e05e29fce6f8109887c905b0c71
MD5 156d94982e7dbe4440d4d8d22f6f23f5
BLAKE2b-256 f1c451f76a7c305186e86969cdf840a48abc1335664f0bd49673f5472883b702

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 55f39919f9f5a0aec132afd9cb2c7ec695d84995ce5746900e49edacef5e9ba2
MD5 8319beffd95d08aae2f01c1289fa19e4
BLAKE2b-256 93836264d2e5115c6179dcd38bc4e80ba55fecbced65655a13d187d56c1a4ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6858cbb0edc6747213fe061cdbe4cb6dcf088c5db456a79f7f06762e9afb5ff3
MD5 62d96bc529db20746061a3b2ad91742a
BLAKE2b-256 7c79dbb1ab043e227324c299f53d518b8277d2dbde173779c8e0964ebd87d24a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d52ba4dcd60d358aca809b76000130932f62a682f72eedf5c69b37fefa224c24
MD5 974da0251ce8c2524fa3557948b3ba32
BLAKE2b-256 757e155dea813dc4a9946f1aeff46de149b904a17b905638ea79f1615d87d48f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 646bc0d6b88c521ea5fc3af20a2ee66b67b9ebabcf81f14d7fedde4a3e84fe6a
MD5 8b1e8d4b5cfe8f0ca5a04f9f28f15e58
BLAKE2b-256 1b594ac11cc4d296e02e4a719a88d858dccb5dc01f5a569a52b4ba5a3700fe4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 e85f2db68633a6af4abbecfaf9630d065d4ece108c87ca77a96b87e574b19986
MD5 bfa5f28539541560e18b5216d5292b5c
BLAKE2b-256 193fd93da43dfb41c1cdbd92bf8d2377114a8127b7df9ca9db0506b6da2a50c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 056031d90258383064b708bdfbfb9179fe7e9afca01a8cc978e6504520991904
MD5 4119e95e2a6a48bbee68ea713a5877e2
BLAKE2b-256 ff1bb800658681a28fdf1896b1bfed71b517e64c16fd1bd57c52630720f7bada

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 79f220663eb259ebc0ba453766c0665abddebdfc7cce6977ed99d82cd05f28cb
MD5 26df72973be3762b6024823889223d16
BLAKE2b-256 a400d9f30f06158ddec131ecffdc7672c446237908d51f544b317863f09cb32e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eebf9e52f4b0616a457844579e9c09622780ce5d0cd61290cd4a1b7b9d076fc0
MD5 8578577c34cec430efe92e4c94c78962
BLAKE2b-256 f7969f2b3c9a33ee5259bc71938f6b6af511411f3da876502dbdf5c5c6df4654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a263d0ec87c2ff8c6a354acde2701a4452e18a9d05fbe8e889cb3926b0b727d8
MD5 0a7c626cc7dabe06ecfc7e4c5bc2574c
BLAKE2b-256 9f3a4de381e4bf1b800bf31e627712b92e48e5a2c06044c3cfda6d8b2afb3ba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4947f1f7661dd13997d49fb82aecb0570ff50e3dff4d8fe3c8b7283683f6956e
MD5 d930400c5efc2efca7d1c53db3e8d371
BLAKE2b-256 f6b55439657fb882ff431b0b40f4e1050b5b0b52baa0de96f37cc4f539d72624

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 3032a2ad27eb846b0c57098feb4776f3cdc67ff4cb402c31b3fe7d4cc38f366f
MD5 f1e4bb43927e5e6f309936ec156b2e5b
BLAKE2b-256 a3584aeaba04a502a4288c2b5e2c2c0a6f1247ac28d24b2422c7514e571d3ed0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ce002328326fdef5c386354ec425e68bd92043965028feee8255da17e41ea40b
MD5 32fc3418278dc75dc95b2f48a6f00739
BLAKE2b-256 8075f13914ef78e973366a9cb7780ec2dbc19aade7f16f390c903624fd06c75a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2c084887eeb3f50acb67baa8b4a08b6e894a70c70882625534b9ced102e2a80
MD5 2fde2df717430683aac36eb3a6c6a0a0
BLAKE2b-256 474df4e076e6cb6999076d2339dd87dc25fef45e40fd3a51b2e2aff629ce3634

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ff0d98517267abe0864842737f3f73326ae45e19d3455e05b50103b1d384723
MD5 56dbf0680a57a186fe047021d00a936e
BLAKE2b-256 dff6f836a7de7228d8eead630281af6572ec736aed0dec09650f30827ba11677

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a29b82b1de35f1453a9290d7889d4090b1949deb8f41e85abd06a2c5d55f4c84
MD5 9151001d2d5bb93ed73616820fab6a93
BLAKE2b-256 db9673a24ab653ae79d93c8447b5823b8832171faba1fbf452d6a414268dfe7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.29.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 25d23575124e1a6b14dade0c8abea7f2c5206ed21089746c06bd4bba81b87ceb
MD5 b49e670fa89530c77c37520545ad2836
BLAKE2b-256 5ed053e7164e10e3681a73a014cf9ec7c74a9be3fb66780e5570f614242f1368

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