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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.21.1-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.21.1-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.21.1-cp39-cp39-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

pyresample-1.21.1-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.21.1-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.21.1-cp38-cp38-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

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

Uploaded CPython 3.7m Windows x86-64

pyresample-1.21.1-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.21.1-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.21.1-cp37-cp37m-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

pyresample-1.21.1-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.21.1-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.21.1-cp36-cp36m-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

pyresample-1.21.1-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.21.1-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.21.1.tar.gz.

File metadata

  • Download URL: pyresample-1.21.1.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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1.tar.gz
Algorithm Hash digest
SHA256 6f6457c1a8da9c761031d7372fbe6f362006b8d547a8313c2cfb68bfe7c16537
MD5 17b9d25fcced17cfbad4ba016130d91e
BLAKE2b-256 75ae6a83f405a156bf0bb4450629286392f66c21c75a2d80407250dcecfc72a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.1-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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cb0c03322a13edf0286287ec40741cb94f5d2b937d60b5f009cc820d370f7851
MD5 864d6f4984898cb2acb3fbf17e52314c
BLAKE2b-256 010a18976ad4daa2dc3bc8885732f482fbeb46d5993188e7105e9d7c068149cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 539ddec03c05895ef622bd68a6afb20d85de4886338952d8d5e81bc1a4072d61
MD5 503f7451f73088e1dd125d1b2686900b
BLAKE2b-256 9f5a65faaf84b9a3b4232971da5742958163cb579e0acfb61c121c249cb47442

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 fae3eb44b986269365aaf6fb562ccceb327f7040b5ed8419ab6536fc80cdb2dc
MD5 c69956003f2e9d55e16baad93dcf835d
BLAKE2b-256 101519d48b6ea51227af8b88957d3a46a04334f4d126b3fcdc0c6a44c2f3cf1e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.21.1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 11e1d6fcaa0caaa3804a3b81d74f1c30c1a79ff8d223b9c71efa0e33fb486b81
MD5 e260dd55b628b006ff67ac677a98f414
BLAKE2b-256 a0fea59c58e265624abf9ece96293299a67e09decd3e275247e7b9595427a76e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.1-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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0adbb5b2fe1a39cab56a5c9184b7a5f86d54c76d2b0c9bea5214c21c4826608b
MD5 41c54d2e53be08c8446bbea1f0f6ca3e
BLAKE2b-256 e0503e1fe19eafc16242d70066a85da82aafa59e160f17382d6bc2b87d77f6c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4fa610e42636bcbb0769538386240b4da9ad5bdd8ce0da00d2946eab9b2ba040
MD5 dab083912a7c9bc165375faf8a8c44de
BLAKE2b-256 a573022f59e45ae66f0abd1e1a23fdc185dab4a6a9e727744dc9bed8159250f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 9485390112746021e54f1728fc27cafada848f59ba7c4922853a8ef944ad2cac
MD5 50237c86306ef19f5739f57cad8c3194
BLAKE2b-256 ec388f231e83e9ec40d9ecb3b83f1e2bcafc191a123cc849515f6c8e6b93ee09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.1-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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 127c1bf45a2f86d76bb90c839d9979e67fff62358476f204adf7ba4af0c6a075
MD5 3264a05edab5ad121ef389b80f2f76ac
BLAKE2b-256 f3fd92d9feae8982268d2af1f14adeb3e241d7b59a63dcafb19ec0eea4a92bb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.1-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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 4a305ddfb6c98a22f8574e54d2fcead4c437eefc2ad3f3c15bea0a9586c81bfe
MD5 b7d7bc76580ba9a846a882ce27b639fa
BLAKE2b-256 aec27ee02506c1b741a8364294e686374175d9f82f978f3cedd9d62727213ab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ff16017bf97a8402c41e36ef078af5f7d0de97a24ca01e545fa1721d184dd809
MD5 1924ca00548eb6feec4791fc1ee259ea
BLAKE2b-256 e9731ce9f64ad4e5894b6959797a694797de69400be256c8ee8e7a5c0207392e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 26320b05d2bc5cf9d850dc2465ec681a38289d91d5aba6055926dd837bd13fc1
MD5 91f9ee1efe53211e052c1a43da96dd5b
BLAKE2b-256 02528e280aa920784e7bac04509f7617a21c3226d12d2775d54ef71f6d0242f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.1-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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d7731149037a7544a57b63e3d28243ba705a4341fb994ed60136972479335807
MD5 e295e1ebbab6d55e8f592bb800c5ce84
BLAKE2b-256 2e29618bde5f0f5cdad7286ad68f757e2c41adbdad90d724547d6f008778c7f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.1-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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8cc1123c59e4cb959395af72f8bfbb895bc7ca7151c5bbf24a8935c3798c9fd2
MD5 d2c2f2fc8524cbe0f58fff1db9ecb4cf
BLAKE2b-256 3c244961d533f1b579a01730da4a9c67a1ee85b4e5d44b24701df86538e1d872

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a671925cca7cab3281765470df9aa8dad116246b384c01935852554f8381998a
MD5 0dfc15c9f8b708e7cd7c89750f3407b2
BLAKE2b-256 c7b7ab2a40cfc36327b98afe0428d242db95e90a60b7ab6562f1faad48d40697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 186d6b2480e3718a60500f9693ab949bdb73397abe6ba2719158be067578bfc2
MD5 77a0207187fc299ed98aafdda5c028fa
BLAKE2b-256 174cfa1b251772e64b20c6e8448a58021b7ae1a8a16275b6a99cac2b64c82958

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.1-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.2 CPython/3.8.12

File hashes

Hashes for pyresample-1.21.1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 340b76f185e4dea120f8d12c9bfb089e5d071598b0e3467551f8794cff229c2b
MD5 20cf58235d5bc5ed6b0aa335e3749092
BLAKE2b-256 cd1005cfc260d804f553142678ea5a159a7c9f12b28c4670cb5ba32233885e83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 11578a396b0ae43847cf408cc7b7a686370c5130c4385ee5edeb58f9635c58f4
MD5 9f23deafa218e689b13d1efb8b8708b2
BLAKE2b-256 f77c29d8a528ef1ad20b013b614b3ee9640c9565bea7ba10350c8555cd759371

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.21.1-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 a8c224335f8f2d27eb0646f03b7ade1d0e556f976484edd0d6e3b8b3f8af1855
MD5 79d67be8340cefe92b2161642d028cd2
BLAKE2b-256 8f5b3b98dd5033fa7919090239c32df3e1c7c2f043a5aa6ef2c9baa2c9eded46

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