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.

Pyresample is tested with Python 2.7 and 3.6, but should additionally work on Python 3.4+. Pyresample will drop Python 2.7 at the end of 2019.

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.24.1-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.24.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (3.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

pyresample-1.24.1-cp310-cp310-macosx_10_15_universal2.whl (2.6 MB view details)

Uploaded CPython 3.10 macOS 10.15+ universal2 (ARM64, x86-64)

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.24.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyresample-1.24.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (4.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

pyresample-1.24.1-cp39-cp39-macosx_10_15_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

pyresample-1.24.1-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyresample-1.24.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pyresample-1.24.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (4.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

pyresample-1.24.1-cp38-cp38-macosx_10_15_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.24.1.tar.gz
Algorithm Hash digest
SHA256 2c8a452d4e04d9ca6e7151348349d50f38453d703a0529e7de05d1c1a882cbbb
MD5 7aad6e985b2faaa2229dd083cfa6e566
BLAKE2b-256 ace90a8b36a45a70d33ff60d91365f3f62faae6971dbd903e73aa91ee71dfe42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.24.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 28a4ff27558ccda13fe99969cebe6222d8584501574f826137e4ef572d5350fe
MD5 681369f80b443a48c428a87e83098a67
BLAKE2b-256 c3c0ac97e8f29fa4689fcc7c259f0ee84cb7a4f821074626bb503311be835e8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.24.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 62de4e965df61f5c6df234bfe811764a402335c2d6569b491e278b753cfa0f28
MD5 fd18ab7937c0b5af5eba0760faa1fdd2
BLAKE2b-256 9959e35f851d888eea1d602c824e9a27f730ba876e9d63dbc4e5e8ab5ee1b39a

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3e25018578a38fbe761187d0e75fe9ea73c22ac53d8e25fe6b3e5eb8f554bbf6
MD5 ef23c4ede41e2bcca9dc1b36c0e4a36f
BLAKE2b-256 110a30c4de9a87301cad23ab1eea451648bca0a34af04145b368a9adf74a1dc5

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp310-cp310-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp310-cp310-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 e50729a0ec49325ba34e2cd8af8b5e8cb0c450a02fac1e03ae404eec639b4c4f
MD5 2c397bef57d04d6c07e4bb949a869aac
BLAKE2b-256 5380c6c1d0a3be2b0e59576e34492eeb52a0d97a7e7987b0ed53e5af26822834

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.24.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 463487bf23570516a40fa9c988aeef224f8df8c8386e18cd50fc1bf74f6ec0d8
MD5 d5aa6c5add2c9c315af84b72a7ae20f6
BLAKE2b-256 75f1737d307844130b4b02d4e3ffe1cb9295420026aaf39d0be72d237dac5c5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.24.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cedfbd417c82f3b7b59ed8d481806da277672b70b107bf5149fb8c0b88fda4c5
MD5 86be6ab145dfa121dfe6efdfb286838f
BLAKE2b-256 22a6953ff71aa35c72aa838fb9f35a83c20a038a12729c91a64bab4bcbad96e6

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 0c137a5a8de576ed21ee3cfad3ba8468477daed3f5f9c670a133b8c41d96b0fc
MD5 55bb0f3ea6170355e00d15cf3c25d247
BLAKE2b-256 f2c4b3a9758981b5fa0191635e772866b6213e4039370e7840c66eb2ecd55950

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3fb90c71db253bc3b1771a8eb32fb8bc045c10e32417ac452b6ef324d9d3340f
MD5 4b78948a21f92cf85ce67d424107e856
BLAKE2b-256 1e948f5ff2341e9d843e0614c5d6bc0a31722db9900f2d390ea44378e093523e

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bb2c40fb496363f3d9ea5fd4570ba44767daf10cac368866af4aaffc52f1a8cf
MD5 5fb050b2c76002f8da8ca4f2ebe9d752
BLAKE2b-256 57c5812723c8769669d77f3ebc97b283dde081bb850aca9e3c2e9dbce68cfbfb

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6525deceb1420581ff63175da6b413683f1b4befe16940b40957f3f272d7aca7
MD5 a233ec16cdaac0748a57ac503299566e
BLAKE2b-256 79cd8d3c2cd3118e45d0fff6db7cf066198182fb205425989539a4583b72c241

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 09857e43fdac1834540b33fbc55d5e70171518b200e3c7bc0fc7e9ef4417e8a0
MD5 2e923c2bbd01dc6f59c985beb3a03941
BLAKE2b-256 0198862c90d57ee266b6cc5a9fde07e780216a4a78083295a521964f2cc538a0

See more details on using hashes here.

File details

Details for the file pyresample-1.24.1-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.24.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 fdf4d9c081f23473f899cb051ddf1f2ab949663a26a188248c37595535b286bc
MD5 39c9a41dd1d96e55c4a9a4a96fd6069f
BLAKE2b-256 1708fa581256a0ea9d2f5c6d2a75ff337d06f093b4ef3fd2ea33c06a3a8bd090

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