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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9

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

Uploaded CPython 3.9

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.8

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

Uploaded CPython 3.8

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1.tar.gz
Algorithm Hash digest
SHA256 de732ed074acb136e753a0e54aabde114639a3bd25ffd0038d7ebec9566c802f
MD5 137ec9bf9236b563bd4324aa84357f57
BLAKE2b-256 a5a1ef2edbcb26dee1dbc5c9fa64f3633bced0c0532706b5188cff4a62bc13bc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f0945085a71d79c7a74a33a390ba727cfd2bd4ab4fe259b17dde357b19fad75d
MD5 de65ded5f74b621969d9236771303c7c
BLAKE2b-256 a2b8b6f6e888fa0819365e87648a666475445cd3b8bb0011a1b5b857743f8d5b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e575dbf35216db6844fbe7cc7862da4372e19c238b72e488a5cdd90d3c250620
MD5 98d14b3baac7ea5917513d79a08d9455
BLAKE2b-256 2dd70f07c7990fc9f08cdd16f7fdce69672bb405aa508739a25dd01563ce67fd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp39-cp39-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d5143510a08f57e3d7acb49534b3055658947ed2f5501cad4ca30c41282fb816
MD5 da091915e08d3a6bdeb850191bedc11e
BLAKE2b-256 d53c219bb19ce1f8b88d442b72b15bd76d711574695bb665950888eaea35358d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 60555348488e78d646f48c6fa5652ececd9b9b09f0b92f5a3f95f63270333871
MD5 af546910fa8e36c02d5c9554b76b5600
BLAKE2b-256 9a2091497809919a2f0838e3a5078518b97c6d0fab7baccb57962f316a245673

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 660047e7b1fe5836a0e1d77fbb19bb9a6325f1994798070eaf1e1a15f5166a18
MD5 4131ae2ca7a51fd3a58dfc4902a770a6
BLAKE2b-256 e074908dcf1209abd84ed8c1e1d006a8c038085a9dce1143fe1fda667a73116c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.18.1-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.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyresample-1.18.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b56321fb709f18d50d3d266d8fe04cffc48f34555ed9c181c188d3d4fa1c6a69
MD5 12af6aeecbaed8b6349a4d1baaaf7c9e
BLAKE2b-256 409bab4a3e866dcf2b8e1d3843e52e40f242aad4dffbffeb98dc52a74b0f0917

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp38-cp38-manylinux1_i686.whl
Algorithm Hash digest
SHA256 415c235a4607a9eb138299944a356182eea18878dba1ab53cd2a492ff7d60581
MD5 c989ef4ebacd444dcd98a4095ab4cec6
BLAKE2b-256 b3f455d0bcb0f615070178878c31b413b4c7cbe4748a012762018a987d84ff3e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 dff4c227f1f9fa1e06b7a84e7be3fecf388d4f54964697553d1f6999a0c00720
MD5 03aaaac3511b1c1165e416db1e475363
BLAKE2b-256 7f0b8b1bc50b14aa16db5c4dd26a6c6ab1f535e0f8526eebf244fefbd16be6df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9da0c5fcd7dd143d484f1c05dc4b4a1b849245e22d72e3d3966430d6d0e68657
MD5 7d6997f28a0a45cce76a4a58a30bbf34
BLAKE2b-256 a4ae6749698a63e6fc919c19d34b7f54616561c52d6152c35ed31fa60a731eee

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 90215530faa85421ab8bea26a5e9292d6df49736280e1b89590690669a8bcce0
MD5 864228bb21991744525757838ca698cf
BLAKE2b-256 07593391d4f135c63df0e9be581051f3fcbbc6f4f0033317bf1ac0b816806204

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 721caa1d31564c782204821c766e3b5884f7cecfb00cb1089cd43188dec1f60e
MD5 deb8aba7b5ae4dcec24f21b9df937767
BLAKE2b-256 606a17fad9391474316712ef5210a34900e0c4162364f80f770fadab0c9cb6d6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 32883dc8365b02d679606bffdd1b94ae4758c33e6d53c5e4c1fca1e43ae305e8
MD5 ede3e001f662aec9c1adfcf79d1a6645
BLAKE2b-256 f8f8a99c71c7b2dcbdd18493f7e3a5d1cb31e3153a9cabd5a62f08dd07654c2a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8d38332e076a7cd58e8589f0cfe1a4108893edf50c2cd8ef74ece12c236fc9b8
MD5 e7adc23823d74fb46b7adaeb4c040e24
BLAKE2b-256 4d1d8f8ff3471937664d48db94d0ffdcc8e306e1c8353bb8fb740c430d23ae4b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5993b37a2e9e95ac344b859ad84f5d65ec8b7e63643550334170b84ac0f125b1
MD5 7043d57dacc6bb4661a9e23c3968a0ef
BLAKE2b-256 f63442c957655173eea73f6159c4e0d1a0780c2fd732011873d638fa564d2d11

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 69b073e067b6f654a630a16ab40dddc04b1a288cefecf77a7f8150c9705d2287
MD5 f209ccd987526f857b6ffa81d189b28e
BLAKE2b-256 a0552ea1598c2e8e47aff3d21d5d520671e23c30697c04caf1fe5f47467f72d3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 77de0b7f864e3a18971f121b9228f4f907317d58d20c872f878e93e047a94e28
MD5 8c1f2e1cd2fc45262f69ffbf9531a5e4
BLAKE2b-256 5a59fac739b00ae8e9d0dd4c3ce5fc9b0f820da574ffa60d37e8927d1618a7e0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c206274ee2ad42911ffdada3ac3c753715c04ecb022383e6da78ef8abe8b22e5
MD5 adb4016533888c22051faaaea208c5bf
BLAKE2b-256 85333210e6ca766c20dda1a2e0c0fd94b0661ca4559127afa6666b6ea23fd56d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.18.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4961031b4ddde731939a6535abe54d7df1b5f3e8643a4de5c0dfe96719b685c1
MD5 b489ecb242ba31d99df28225f15bfdd1
BLAKE2b-256 767f565863dc4bae677762386f4a4fc437c84c2c478d1e38424889aabc71fe39

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