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

Uploaded Source

Built Distributions

pyresample-1.22.2-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyresample-1.22.2-cp310-cp310-macosx_10_14_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 10.14+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

pyresample-1.22.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for pyresample-1.22.2.tar.gz
Algorithm Hash digest
SHA256 af160cc9f53d121cfa3d685565072d72d50c20674eb599ff2d0a9d20a38042f3
MD5 f6fd65c559db97f67f415c8ceac40a62
BLAKE2b-256 9bce0a2e7d666220bf28d8a5cee6432c445ecb26419e29ec02647d30283d3ae1

See more details on using hashes here.

File details

Details for the file pyresample-1.22.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyresample-1.22.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8ae1f7538fab541a19b56ec82d4457b700d73a63400487bf5a2c8eb6d3c589fc
MD5 26c459698bd5ddb9a58e2a2c4fcd2ce5
BLAKE2b-256 707f8b2e922c49564f2f2a8821bc696eb0e28f5341619ba7fe53238465bc2b93

See more details on using hashes here.

File details

Details for the file pyresample-1.22.2-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.22.2-cp310-cp310-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.10, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 5f3a5ba29d56fa4c963aafd23cc38a4582d95bdea11b4fc47ead7c6bb4a2c852
MD5 309d6bed4aaff668382b616d12a75158
BLAKE2b-256 528fe99db28124b9eb1c339be5b64cbf909de0e63b00e76a39b70af3b8e14630

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.2-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.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7154611520cea2c0f3e774ce980b16b9f5dc075f3016e05101131fb4828525f6
MD5 b2c184224dd046b264209b3c4d5056f7
BLAKE2b-256 fbaa455e1937028aabba6fe34d569ca4649b10cb764f563a83fea18208263248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2c0c099e6932810d667b2fcd955d96f5ab13f3cfb4233a66afd7366e871f05ff
MD5 30a116e20527bcb7acbc61e72b94064d
BLAKE2b-256 32902acee11afc67ad0cf7ad217770591a5325d431fa4d6c99dd988f1ed1fb77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 12737715deebe7762e7df34e2f093477c841bfc9112f7a7cdd9afd76417817ee
MD5 598ea26cd12c70973c56973f58a28e01
BLAKE2b-256 1bfe11ebece443d91c958678eb49388bde8f368ad22082735f971d2ca7017d5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.2-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.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ec3a9ab291b398e3ca58aede478ade9a39639ecfdffbc1f101c8b2ec945616da
MD5 a5193247268c78bfb9fe6991385a9d7d
BLAKE2b-256 ebfe27619c09b5e1b3aa828c20f296973ff41da9c9cb5b053c097d8538995389

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.2-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.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 19186517f842bec39c57b3beaeb7b982db12216b0eb5c556e473dbfe2f62f5f6
MD5 f0979eb3b065f71d1bdb8c97c80d9fff
BLAKE2b-256 083b0854b9d954848b129cafab6ee79753d198bdd8e2a38b0698fc9110bbb8ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4fe901b811f78f818eddadeb38fa3e6903d6b7db0955a1e2debb5b91df98ab64
MD5 388f946a7f761ca6f1080b64b953ee32
BLAKE2b-256 56ddac9a12e423842f3e329cbf23d3f0de48cf0f95b7c2683a4eee8331acfaf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 2425ba0ff96e63abfb3514555278d0f119afb93f47324188b66f84e58b107161
MD5 825263a357fd0c25c93d14a98b52e7d0
BLAKE2b-256 5877790406de9f11d477c5666520a7db7f88446f6dd04b251ae3937bb06c1caa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.2-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.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 45760552eb54c8dcd1cc8db5cbc96911b2cb6bc886f2474bff8a904efd24871f
MD5 f2fb7331cb21e62d2f7a436dfdd96711
BLAKE2b-256 2eaa1252e58393ae2b690e0066d06ec7fc402ae84be3419fc2611c652e71c709

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.2-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.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2d6563ed0aa5d14a864993000c97026a0b97786ef25d89329ce05aa694e7ae75
MD5 f5b341cb83ecda180607e149294e6da3
BLAKE2b-256 1a115d0c4042da1641007bbf9ffc4826a1e92dfb7c46394e14baab67bd89cfda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 61293ac8971fc3a0cca2026fad92f9990837412b104fc5ce73128dc16efab321
MD5 3e656f6c18d796f58b05938e9d5e6399
BLAKE2b-256 e34cf5002b9ef82e0411b0adb5285c7a3a1a0cb016912f2843f9117a6d04e696

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 6886f773251eb9f8c69618d9717f56fc83fe7844b8c602bea7948cd0cc915839
MD5 9f0698eadb8496517a0f31ea56f7663c
BLAKE2b-256 30fdaeb6b680b1bf6ee668ae792b73e295483cad1eb3e92c1c4ac8e3bf465508

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.2-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.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for pyresample-1.22.2-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 fba606607a966600b30c53b8ead564bd03f7331f73f487590ebc7003727511bd
MD5 71c997bf1022db05bb8c14c52b2eace8
BLAKE2b-256 3f957f7e8b005943a7550aa904cce5d7104af44c2efdd2aed395e2a124fdb370

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e3009f63d7c7350dc7c368f04e919bbc724e4ed9c4e4d261ec8b315fd1778fe8
MD5 a1a2b2cde3471cee582d1d98828d16f3
BLAKE2b-256 8412d812579b41a9b7e0b45342f0ea0ea192a50f9b52104163532da0540b0480

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 ec90bd0316e9d483dfaadeba268bf3c316e904686ed91d495b11b21e21c3f3a6
MD5 4f9781741fa10d0f9ec3036ad5a79163
BLAKE2b-256 2be9c8eb443f06ab6c6f9e7aedcf6c73c68c8f93169c51c9e9aa6e92083c021d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 35cc5bbe4b89303b4dec60b662cd06afa68d29dd074a42574f5036fb71ee0ba4
MD5 b2b6d950a7e17dee130ae23be8649f1e
BLAKE2b-256 18da423085618b6b12247e7e040a870f6bf990f22dbb4533262573e0b1b0742b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.2-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 8f0cd14d32654363927de486326c6415a3ae2d659ff6f493648f96dcf9039c6f
MD5 ba8c1962aeb5e7f16b1b5fd961185095
BLAKE2b-256 ba6f8bdd6698037d5280ad52a0c4e1020d48d0fcfd6f7a984ed82a484af64d58

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