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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.22.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.22.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.22.1-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.1-cp38-cp38-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

File metadata

  • Download URL: pyresample-1.22.1.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 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.1.tar.gz
Algorithm Hash digest
SHA256 7a6067f11e5d936cccb53501ca3a3c13f96dc9812267faba14fb3cfa56e0663c
MD5 1bb7d5a9c3d1a33aecd2456f1ab15b80
BLAKE2b-256 417eceff797dcc5c8ed7da36524ebee72905e7ec5400e1aa47ec8c1f7f4f6846

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.6.0 importlib_metadata/4.8.2 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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f0b863ba9956772f38c256b4aa4c2fa32a20852c1627dcd0ae035ba04229c351
MD5 8472c9d46f30498ba0aa432bc537ea65
BLAKE2b-256 a54e07a61acd8f4061e7af712aeb7ebe9ac32838f4cd1f66a4f4247f3563234c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ef61f3c6388091e023fa59b639ade9c39555f2d2640883ff56ed78befb8a9244
MD5 f6526f9bfa97d72f012de9b81d0e16ab
BLAKE2b-256 62f685dd2e92c18fd87b1feec6c063cc0b968e01bd0168885e4cde9c26242d2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 40609b76bf68ba4d640ca550a1a6491292e2b5fd680c20d7ac7e0d49647ff7e8
MD5 c35f855911aa280dc820cc75528b4f8b
BLAKE2b-256 bea248542514fd1c03421d75717ed183feecc5204521be517ed232568cc02785

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.1-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.6.0 importlib_metadata/4.8.2 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.1-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4cee15af8f953f5ba7566f2e7726f14a40976ca6ccd682baed56f70aa51b98c6
MD5 fa24977f62aa1dfb99a45e3fa2320068
BLAKE2b-256 987808ebd9b354fb0ae7364c03b280efb1f0a522344f02cac562ec7a0ac394f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.6.0 importlib_metadata/4.8.2 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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6c8f771513a22cfa3a48224a23fc69902700484289b3aae775890520a5ce14d7
MD5 ae33e23fbafb7254cdb27f7843eb5ab8
BLAKE2b-256 145887cf8954ac9878bb6896df366836de1f653fbfc9f1761ade89d72e6204cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1dd9b23ce1531c0c8ce6f511d6d0abb50a7a0334d69e3ed983d3ee79f1783b1c
MD5 f56dcc8ac6d40765d5eac12f1d0351e8
BLAKE2b-256 25287b45f5d57ab37c6bffb8fead249399d91ded04a6dbd484dda070229364e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 42ffd8c62cbb237cc7a67ec5028d3d622f10e50c73040872aba924edd7eb6746
MD5 a79a79a304ca199723b1b75184484530
BLAKE2b-256 894190a1d83ab22765a3f7a32cba8a9e8521902aa1e0a9644e7b3fcbd0b12bd2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.6.0 importlib_metadata/4.8.2 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.1-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 509286d94cf13089934517c93955083d61310d165de0b5f8ad6492aae33022d3
MD5 ef5e77e916fcc1a8cbcfc9699806c641
BLAKE2b-256 4e2b372c2cd92a757e7a0bbb962d28142d1a34c5879ea58040194d1f275a9b1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.6.0 importlib_metadata/4.8.2 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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8ea55d4fcb88d8ee0bb00c42c69d193718c8663bd4fd636d4d04a7bfba256bb9
MD5 ff229c795bbbf90bdd016f2737dfac08
BLAKE2b-256 5fc97a6e104f7a81585e4238ab5c6a8486e20af5701598767494d7f05a22d9f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6071515f976f7ba286b3f87f0043371848422c19897ae47e5e16303c11e9755e
MD5 2439f8c9ed3729e6a6f21fe5e8955a33
BLAKE2b-256 1a0f20f452bd152e2404f6f770456b0c80ebd1fd1fe456ed49a0c47ffc075747

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 6820f135b29043ae690cbc4cd1978c1cbebbf71eafe39217194019b6dbc4b6d6
MD5 f3c25aadbf866e764abeec25d2551aa1
BLAKE2b-256 8fa30300c4eeed8f02a025b0cd9cdf15d56bb61f5369ce868de31041a8702b24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.6.0 importlib_metadata/4.8.2 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.1-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3abcc5d8f6d3ca54e68b1b71d3558e076f0a3308e6bdaf0cdb1156130f7aba69
MD5 3d31899fa61f0ed4aa56c9f80c10a7b9
BLAKE2b-256 75c93ec6364a20f617223b6bf6823cbe63212fd8b21c9f8a2f63bddd4a8babd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.6.0 importlib_metadata/4.8.2 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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 32614edb47af97a172342b51cc3a0486f97128beb5a050f743c900caeffcedc7
MD5 37cbafe826c4411dd5b6e49c3b858984
BLAKE2b-256 a39d468905c88a0b0f9ff46065413e561eb72031e332316378105a8cee7f726a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7a4dc9cc31de109ab6bbbfdcf2edabf0ec2d1ebd5f54024863dd90d112c2a7ab
MD5 41579910f2b69a1c24e9f744af8d795f
BLAKE2b-256 d05009b06f9358f6e418b27c109ea32b212e557d140332090d7e4c456e84e1cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 fb6250aaab66ddf3d9570bcfb949a9f66281353ec0d307670c755664b233be34
MD5 f80601c2a0bb23793aeb4840398de296
BLAKE2b-256 60feffff1562eb2b6ee0bcb83a087fb320c5bde41f0ebb3d257e22994321fb02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.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.6.0 importlib_metadata/4.8.2 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.1-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 859275f7299b9c3ca041021fc87aa83479ea3e01d55e66fc69a81d89b840b67a
MD5 b112a1d0f54cf63094d67071383b589d
BLAKE2b-256 680af10d4d3ab1de933fbcdf8b0a1a36c9d5bbf4c5bbcfcc6b7b7b20e23ebb3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 979828f377b6b9e4a8354830ec442c585aff2f3246dbb0c94d28ba68081caab9
MD5 f352125d66a8cea478e3ed93b114b523
BLAKE2b-256 09a82a411058b09c8af188e109a65ab21b2135a2d99253320441ba6f8e0002f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.1-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 8a0dfe3a538979e8f7432aef5fdf77f1d78d1effdd563dad3c1e1c2351b6de78
MD5 43df4714939d1505a29f8bbfb1babad6
BLAKE2b-256 cce098a908a9e9ecf931fc60a5628829b60ef935c7742124ffc87dc1a97fd336

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