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

Uploaded Source

Built Distributions

pyresample-1.26.1-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

pyresample-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyresample-1.26.1-cp311-cp311-macosx_10_9_universal2.whl (2.6 MB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyresample-1.26.1-cp310-cp310-macosx_11_0_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.26.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyresample-1.26.1-cp39-cp39-macosx_11_0_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

pyresample-1.26.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pyresample-1.26.1-cp38-cp38-macosx_10_15_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: pyresample-1.26.1.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pyresample-1.26.1.tar.gz
Algorithm Hash digest
SHA256 aa079f2e15b968685f365400e76b2dfe0f3e3b085f40090658497642b13fadbf
MD5 6baf9dd47099bfd4f56af1a5e1709f17
BLAKE2b-256 742bf070dbd2f00404de80e5e085a5c8eb6d441db0cf7a54d8b34b621dd70294

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ba7d4688334382f5aaaef09ea172e94d6c346b153fad686ca2df9f8815466f38
MD5 6ad6fe84bb3a41bff0371ed897c1ce3a
BLAKE2b-256 a0546369d6bdd7026f89ef993d5eca4c1a0f4eff72472b46bacdaef8886d8551

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f2e20cd2fae9a5ef9d67fc8fd7f13fa250bdaa0dba3360657444aef934bd71a
MD5 189e5ca63b3282daccac20bbeee1e3de
BLAKE2b-256 078475158a51fb4e2199e379ec2792cd1344795eaef6748224c3c68572ee4501

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b69698c91550f8f9201481b0be2439a7ec835b76ddbd43899f1871b1c0339fb5
MD5 7df024215188bc408eba9caea790d24d
BLAKE2b-256 5f75f266753583aa083d6d35055e490ca66db345b195a4e9b411edbf7e672444

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dc3de925d095e398e3d9d575d3a223541e7ba84fb59b3e1509a787ba40a89c39
MD5 f49081c35840168bf83408e92539f2e9
BLAKE2b-256 adf48c38f55cd10fc1ea2b30e21746e2b2a55d0ef974bbee6d4e25180e73dbbc

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1466dffbbc38346c8dc9f5dc821921e903b7c2f2f05f44fca7e1c79526d5180a
MD5 5b0712b2d01aa6839ab3d3b30d67f7a8
BLAKE2b-256 6f531f4f8b1dfae59a7ef3218cbb48f2878550f9900d91a00501e5c9c67326fd

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9cdd199ba8712831fd947306142b4585bd2c2655b460e29d8df38e800a49dc57
MD5 ae82ed7496bb582199d238141996d5c5
BLAKE2b-256 7484599452c5dbcb9a2560628817927ac1738ae493d62d58ca61180ceafdbe8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c8172093a28bc6c2065c7cbcefc37943dbc7137b671d807eb19da20c068d6238
MD5 dbba8788fd5b38e742f137ff2d887986
BLAKE2b-256 4fa7acd867cc1d62c88088d7c772f5a95187937e28e0af9043dcf00ffac976fe

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91f1239aa008c353029798c5527af720c72b6c82e8c8cff909b3700966a55ec9
MD5 507d37aecd2f392925c40d80b9b85643
BLAKE2b-256 748c1a679e267c3a8962eb95547be0d73b24f5429c88f5c1c91723c97f4f3f58

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 dd87b4fd1b8f141e7ac0bf605a3f7248444fbbb964a00966e4b7cecb3ffb43eb
MD5 35c26257cbc4f627524d49555211379d
BLAKE2b-256 8d090c04dbdab1a32bb5775b2f179f08f349820685615241ffe376b1ccff7822

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4a3e032566e8ba11fc54aa3a756a810b3825fc2544cb46fe5ea8d334440ca6f8
MD5 73d15aa553c9efa347333e491ab2b303
BLAKE2b-256 6834588dfd5ea457d91b9bcac195fe7fa87119003e6301e863f46090183a4969

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 45ffc2558cd4fa7bf101d996e915073456095ea4d31367ddbc7e1621231e61c4
MD5 4d904805e403996713131a224ea42f66
BLAKE2b-256 8e671428a898a181f639165c2d833e877183e02786972aa79846c8059c29dab2

See more details on using hashes here.

File details

Details for the file pyresample-1.26.1-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 960dc68a51420adade506b7ea555b8cc79318d79e38cbe18a80578331b0e1507
MD5 a51817d61df3e0011d27407fd30d14c7
BLAKE2b-256 7355b023a6b0c437aa199983d3f6704eac4873526272a85f98aff51158005388

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