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

Uploaded Source

Built Distributions

pyresample-1.27.0-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

pyresample-1.27.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyresample-1.27.0-cp311-cp311-macosx_10_9_universal2.whl (2.6 MB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

pyresample-1.27.0-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyresample-1.27.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyresample-1.27.0-cp310-cp310-macosx_11_0_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

pyresample-1.27.0-cp39-cp39-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyresample-1.27.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyresample-1.27.0-cp39-cp39-macosx_11_0_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

File details

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

File metadata

  • Download URL: pyresample-1.27.0.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for pyresample-1.27.0.tar.gz
Algorithm Hash digest
SHA256 d378008a6a5bd28bb6757003ea7e3a0d0171e3f408e64afe1cafa1cfefee85da
MD5 afefb61af0b8612e996fb9da22f056b9
BLAKE2b-256 5a1762bf698e982a0218924513b4f95e06946dc6802940d1fa3dad3d45c2cbc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f8dbf512224185a5ce1817edab44047e7448567ef3ca2a1080a29760a4be86a5
MD5 4baa33505b8f540ac5a1d9a2930f6527
BLAKE2b-256 e57ba2c805d5a37886333546d52ed65185b2b4736f6bb73928848ed766cc2da5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b390c84d0dc9d2fd0a3599bbc0611d6646feb13a618a93791190f49de306840
MD5 68a4eeeed03d7c7d032642b716f0ecdf
BLAKE2b-256 3dafa2259b85911f1d2557caa05875f16d448f33ccf6b845cb4601079f5217c7

See more details on using hashes here.

File details

Details for the file pyresample-1.27.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyresample-1.27.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 905e7dc703a9d5e600bc983bac1a9026b192f9ef23ad5cad556653a5e806d6d2
MD5 63fade97c806a78237dde142b5d24d20
BLAKE2b-256 19c2df70cc5a3b569139c183f699a365069ced66b3b1e2a0c8bd6948aed8dbf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 62312e1ba2219894101e82ae20ffb2f0cb9d2453d33aea41d7547ae71eff5c0e
MD5 ed8cbe5f28de9a84dc8fea3791636ab8
BLAKE2b-256 d5e41630978349f8e20c5d9bb99fdffe17385ab9c0f96b0b017d5b3d26949dbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 277ec08fd653b77ad50e694f17326611cd5c2acc23f6ea4cac0045debcbf5023
MD5 41f11d81a7d124c68b6823a9e6b7b87a
BLAKE2b-256 4c0d8db9029b6864a2c1071afc5e2de2c3463a34966232fae2cdb7777f5ceb01

See more details on using hashes here.

File details

Details for the file pyresample-1.27.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.27.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 c971ae18999d4b8dd2d928304015a0d3403e6cef893f53b028a2135c17a45c98
MD5 a406a6568be6d6b563741b242df43e40
BLAKE2b-256 468865a809d890d5685656c78382f131ff046cc4ef5de695f324ca2c0f39ae43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 6094a3934c2059ed02c48a50b982355774f32fc397cf0a8e46705c63c6b12dde
MD5 fbb1b0aace90dec37f3f8335217f9250
BLAKE2b-256 b2f726062551de9ce53210159412996a69853b8b8509d6aeb290040e3cd5ddf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 29ad55003979e46d9c174fd58cd5a2ba572a7315a35d53cbc26b68cc025fff7b
MD5 ab7528766b8e297cd4ca930af5cf1cc8
BLAKE2b-256 48645e1dc0752cf35f6d3b495443182f12367ddd40da1f648a10af0a6cf206d2

See more details on using hashes here.

File details

Details for the file pyresample-1.27.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.27.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 34f228c2a07dcd1c41877dac229aac626711f982fa93b512c4d73a03307acc70
MD5 532acdf58d6cc26a63779d0b3cdcca03
BLAKE2b-256 bd7aefec9b28c16be017c52c8dad51c27ee11126415eaf27b4faeabb95300f37

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