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

Uploaded Source

Built Distributions

pyresample-1.28.0-cp311-cp311-win_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows ARM64

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

Uploaded CPython 3.11 Windows x86-64

pyresample-1.28.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.28.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.28.0-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyresample-1.28.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.28.0-cp310-cp310-win_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows ARM64

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.28.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.28.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.28.0-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pyresample-1.28.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.28.0-cp39-cp39-win_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows ARM64

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.28.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.28.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.28.0-cp39-cp39-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.28.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.28.0.tar.gz.

File metadata

  • Download URL: pyresample-1.28.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c1fd2aaf1f0e960134396756dc25fc22207449f25a305d3bc8b22a5d56d27040
MD5 f8e68e70e5b86c44d9ceb92efa3ca3db
BLAKE2b-256 3cd26ce1897c73b386b3a944133e00d07e7026bec6bbd86bdbd2a87898831931

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 14c758a23f9286bc5b76f9d0744ad90ee60daa9ba7bc030b4e5c9b95b5f17067
MD5 97a1f9e694adac1b3e48f5c19a3c4e64
BLAKE2b-256 71a7cc502be6eb82b6f6097286d4c8a1913b5ea14da36735f505593755533879

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b5b0eb9b3b007d91c3ce95ae2e0761c79b9e33d6a3b111747030388aa5e7d4b3
MD5 f76dd8d2625a92a21d037104d593207f
BLAKE2b-256 1308def9baf3aa36e310e4284246d77daa9a618ebcadad33233405e6734551c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8382792a32a7fd14616bdfbbd8ea289487b0ca0cd55f401935600383918d37a
MD5 15594919b414b301642441f22375472d
BLAKE2b-256 227fd231795a20f8e07f5010d44912dc96d7a425f3ae8ace3512a447f1c64cb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 86f037b91415556389161421f54e23e5c835957009102597b00e47d3af76a733
MD5 be1b6872761f8454513eabe22dc268af
BLAKE2b-256 1b3ab55f8f379385f38c7a2fcbe2da81adeb734506a02b730c435b66e571fa33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 38eac9585a857fd8bc22c46781726667a67a820c0cf5f95917fafd8eb48a823b
MD5 edde8b6d902fcc8c7fa064c90dc9bf6a
BLAKE2b-256 4877847e6890a5e27cd2cb15ade17d81b2c49623a4418785f89a82127db99cda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 01907e4f34a4b9debb88d168df6bd141fd8f2e335393babefe0ca1fbb33de2e0
MD5 2384c7a4a0efd3d16a11f910a019a46a
BLAKE2b-256 11c724f3d805e350898247a048a19049b2168fef167785d5f468a27f8633141b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 606d2db223f0208aa39a85082b2d5bc3749033c0be9fcdb427cb548ea8bb49cd
MD5 d99d1b920ed69fa93bf54bc063ddc694
BLAKE2b-256 854496b5a8ceaafb32ab9443db16a35c0b96c2c39f90c3cb788d535ba37859ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 35bf99e096808242626c908db874472a93bedbc7cc177ff623beaae4b8706f93
MD5 f3f09bb880d112ffe014ffcf8443380f
BLAKE2b-256 ba33fdff838816bea86ddc6c545fb73f39abdfbcca2f84cc91ef5b787b1eae09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b5fdad99db43aaca37a87bd31e72aa464c2e56b20f0d337762c2f3fe0988702
MD5 8eee4df8ebe42376c428a7844048278b
BLAKE2b-256 786868b244003f53674ac5f74c734281e89669e962e13dd90dc89301cfca7caa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2733770c83443ea97f38e0c16f5efe6127ec364c00cd5d7449c70a23fe8e3b7a
MD5 59b74840ee8d5b59c27803be07431b76
BLAKE2b-256 8f0eb8c45ee9dbf9a7aff90528d8d62d014f46b7342b30e753c6b8957e42ee7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2068af95da374a3a76545cc260dee0b9b3c553e22777a65bebec752e043a7b8d
MD5 d4f49545c3f9c7cd84dc9092bd242e9c
BLAKE2b-256 b0e21e38220802f78403d6ead9d76ff3ead70d2cf5fb7771f147bd1424fc29d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 431f4f41c111a0989234da3eaf2ece5f25e2d66fbdd6696acb9c1c866aac77c7
MD5 774b36ac83acfa6bdf76c83434f44cb5
BLAKE2b-256 02c62c36b4c9659420d058962ea5f6d98b83ddca14a8bd059d608dad5b90ef4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 251162a8bd55bd6acd548f1529b429e262df5959f99d2dcd78c77e1cb62ef8fc
MD5 47929be761ec4d2820ccde8da61e0c6f
BLAKE2b-256 8db56c853c0b5e4f3066d8221ce052dd916173ecd791efcc98ab16be59dfcdb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dd20cd0e3e6c8cb8ec535fc6c822536788d74e30c21dd743fe1cfbc2977bad16
MD5 8bfebaa6510bb0e54768745f311a5f77
BLAKE2b-256 e82c10d3bd5f822e96d496c8b46fde68d3615f1759a21b77abc35cfa70e6bbb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 425a6d3eb12763a81ede8dc648d358496f0dd038799abe979fff44e212fdf236
MD5 69cbeafdd9da8d5f605844897f37c6e8
BLAKE2b-256 f0b34950c085981378de2764e3a7596f6a93c3f16c5db0a10e4890b37c3e206a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 78eb48a219cdd33a63e1b9f9cb0f29f7799b77b9381b76546b9a0f81d19bd93f
MD5 00614b6283af0b89c872b289306f5af2
BLAKE2b-256 e47f51fb472617ebc8e33fc985a2d2e6a7be358e92b0a41b7a23f633f130aed0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99076d2739f4dc0002263267eef0d86cdb3d55c6ca022c6106908f9fe7629ce2
MD5 46e2ba0c9006215a8d11d027811135b5
BLAKE2b-256 bfdf51e2e426e548228992891c6bc2ed493431e197cbec8a889a6c839e634d3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d3085a2a3b864d123a30225f5da5bf8ffbdb1e31cae8945d41992f7d43b3adc3
MD5 2b7d78bb94e64781788a7a9de6ed2303
BLAKE2b-256 a47ef9c045aef00ea5f7acb013f3e3cdde4e6caa6ae4765bea0d1bc8877bc394

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