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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.25.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.25.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.25.1-cp310-cp310-macosx_10_15_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.25.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.25.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.25.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.25.1-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyresample-1.25.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.25.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.25.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.25.1.tar.gz.

File metadata

  • Download URL: pyresample-1.25.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.25.1.tar.gz
Algorithm Hash digest
SHA256 d943ee1db948edd1cf5f43eadefcac3c61a109677e6f74632641a9ff9542697b
MD5 78317eac655c7090988f8b26fc8b574f
BLAKE2b-256 5d049783056c69af7b9d28f36375d68e50139f0f4faa1637b1eec03cc3a99a19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5dadcefb2ac94a00f740eaf5317d1c81b9291d2190ad9d83f8bb91f7258ed8f8
MD5 007e015f81784373202698b03089c23d
BLAKE2b-256 7d87cdde2077cd8ed1511134b4caf1879012cd09a10bd5311dc3d8454d44d5cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4ec97a7d03302176453513656d5835f75b67e3bcf659216b8b6cfef32132696
MD5 ce970213950c67a766d9793d7b1004f8
BLAKE2b-256 4cceec2abc0ac65b1fafa89772dcb98ff07d6c1d3d90fc2338e871a06c9f9f93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 fd58f8580996b16b70818bbd95393c9fef50c9c6a6216d1d990cb2b2f26ee075
MD5 d3c7cd79e5de9865c7407828dd1d2314
BLAKE2b-256 1205b2967f3c67ea8bf2e96a15c43000af7961c09735bed0fa8f695716d21e1e

See more details on using hashes here.

File details

Details for the file pyresample-1.25.1-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.25.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c6b165966e0a0f5efbc49988da6c5c21103f73cef24ac357edf807840bb1c063
MD5 60599130213a4f86adc13bf21899e4a9
BLAKE2b-256 54a875405a14ff9db324d2bc43d150e5e7f6dcd85b10f0730b3c1762ab3761ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 fb741577c91e7909d55a34ede1b92035b4769e4e79afc9f1068e7d3560aa8850
MD5 fa205d26f448f6ba4cc252edf960b2eb
BLAKE2b-256 8903465c62ce6dea2b2f00b785c629610bd041d57b00ce2422f1085c4450c3eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a6c437b7995c0ed9799daf119b91b43a817058708a9ebc69b03aa53ea1cea956
MD5 1f7ece5edcb304b5b6f7926a57217b63
BLAKE2b-256 28475ef3887b8bf9701e55efb0890ae6f2eec9e5268f34f5f9b0eea3ce857d59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5c47987be2fe27ccb6c09f99a63a0e90e184ee9feac1b134e3c7a8abaf583803
MD5 01f08bab5057c0dc6ebed077872f3598
BLAKE2b-256 06c4eb21ef173017553bf0c8748d681c9cd4a086059d68446b34130119b97fc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a2b2939a9f756b2632cf1267bb81d8c99a96d515bce794e6d23db0ff876ac1ac
MD5 593dc48348f08c189f40313434475d02
BLAKE2b-256 086dcd3a4d009906feedfbbbdeb457c4216939653e46b88be4fca1351ee5ded8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6678bfd472426ef4a1704daa57795c86a7b4aebc22128435150640f270b8a8f0
MD5 1175bf056ca0267a8c4799cc111250d6
BLAKE2b-256 ab5625a2d913c1cc206fb65d7e06cdad4ce3529291f8b777ad919864f5dd016d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 efd8c7c20fcaae65d779d75984a69067f136b0809c3ec215cbe6e8c4733f4715
MD5 2d252561817c8b901c6b2869d5e68b79
BLAKE2b-256 3b79797016d28cd64b09de6412bccb36d54fe3e937656bd6c10e6296b994fc94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 fed07a5bbf93e76f0b768167b1384ce9ec159e4a7e198edf89171d847c8207ce
MD5 4ab0ee0f67ba5060b3deffdd8379fdfd
BLAKE2b-256 01292b2c38c3e3e940b4de6bbe91fefd479ad1a09db423c135ec091a5cc1120f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.25.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d209a3d9374295b30b6b179b0f26bf4f1c55e71fe68148e76843a1547739739d
MD5 0ebf6ecca60d631af1eba50d090475b1
BLAKE2b-256 447a796736a35af0c8de170010abe542c5995b2239f8b4457ea946e8a6e21c25

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