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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.20.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

pyresample-1.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

pyresample-1.20.0-cp39-cp39-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

pyresample-1.20.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

pyresample-1.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl (3.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ i686

pyresample-1.20.0-cp38-cp38-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

pyresample-1.20.0-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

pyresample-1.20.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

pyresample-1.20.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ i686

pyresample-1.20.0-cp37-cp37m-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

pyresample-1.20.0-cp36-cp36m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

pyresample-1.20.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

pyresample-1.20.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.5+ i686

pyresample-1.20.0-cp36-cp36m-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

pyresample-1.20.0-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.5+ x86-64

pyresample-1.20.0-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.5+ i686

File details

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

File metadata

  • Download URL: pyresample-1.20.0.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0.tar.gz
Algorithm Hash digest
SHA256 cd54a02e10f715af7f5181e0588cf826069faf76a09e0e691d67235ffcdf85d7
MD5 770a1e0c6f1bb29e8cdb5e3d9c35b548
BLAKE2b-256 be551f93e3eb2bba28907e4cfa192a4e6d7b453aeb9379e1eb393c5861db739d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.20.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0468f4264ac4447bb5272b4d64fc2facc2b86ab1c9c55b94f88e13b720a1ccc4
MD5 b42e38df362cb573f7caf12d12684ba0
BLAKE2b-256 1a414e42cbe58c37e8ac4b525d17e035b97ce47788084f0b273055f50d4d017c

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d3290bb0e7fa56207e5afe3dfc258ec517c5d40153ec731b73af699df37ecc72
MD5 9cf9116ed285ba5697d095490835f103
BLAKE2b-256 a5c3a4c7b8f2243aa172dd77ca50dfc9bf4ba0169deba88c598b8c48d2ac4f1b

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 eefb947abdb1c229b56cfd564beabeb208697d81115d7764ed17834dd4931440
MD5 a3a4a034c5e9aff64b5301c059b074da
BLAKE2b-256 e1f671fa7118fdcc8cf9c3535bc443fa9b853cab9d63a634c17504e72a1c55a4

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.20.0-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 70a3e9459d201f54cef8ecfc5503d2101119453e300596bf907f234ef78feb05
MD5 4974f58922167aafd85ac4a5e7db7c6c
BLAKE2b-256 9f94de47a5565e3fca22ea4740b88790a8ccc38dbc3231fb7530ca39d39547f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.20.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 58895ef9dfbb631870c22d2e40f7c7732a956d09987cb2034c17c8ce7adb6634
MD5 3c471ab1fd083ebe6dbabfd88395af7d
BLAKE2b-256 c82180a3273f35916e4e463b707450ba2548315f65b76e88435b9576b75187a4

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5edae3ed2dc3511b9014f6afa500882757aa355b43d16b46a96fbfb3323629a6
MD5 f7c43639745e0e2fac716e06518d9f9b
BLAKE2b-256 5ffa7781bf450c2cc72849153ca4fb56f62378e740fecd963a405ef057d3bbe6

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 4741085087e14b21ee28725b5e0c36fe7ecb2b6ea86229e4a8bcede9f5c46027
MD5 83472b563a4ac05a0ac696620b7898ca
BLAKE2b-256 919fd46dd3307d2ea99dadf91ae1e750a318d8237a5e653a5122d3e2f9888c4e

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.20.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 6de7a37781df71e8db32de0689962919cc990f907a5293d7ef00938862eb9110
MD5 5b044e19496e09570bc0957e8d8c5b10
BLAKE2b-256 0650ddcb98a23d478b15b8a501f6e02ef81840a15302455b2745f2fe7ecbc82e

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyresample-1.20.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c56ce773d344670cca22a7ec822ccd8effe7de07a83967436ee4d3b1cb5fef09
MD5 eec8c9a7b9f2ccc90735a1f81461afb4
BLAKE2b-256 920eab51de1239d62fcaea19c58b9c46ad783c33bc7eed2174cc1c4ddfc56812

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b229211682444b64ca0044e4bfea3ed4818fbd189a75e366b01b3a1a07bd2a93
MD5 a77900fa38df675b0321c0c71e550da5
BLAKE2b-256 afc75b108e451a7e29cf975b256d7b08b9318c7ca002c5ab4c9c1f1cf1685247

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 f8db49334f4b1ed4b09c5eec03828fc0ae1da40f25eed4ab30f784056cd444bd
MD5 98845d6c918fdb452df1f8ed4b2620cc
BLAKE2b-256 0edb07f4ac6346c4f09113c46ffac52c6e7cd6e4a972c14746f28b3f64aa552e

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.20.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 9c75413eb5a38d4a195995162d4cdc73bba3f72fa17ba1f2c1880a379e0bea04
MD5 552dd1493b5580c8811e163e7af97c25
BLAKE2b-256 afe192b6457b82fa1cb6beba54216ba0e4b4b148137e1310438a08ed89e4270f

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyresample-1.20.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 24317f768ca9bd04b269bedc0d50fb15c122e413e022575f0f921f7a42e0500b
MD5 48be2991c63c1e707695acbd0af27ee7
BLAKE2b-256 438fe8121adc844b4f56285c38ba949b992c0eb83d7e5796377b432653693150

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e14edfdd3876e0b2cf595364d98e29ad5e3508962db366c7d21a80b2f0e1ca93
MD5 e316e23fbf04aedd8c311a62adb307db
BLAKE2b-256 b0718f52742687329c987499347e3b61f8ddffbf653699fee2d8ce0c385c71c7

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 533559dfd76a368da50979db94da76c7a08242278a9990faaa10d02a3eada979
MD5 1b41e60ac4be9fff0732ca63a6765de6
BLAKE2b-256 3d31604370546ed66890292bee9dff8cf75dc9575d63434c5e0f12985a213864

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.20.0-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for pyresample-1.20.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b552540ed69202bc33b3e97248a3a2a712cee29c9843b85dd75b983911f73f4d
MD5 88f8aded1f8259f027661d62c1f706d7
BLAKE2b-256 533da266bb1b7dafb1e634d9c81fb2e7870ce1330624c12c2083f8d2a4ce7e65

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1953abb76581701a710094a13d7b583b4a0df3ffe8487ccd02e5834fe286eac7
MD5 db9195e7446c36aefc08543d80f328d4
BLAKE2b-256 7c388a43bc1ba9ffb41c9e45e9f35682a4ab40e9fa4070ce24b3f228e4afaf6e

See more details on using hashes here.

File details

Details for the file pyresample-1.20.0-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.20.0-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 cf3e9271f102fa9bedb84ad760d0efb5f1a329eae354ea80d69393d355daaa47
MD5 cc00b67a6c9ebf1752589307be13a041
BLAKE2b-256 4f0320d260a5d4f70dbd7e3855bcb30a54915055ba5dfa8f3f7b6633ea70d33d

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