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.

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.11 Windows x86-64

pyresample-1.27.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.27.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.27.1-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyresample-1.27.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.27.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.27.1-cp39-cp39-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyresample-1.27.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.27.1-cp39-cp39-macosx_11_0_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

File details

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

File metadata

  • Download URL: pyresample-1.27.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.4

File hashes

Hashes for pyresample-1.27.1.tar.gz
Algorithm Hash digest
SHA256 54ea5ac4a6f48cb9af57d891e36488e4bcf09c17c19f67890bf391eb3f0637df
MD5 f5d5c2c1186aac815f57ec5a54e79e42
BLAKE2b-256 c9ac8de5de2117dfd8e5d524f618dc29c15d62379b8e0ca854d386cbe36715dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7f56dc2973f1a6beeea2b2d54a01e1b7c34a4933d73375e3328d3a7da29a899d
MD5 b3d3570e660b2f53cd8e09caa4293d85
BLAKE2b-256 3e014372d4b9985e7973f85baeda6902608194fb8d6ab29cdbfad619bdfd8c2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f91dab2f846ac822b44accac852c5428691db065dbd17511a1ebc79e53a7c94c
MD5 8e89612757e8c389c2c9ade7d02ab83b
BLAKE2b-256 0bcf9f45f36e7eb79f23d70f1fec678b9b89227b51daa07478aeef6fef0cfee9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d29f7a00c46bacd332f1b024ad9f6f5ced47a28da7c590bd34c7ee45b8edfa08
MD5 2274b10db1b54fccf541a660d10dc1df
BLAKE2b-256 324568a6c64501f01c9ac5f9e53715e196a554809346406998268f640d1a6a59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c23aa7e206c18034f75c14daec815f42c8fd209f46d7db8e859cafb2372ef716
MD5 88f8391f8b28d160db5a325eb1b96890
BLAKE2b-256 c551422b8d43980f20d88bc016b1e4fc4a922e1ff6a33e70b5d29d7682ba07ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52dbbb659808303071740e787b9c679a031d062b821f61be8432224894f5a8ee
MD5 0bdf8c637d7abda232e7225fdba05002
BLAKE2b-256 7ebe9f4a6936749f72c7a6a16cf5c1cfca940e0ae93bf416e07a492a13e61dc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 05e0591c524fc8723633014e901e3341c0867b32531e71ec9b7d849c91f80fca
MD5 90aa3e6aebb7d63e3de92ba548b2a3ae
BLAKE2b-256 7718d9c879eab606fc60d59a8b2449eb959be029652d886ef4d58306642660ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 73eb3c176070430b5497882d931a43dab85ecd7e931b1c5a8bb41d03977d6222
MD5 fd59adfed399aa1e8830334fe4eccd91
BLAKE2b-256 187ccd4d0034f8c81360e9daea9c86ed8279380205674772d868f9d2b0a8a00e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4c7446f5bf4624a14fd0ac225d79ea8206d14089b29854ef5b6efb9331d578a
MD5 7265693f331c9ab303b6352e2118f0cb
BLAKE2b-256 20ed70d42194a9eed052d2faaa95de6672fcf7d52e4a006b9618e4876205120d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.27.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 8b76b8096dec9a551ec7208dbcadff5b1b59fedc909df0305e1a02e250f7c390
MD5 f04e7f759706f8b389ee2e05af45e3fd
BLAKE2b-256 47dd8d4b6bce8a7994aeb58144e15a4af7690be735ff84c63106c2c23e624d1d

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