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

Uploaded Source

Built Distributions

pyresample-1.28.1-cp311-cp311-win_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows ARM64

pyresample-1.28.1-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11 Windows x86-64

pyresample-1.28.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyresample-1.28.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pyresample-1.28.1-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyresample-1.28.1-cp311-cp311-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pyresample-1.28.1-cp310-cp310-win_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows ARM64

pyresample-1.28.1-cp310-cp310-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyresample-1.28.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyresample-1.28.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pyresample-1.28.1-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pyresample-1.28.1-cp310-cp310-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pyresample-1.28.1-cp39-cp39-win_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows ARM64

pyresample-1.28.1-cp39-cp39-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyresample-1.28.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyresample-1.28.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pyresample-1.28.1-cp39-cp39-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pyresample-1.28.1-cp39-cp39-macosx_10_9_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pyresample-1.28.1.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pyresample-1.28.1.tar.gz
Algorithm Hash digest
SHA256 13b2e9cd0e1cb03f2e0e6010e15a827a7c14e32fed2dee9cc40a5dfb6314799c
MD5 0dea248a5e8944cfd69cff2c02cd6c4f
BLAKE2b-256 fa5d087beb2de32bebf8b9961379a455f5e1ccaca5ae4fb18fb92cafd8d873d7

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 e5d3d8e1f88d5eee441e8a26964183c548a21ad42d2a5bb8457477e94fe18742
MD5 afe9c7a78a24a808131d7b245af14e04
BLAKE2b-256 1bc6fbd761c435d37b3025f7d21f5d672b5a52e1df73eabb6666740c3421af62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 29a0edfca07f9074c83e2055000a1ee0b61b40b41aa715b75f1ff288357baf04
MD5 45f23aedbd54eb979147001a75cb1441
BLAKE2b-256 fcbb1f37730b785411e518f6921dbd63b549a29f637002d0efd2cd20c3a90ec6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48fa75f2fcf9c5877983d3e2b29f48535a783df7408cda4d09859b61917a96c6
MD5 c803a636f004c5a5ac837f891363e603
BLAKE2b-256 e77c6e2c27fcfbde7e133155fc84d6901c87ccbf5d30f5ccd4df3e3d7a628805

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 484b202ed5a08c52f195b7f712da8a8605e4a9de733c3efb981a1d1bc4775be4
MD5 3d64ed0c039779c646b8502a9e2908e3
BLAKE2b-256 07b6d9bbd27de35c5d175fe20c8a87b2929f396fb61ae2908dbf400f67c439f9

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a624f647904abe2713e531a87db99c65835cd4eadb5d2f59c0086c650434705f
MD5 1e8e9eb450771e28e09ce011e7c42c04
BLAKE2b-256 3929c02abfe1371e4eaf6b24684bdf1881abd0fce312231c156f77eafd74811f

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 48e962492670ad281ff0fd73393cf92a99c691975f7d69155862e24fd495a667
MD5 1b9b73da4dcf2f7c297cd70283656053
BLAKE2b-256 ee6e2fb9a20ef15aab59a11936d09d611f03e56830348a1a91fe8d63b7beb045

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp310-cp310-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp310-cp310-win_arm64.whl
Algorithm Hash digest
SHA256 8b15552d75ef7cf8f211f6483dbc74464b4e9dd21e3d88d963eb0be6a85842ad
MD5 621ae2a20a04bd836f9dbbda3ce9114d
BLAKE2b-256 c9b88f918f2da37384672d2b7ab9b1ed92c072a0eb550ebcbf90bd5c37210c7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 121c50f05dcdfbb54fd94291f6546f9a050c26428d2a55585dd66a430e5a453f
MD5 f933e2ac67b9236822186ae09500d5eb
BLAKE2b-256 5a4453d8e749cd4f253fc0ac3867bedd506e2a1912e216d9471f238b127e6d6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 efbac826f679e12f870a9109e3384ca5fd10d68f3fb46039ad2e481c9850e054
MD5 c99db71adf79956a6e5e0395620f40b4
BLAKE2b-256 4de4a7988cbef3153b04762131db12927838cbf57885b0f7dbcd1107f8ea0ad3

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bed97054d7eff285d86d0ccba8831a866cbc9834ae6ad14effc7466af4ae37bd
MD5 913f531f7ad2d6fbbd6595e8edac9bf1
BLAKE2b-256 b4252177922ae5b31d34ed5687e3f7f39f3fa75fe2a86fc15167930c41390b55

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c62d4b15668a74d6d8653f94e61faac853847a1ff82289fe3385f175d501902
MD5 38c8d021f9aa31b7d684970e4c7460b7
BLAKE2b-256 f96626a7f23746ddd5b74e14dc2e20fa8c5ea7f026130e84e120c2bfd425ecfa

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 16e085edaddd605a08f5f09cf852a71bf9d40dbabc94f97c66861c01decfbdf0
MD5 06c85b546222e4b9f8cb2c4ee5b46a90
BLAKE2b-256 50650925a12a9b35075b4197415ff26bc215a75b8509af9a2b36aad20fe6e3b5

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp39-cp39-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp39-cp39-win_arm64.whl
Algorithm Hash digest
SHA256 ed6815de8523d93ffe74c15df8b74963b472f322327bf1bc4b9a1d5f446c79c0
MD5 79563160dafed9d39396e75fd10e1685
BLAKE2b-256 b0fd125fa9a513b1b594afa0e9bb611e57664fb9fca09b6f2db40c30c862355d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7808fa411e38cdbaac96988c61dc10d5309b09a4f39d7233dd0bc2cd0d907a13
MD5 992907978822d255d07395db416381ce
BLAKE2b-256 e095634d25b11d6b1f3d8dfed0e09204072851027841285ec5c6455aedbad070

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.28.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09c1d7c118a053eb16f5e99be21793277b7fde44a67d806080b182ead71384e1
MD5 6d0a3dcfb1e0f71dede75dd6adac2451
BLAKE2b-256 0982901ffc76ffe4bf6fa0fd9c9dac56b9bcf30fb3e88793b6911534314c88d7

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2f8115261ab23223fb2d039d4ead4116d076d407829204ec8be21b6fb6f324f5
MD5 37d2ecb564293f2c1297f37bb5eaed74
BLAKE2b-256 02eacf27c0cc73406106889855c5165905709ebb9550c3e796b4087616fbff82

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 181d0ba2e849f372798c858c29856c5b2f1aced5e165bdd3510440821b20ecb1
MD5 953a79dee0ada3ba4fdce1ee58870080
BLAKE2b-256 a22d2eb16e68a403663f57c3d7512f90aefc5de865aaa3d8eede2ae83386d893

See more details on using hashes here.

File details

Details for the file pyresample-1.28.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.28.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e8ea2a322bd2cd1135403c4d3a2aa14ab5227d61b27632c9e2b2f7a08946255b
MD5 de19165abec62e630876d2d79ae8d8d8
BLAKE2b-256 0d14e15ace04d989d402178b2ac69b267a3209e29b6ee78ae2e6e6ecf37ed198

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