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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.22.3-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.3-cp39-cp39-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

pyresample-1.22.3-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.3-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.3-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.3-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.3-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.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: pyresample-1.22.3.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 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.3.tar.gz
Algorithm Hash digest
SHA256 fb36eaa65abd3e21e26d4ac203f298456c3a18bd6285677ff46da5c816e5106c
MD5 593438075d7558da00531d9813020268
BLAKE2b-256 b612ef99c81fc7fee2ff5ec098940a6476790e559f436fdcaf16d08fe8744584

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b3c11ab34f8e36ee6a71a57c3f64967053d260d0b67ba1bf7cb3a65c892a9733
MD5 72a849d6b352c5a60ad41280b090eb1a
BLAKE2b-256 91b64d45fe9b3b28ed2b773899137329de97ba5f89c7ddeeaf3aa41211220918

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 97d5c1ec892752b25bcf84cc72fcf33b1a0cd82efd80d4c6f0bb3f3492365388
MD5 1c7e5e7bc1328074bed820f45f74bf1e
BLAKE2b-256 3f3fa9e7028fb77eaf2929e74185e070fc0e0ace80a71fbc01c6574c268d24a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3af7795c5173b52bccf5425fc0eb8bddbbf2f5b01502654f2961407ff5d84417
MD5 684e1b3c2700b77a1583643efccfbebf
BLAKE2b-256 354c1b5070484545ab038acad5d37b3b3e996299e16b292258413f13c2a1a2f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e3406041d0bd51a7853a969c5eae79b32a279815dc53e503a701e0faa2a7e560
MD5 35f007dcf3d773e53e8d5b0e1cda5f02
BLAKE2b-256 dc292c1ac6bf4abb8ce03ed2563eb317becd3de2287b88d53646803dfad7f71c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 1f710b88be95b54e9ea4e622f60e80ffcf78363bf2a7910787b796d501ead6f9
MD5 316702205762dca85c634b3dc7ae476f
BLAKE2b-256 775ab2b8d752a41226203661334bd7ab760cc03cc05f9ab13139187b11fb0957

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d8936d0a8953a9196f87b1e25a7829cbf04649ee7b15a6de67be4066f6f8a042
MD5 e45a82c599ef16a6ae3ec12e58778875
BLAKE2b-256 772cfd9a74762716a5746f8e310337fb2a02431c6d31cd19f62334bddfe18075

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8ed95f966834a4de6cc322aef24487e722208efc47f3d50ab6ccd15661c92106
MD5 f69c7c012ce0f8fe22aa324ec1b5b09c
BLAKE2b-256 c6fae85ca2832376053a2ee23c55736f1d619ef4b984d59b88f9dc5fd053c3dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8bbfb8eee0cd01c438ad889945f1b4e06d10f989f8b3df891185529764d25360
MD5 0be4efdad70e00f588fb4831801eb4b2
BLAKE2b-256 25ebcdf69906de63c314a6e995d7a0c4ecdc48dfe9c3039614984506636e5862

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 cdf6a78f527a63eed3ab11947dc6d81fbbb0d90428d834f57c4fef520611f0df
MD5 f1bb177fd5123f1ef8633d55f2e1b594
BLAKE2b-256 4539023b6897f313952e56c8d0a29b9d420ba76c5cb20d72f436cb2ce910aa90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 418e997b6f175e774298640b3d1b132e36c7b60bef811444a50d5eab68c04c45
MD5 5a57add464f1dd7d8b134f3d7e46dd80
BLAKE2b-256 a3bb5e1de5ce78cdbb5ec5246a4baeb39aec44570fca4c29c2ed58f26c82b0f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 143d19bae3413a7dd5ba339e11feee3b571e1beebabb90bfa13de97775ca2f89
MD5 f0e948fcb692510525cc548b5cfd465e
BLAKE2b-256 8aebdb268d13d3c19be206c2449fe69ae3650af1448d074d8cb6891d8569a9f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c3028b01be9ffce162b36edfb085fd6d4210e8eb3e9c9b6fa5c07b7e4b29473c
MD5 13a8f757a65b6f4e7bd6eb7a3d86b471
BLAKE2b-256 e7d7edfcdeb5bd824e4667c83213ec79bc351435af28c6acee3bc13f09e4761f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 41ea4a7b4375d1237a2f8d652205bbbae4352710a03404961290f3252a628800
MD5 e22ac73c77ac59c05ff18573deb74b2c
BLAKE2b-256 36485aab6b9cd3d5ed517c2a967ac6297181d65b4c3a0dbc376da04c7053bff4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.22.3-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.1 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.3-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a73422ad3e6e482a07ef2682b99303fa3aa1184ed1dec7e01a6340e47391860c
MD5 ecfaa715e48cca2e5839e26db73dc9bf
BLAKE2b-256 5e16e5232db2932a10f0a8127752863310866b2370fe7c0c4a164aecbcea4e75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f38a1d6be9d610ec5d281e5aaeeaae9fabb6665da66e843632161151eecae19b
MD5 3276e5371c20f45427516d17217ac763
BLAKE2b-256 3ec54764173106d33fa573ba3c02655fbdc6ec69dd7ffe3651e417730ef66e6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 5d9302ab61581dd9fb838f27fc8e5e3f55fc64d6e550f5fe56f5b71c2ec77eef
MD5 a50b843869b7cf068cc6eb4e5e62256f
BLAKE2b-256 4d5a0f0168101e4631c355df6f3abc85087a815fd02c8a097fc1da0ef5223a10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cf8312c56adaa23d2a9f09f235903b109cbaeab2a726e33eb385ec2abd3050b7
MD5 4f78e890199dda438b6f78650df10983
BLAKE2b-256 4acc1fffea97c504d717451d0915ab08a865c93ac7a4c5b1aeac07001b327c04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.22.3-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 28c337d4afe465daffa8288af505ff15ee5781a9095f36926761e02d59927650
MD5 b3e26f4c3bcae2292566a3e4fb968139
BLAKE2b-256 3cac067d980486374d7417b5f10453ba7066594a371325662abd13e7a10f8f78

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