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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

pyresample-1.19.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.19.0-cp36-cp36m-manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.19.0.tar.gz
Algorithm Hash digest
SHA256 d422f5efc52a79b9b56fb1f0323269e1056bcb863825c463877f25344439f7c2
MD5 27ee2ac562eee621f75dccedf82dba9c
BLAKE2b-256 c37d1fcdbcf37342ed73f45b82e62909a66609fdf2f1f0c3585c726bbab9d065

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e0312c037fad2b8722b7f6606bda3f412e4509ef6a4b95f570fd0aaeb3bb9f26
MD5 988375b9743798ddbe20cfb83ec7b93f
BLAKE2b-256 5c2e80993d87756bca63d244f620d598766a0a7098061fac41c50417c48e3fe7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 aaf45bae84646885c8dcb166168b36b93e3912b82543f90517297fff2edd0760
MD5 d797d0be77b59b0ea4464205f50af2b9
BLAKE2b-256 966a68d5323988199c3b8eaa0e3ef768a8856ce390d89f0e9b7b2427fb132413

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp39-cp39-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4b0c07d9a5c5ecf5ec79c5277b181a80f9ee224351481b0b68dad0eefcad7658
MD5 c9a721a0a9b4905f2f85cc699794885d
BLAKE2b-256 1d1b4841dbbe0bddcaccf7c5576ef889d1ae28492d87b3418033ce45dbc75d88

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b516212fdf7f0e3b58869e1ac7c54191e7c0d4e1626ea428fda922ef0ee37afd
MD5 b0401b12e99b2698f0a04c9c5925abf5
BLAKE2b-256 1972d3e6b1097b2c51bf838538ac64f1a1db1cbca85bd2ff16fb1cff2a66d4f8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 555a0b589620d8833b885715242d53fc598516b77af4113191ba75d757150545
MD5 33f58ca0bef59da0044831afb6054b9a
BLAKE2b-256 9b5237d7e8e2393051f4d690c76bef209ecda23c5c63311a0adbfd1aae8dcdec

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 453714e1cc1be6eb03e06193ec4d5ecda6b2bcd07b7acd0603c755ddc3978f7c
MD5 68ad38aacec43c55e59afbccf21a9a95
BLAKE2b-256 b80d8091cbd34b772b814178070b58ec7ad33a5570e821832f5ea4810ed416e6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5fe017b3d906fc949cb2f9b93658f706c66f816d5d2e1c43a63aa7f8d5479b1b
MD5 0ed188e7bddf996afd5a3a2f84e19a41
BLAKE2b-256 8c8966d8e038ff63b1b675f11d146cc17d395ae6ca75e8385c4f156a05759515

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b3014fc81c6503e8a395e7bf2f00e34bbb8beb4a4d0b9145b7a384025d1d00b9
MD5 568d7afd3e6577002991bb278031c2b7
BLAKE2b-256 d135eee247f1fafc496b8e99541d74ccbb9a3b73fe87d87bd1f74d6cbcbf2d7a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d4f5c3c2fdae5a255c31280542f5b017c2db867bfd311655b5c0975fe0a83b2a
MD5 67d62abbd71d2819501c4064282c04c9
BLAKE2b-256 9d7e551b8895d7074611f6f7adf22c28baa2ae658ed66c91b8e638c7d6051280

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 94a4d56e43ec38915948ec8faab87fd6cbb1d22dbf8727e16da50f6408a0e089
MD5 1487c0877a3bc98e8e13db0cf986e77b
BLAKE2b-256 49c162606c5b2be72d4a224dc452ff6676c44446bf0e789a5356653bb42a44bb

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 98bdaf61acdd659841a2a291e934181b036d3d26b00710a461928d87e482e5c7
MD5 8cf5f59fffb5b64b058ab32aaa8d4ca6
BLAKE2b-256 e70f440a1e154189d6a81525722c1066d7cc8eba596201e0316ea6f1cb678fde

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 096134bb73b4f58ef6a25fcef0d76e2e3b91ed88d15e3e8bd529f252d5ee42cb
MD5 f2585755e092ce23a3fcabcf6ab30778
BLAKE2b-256 5047c0894099ed95ca057b4ebda16ce8f7ad1450df7bccda67ec8aa645606d91

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e78790eed34caf5da4816a8f2a35c78025cd86f26c37681aba9640ee453090cb
MD5 3b154a180ae97460e2230b77e39529de
BLAKE2b-256 69479615e4b932e96908a3916a687c69f2deccfe5893d3694c9aaf2bd9c53219

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6b86e820727cfd45741489c986b294063f7b50639ec44f80283f9b317eb68ed4
MD5 7039a398c91fa34763e14d1f08fa1aaa
BLAKE2b-256 b4437aaa6d30b7302db0ff64467abbd8373d334eb4f99f6a4ab28704662f22c0

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1d7c6df563c32dcbad3139da16acb7df1e2af22517485d0bff2fdecd0b426847
MD5 6be74230c2ac74359370a430468c4335
BLAKE2b-256 b0013de62ffe67998cef4c160b934095b9fb131375b3d6d41d56d46c783c3377

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 77c077631df568378cc526c5c719470e79780d4c11f4987c3856331dd81d3154
MD5 6b7a66e4049fbd9141631a6aa39859f4
BLAKE2b-256 ba9abeffe5c4fd3cb77f917ec6ef2719053f9f4fa612c832b65ed97243d2a239

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyresample-1.19.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.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for pyresample-1.19.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 25fd5ebe1514ae88527e2451a00943a2deec0eeda784f2a9ecd9c190c8b9a890
MD5 a9297a28231c125882aa44e554deac0c
BLAKE2b-256 ed712a9b05cce3ecf9a9e550303c489647f838d4daac22c0bd64d502bde22de5

See more details on using hashes here.

Provenance

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