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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9

pyresample-1.18.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.18.0-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8

pyresample-1.18.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.18.0-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

pyresample-1.18.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.18.0-cp36-cp36m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

pyresample-1.18.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.18.0-cp35-cp35m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

File details

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

File metadata

  • Download URL: pyresample-1.18.0.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0.tar.gz
Algorithm Hash digest
SHA256 ad3ffc16575ef2fef0baed3fc06c524a6008fc03e021deb7522d05942ae7f04d
MD5 ca9a7fdd470bafda43db963b1c2417b4
BLAKE2b-256 e05f93cc9b08ee072e1eee89f5be655a41aa615ab91f84d3499677d6dd786e2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 47ba3f2fcde47e61de4b8f6eaf0396d189d2e2bfad23853be8e9659a4f08bd6b
MD5 52578496a1f0d619706cea7a34ac07cf
BLAKE2b-256 f513e0f5c18a441f089f3ed9c8031b4b0a8dae5750f35cc3711ecb1c94091eed

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c84fe21d0c3c5e04ff73f8b3569808c7f34b50cc9147fcf78080db7b71f14d0d
MD5 b0aa39ad3f9538523316ec7385c6c957
BLAKE2b-256 cbf9313303af437d3cd0b3b28bcd7d7ca19c4aa8a48daec590dfddf43b84f597

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp39-cp39-manylinux1_i686.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp39-cp39-manylinux1_i686.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp39-cp39-manylinux1_i686.whl
Algorithm Hash digest
SHA256 191043d6abd2f83fd4affed55e43e065a759ef54f222c14993b708e6f1d8d80c
MD5 69123a13d5668918ce56e90736f6a2d0
BLAKE2b-256 5ec610c1720255f62272169a789f8a093a167f59f25e50d37c0440ef5ead8178

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8a422d9418458fab2eb0fa2216e4f08ea88cdcc35fe197fba95024e3a7a9d39a
MD5 94ca68622f7a7b4cd38bc3296d2619c0
BLAKE2b-256 70b8fa64924890e3a5228b6fae585260c8e453c799e86c76d8604267790ce12a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ad455d580c2fe46fee54a5ba0a73d58cf4c1a037bb95ef64606f21b08768d17a
MD5 782a223985bc7bb9549013fafeefa39f
BLAKE2b-256 0533cec2aceadbe50a6b81be5b39e298f67c117086272c886551f0646ef4a089

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3a700ff7e4344f0e9e32def50eb04fe6ee20dff235c9f9f512d4634d756c7e7f
MD5 7cc672a1d6e04e5e4472e9457003b618
BLAKE2b-256 554c9309d779b1d108ed540dd6e3d9755dfe38824a74e34f07422327a07e4e92

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp38-cp38-manylinux1_i686.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp38-cp38-manylinux1_i686.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e0f0bf565a40c2e3a9ae2f133c7b16d6c9f695e2d1218b5c36adf518ab72ae6a
MD5 8fa331b91f4bf30d26ffad4a9f934806
BLAKE2b-256 28668956b387958611cd258c53108d29d2981418563b0b4acc1a28eb2f8a334d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7e9070f6f74035dee17267872ac29f04f659624d484d24f7f0f08be13ddc7354
MD5 9e8d86554deca81c3b698c22767eccdb
BLAKE2b-256 0ddbfdfeaa27fcf9fac4e5e26e6ecb4aa53279e0f67402f713d3909689842a95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 dd590dc7e2697aa98d313fb072c46981a1cb449189c2da779558d9139e49ca5c
MD5 6910a915edaa8ba8dd2879f60c632e7e
BLAKE2b-256 08def8dcfa9961d0ada56650c1b610b820431a2860d5ef1324d82dbe108ff86a

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 90e7cfe78c1be048a585094cff4d99c87c4dcecdf6d509b235bc189786f78bd9
MD5 ad4a76a45b7ef1d20a06cfdc11c19faf
BLAKE2b-256 d266fb218a12fd8ecd91c4b01ed61fd18dc0c93ed21f372e62ccb0766ed3fe97

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f70bfbb18221bdd6c933a6b00a71d86401a85e5b41d1d37309e54e18262e2f88
MD5 983d694311f819b4382aed00f449af0a
BLAKE2b-256 0089e1df0fc3d8411f5851f7a27a07bada5c10d3dcaede96484ed26ac291c9ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 27dac3ffcc52ac88fbb12e13d23785160b6d4f1b516442ae5aabef0700b9d3e3
MD5 ae9373c670162a642c7a02dd3713b75c
BLAKE2b-256 bcf288fbe5748a3df42894e51c7a4ebf30e578779b4649e421355cb607481d3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3c4379676783ff374d1e4d107b7a768c44572d7863b678b0d31f258345c08570
MD5 68e4ecafa391f38e67ff2b08f0280606
BLAKE2b-256 7468b30e9d9755e726e0b915b6e72e377a550f2de26bc736422aacffbd4cef08

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e36cfcca1631db3b3699cec2cb0b9ea9dfec4386322569bb2ea7d87703c8ab22
MD5 e7b437e915413a0863cf292efaf5dcf6
BLAKE2b-256 21dcecb64dd774648f1e88dd24e0037b4ac121cc598aa715f1519f8c29180ec9

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 bb80cd2a4297520593571f72824aa74aeb8b512992e484419ad5e32acde3d024
MD5 6f6e83f634c8a2cdd24b47ace0fc46fd
BLAKE2b-256 fc1dff75136209a45f1a27e462503cc453ead6b4adb192e337475008eaef753b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 dbaf82249c60248b21135807a68c71c4393015e98884eecb6fbf7ace27f9e4f4
MD5 a0e68573f4879937a9e69fc6a055a42f
BLAKE2b-256 41605e3f66471fb9bb1b29fceb7a076e18457e9477f7b0e0fde15c2c0ab50344

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f583c7af9845e2f0e834bae197acdb61954aa03f2aabca94e2d6753058e7ce74
MD5 622006c3d6f1b7cccb404007044702fb
BLAKE2b-256 63dce73d7cf06d478b54b8d7cd9601a8b59386791b9bf1f7bbbec26f94abb7f0

See more details on using hashes here.

File details

Details for the file pyresample-1.18.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: pyresample-1.18.0-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 fb9dfcfef3133f81d11435b711c29334e2d991e3c3a00fe4aae21b2ea552e9f2
MD5 1fab871c7812b883405a8ee0d63a8cf2
BLAKE2b-256 121e16e38c1555f432884107ed45f4ea5d18911b3554bee6ede0e72c9c746e81

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