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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.22.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.22.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.22.0-cp39-cp39-macosx_10_14_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

pyresample-1.22.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.6m Windows x86-64

pyresample-1.22.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.22.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.22.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.22.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.22.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.22.0.tar.gz.

File metadata

  • Download URL: pyresample-1.22.0.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0.tar.gz
Algorithm Hash digest
SHA256 2066414842903564024dadb19565c617e4d1882b80289acad55f4a394bad9159
MD5 aa208f3527e8df14845bf5e05ffaa38f
BLAKE2b-256 1702644ffa4a09b6f4df6f3d1d339233d0cca76fb4967c0bcba7b2fd644511a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3c8679545e6dd8812b2037b01e59c611bbb2c01d8075e15c07e2e5fb2cb89f24
MD5 908364f5384f730b2816c16070fa63b3
BLAKE2b-256 7e7e8a229713c9ff035970a01508df99523d4a2a381bbe7aef8f30c01d955d39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 86781a9c3ac9bb72be5df3ae55c77740c5f63d46b250165b5d4376f4308c502a
MD5 c64681561541b67291a194914ff3d7ea
BLAKE2b-256 5191ed554f2f7363c76af0a10d72cb22522b3d18dae0542cc9217e4da3dfd751

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 14b1b85087d92887b83be3161f7359029ef880fc53655107e786560f2a77c5b5
MD5 4e3cb970451cb720ec5af5b79402da3b
BLAKE2b-256 ebde0ad37c135909ada6f8829b2c41169b36787871e1c93603a45ece757ce391

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.0-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 5a1ba125da5f5451b0f18f4ba57ac00370ac5d2297210c361296a4462852e5f9
MD5 04497fc3385bdf1ff14be3db9f81484d
BLAKE2b-256 b07c809b4d1521d674db97e8526e7391ac9e27df0f224f33aa5568c7225808ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5f9ccd9e00b4e0763674d5208b0c67b77120408896f6579bae3fa1a4d052dc1a
MD5 d99e2cb30a8124db06c385d257a939d8
BLAKE2b-256 d895fdf6c05ccfc1fee0670eed310e28302b3401ed43750e40db8be2479e8d86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 027e34cc6741cd79ead86e1a1fc86de08bf122896b5494b4bc550b07d71e0dac
MD5 98bad8bdae0d4eba9fb014790ac74cdc
BLAKE2b-256 a486420be91e50525e011975f18957616717520ca5f28e6ebb92ecb10cdb4640

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 dac906c6f82418e7879c8fd61ab5f1e599330f49e56db2ed2e9f178097219029
MD5 3f0b28eda74168a56fba1ef5a6625074
BLAKE2b-256 5d1baf2b571319ed285e3ae9de7fde9b08e911d1685e4b26e055b17cc3ef182c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c7821448d7ed48d4c6e4baffa48b5f143b79fc613a4dfb83ad9008ea6f222817
MD5 9af17fa0309fe10362a840a71fc5e0b9
BLAKE2b-256 77cf4734261bae2ba8ed74dd18c5b60f347d78727dd1872bce53ba2c9dc335da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 42a57341800abfc4cedefc40fab4306bfa2c257cbb58cdd3645ab322da99255c
MD5 dcdb0e3d4d21db0745c56033fe469b32
BLAKE2b-256 7f2e8ba23ffb68c007beadb2ab1dd33149a5b530cdb303847a2c1f6566350fd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e25319c252922b7213c704b0cc9db79e43ef53591fc0d4bf7d5bfa0ee781a014
MD5 cdf3d5ed6af558ca0e6033ff85b4d4e7
BLAKE2b-256 b0797a28426d1d36fd5943f800e767b805b950a6b82add114af37f338c9172cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 ab0db7e37213e34459008c3f38a6ac52696f808621a84dcc266d8ac11b1c33c4
MD5 8b1f3f1be4d70aa80e96a4438a84a737
BLAKE2b-256 dd3ad06ff235c3a7bf5e395fa5ef049326759f2b0ccd93faf4098d072a380ff3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3650ebcb08682e3f30f69011b578126c4ba8902bfc4f68fab0fc7231dae58fcc
MD5 56963673c301fb4a01600e0be81a6de2
BLAKE2b-256 4d504feba62433c92b66382a3ffa69d90c3f0af79a67db6a3724b651ebeff61f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5c50a151cc6bf113aa5cbf29b5649d7e2c707af48c5772f722fcfa3ef9a555a6
MD5 6ca78e31cebc482b7758fd1697245bca
BLAKE2b-256 9909452e93e5259055036b85b1c6e88cf09b152d3c6cf92faca7a4ce77a1a39d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 81252bacd5655c3a8aa0a914ee9c1f919d352f7dedb5521ef4860d0be685b398
MD5 a75277f2e0df8bb57d8d22b2e5ff5db9
BLAKE2b-256 84dcaca8a674d103510e6b4f698752b0e3ccb8b7356ded73083dd791ad4cd44b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 8b53801061852484d4852595459e13bc08ae360c7e159b5cebb94b7f81027b68
MD5 051c72793b262a2461c286b42ca8498a
BLAKE2b-256 491dc85e59a0d6dcb993c7f4007d036c24e264e2ffa63e52422e206e4d0e89c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 241ec9222e3470ba11094a5f987490bfd255a15b4b695c94efdeb42afca7a954
MD5 8fe23c4a58d734294c67a32acac2511e
BLAKE2b-256 fe49c96c7c7fc68ce90fcf198976a671e3cad9f75b618e7a020e8e006b004d12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6a1788dfae9d3b8ab821a6b000414532b4c1731cff7d7e07509da40bd62428ab
MD5 d3c5433f45a82df546d0ce72df44fa3d
BLAKE2b-256 4a4c0e96ae8285aa85658332c58d0cdb0804e7af1156d95e5da5425ae7c44a47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.0-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 4bf601f1bad2b73ea1894e8d1a9f2cec4eb59d50ab1d153ff2179b1c6715bf4f
MD5 2438ab7de238f4fed25918ed5af34700
BLAKE2b-256 721b55b807044e3a36823e4e2044a2809f3bdb5c11e99fe5786be5e9549c6e7e

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