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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyresample-1.33.0-cp313-cp313-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows ARM64

pyresample-1.33.0-cp313-cp313-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows x86-64

pyresample-1.33.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pyresample-1.33.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

pyresample-1.33.0-cp313-cp313-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyresample-1.33.0-cp313-cp313-macosx_10_13_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

pyresample-1.33.0-cp312-cp312-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows ARM64

pyresample-1.33.0-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

pyresample-1.33.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyresample-1.33.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

pyresample-1.33.0-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyresample-1.33.0-cp312-cp312-macosx_10_13_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pyresample-1.33.0-cp311-cp311-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows ARM64

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

Uploaded CPython 3.11Windows x86-64

pyresample-1.33.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pyresample-1.33.0.tar.gz
Algorithm Hash digest
SHA256 ed3a5a62cd98c0f3131f07d3b1bb9e7463caa1969352e12d7540462c12e6e589
MD5 f5f0c1e67de26ea6e28f6f30861de79e
BLAKE2b-256 94980f9243ff3f91ea3e6d0ce117ca05ff306af903e987b29f2c110b8298aec9

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 54404f096f0dabaff41061c8d0280eaf344f1b639ec436010a97dad54484f4ab
MD5 d0493de1b4ed7db7e0b9e06c324b4e98
BLAKE2b-256 74cea7beb7cd4a879295d99566e9cc5256f05d0196e19581d21d98562b8fec4d

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4891d350b885a7b463b66d45b51403485f103b5042247f7a9adf76fd65b571b5
MD5 95a08ae3aefc109c0a0a119383535534
BLAKE2b-256 80eba5f52cad085fdcd74594eaeb26fadf4d11e7319e4c3dc5855b9d2a4beea1

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03f78cea4a4045881ead9c08d1c47dac24a83fd9e76a772c5ece4bbdd935bf55
MD5 84952b33a76aefc23bc83f90d80c13d7
BLAKE2b-256 a25c8cdcdb3007ad84e32cabbb7f2a4b78ac689740a143097f2295145bc760a5

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a5bf3bb3e99081b42e5b782bfe7fbd749bb1cb549985768ce9e16eb1adab040f
MD5 e7b182483c9eae012c595a4e4d4f1bcd
BLAKE2b-256 0cc27cf0e21af3039b190b3c7b028da3077d66e86ce4f5707e01ace1729f1f0c

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e4732c198e9ad560316c6f181db71623717c83504d63950898ecf3fe23ccc11d
MD5 56ed93dd7a89951a522c2404b7dd415b
BLAKE2b-256 33515180161fbb48b5ecafd51931ec4d1bf5c29d126689aef388720f6fe9512b

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 bf258ba72410cae8095e1512171ad6d1d58ef0a345203cbc0f958554b4f85fa1
MD5 e9f3a42ef135dfb9c0c53efe23bbcb94
BLAKE2b-256 5729175edfbff238b90f98499de55bcf68a5cc44fe5e1b45ddd2f4dee989f4cc

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 06e87a5b6751f992a9e39696661dbecc3dad5ab21bf1ceaf5f80f002dc808f85
MD5 dd2fa16d78d6e15adba0449378628f73
BLAKE2b-256 a5fabda28e09f299a84ea1796068849d5ab751d9770d377e413e2d133f82dbe8

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 64f12db6504d80210382416480c74898d79296b4a7b884163e4885b8ace59420
MD5 71a981d02e6db706c43f32ec61e3c5db
BLAKE2b-256 3f7024f9c767f0d72b21f7b2f1ae39c95e573c3ea191f7c44a61244f6b1ce429

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4662e978c1711ac54bbf713275c56ef564bef38ff3cbeb986ee55d1fc3814903
MD5 557eca4eb51c156e01bc232ed771801d
BLAKE2b-256 30ddb2c42709c5363a76f95f07b320b21260c377bd74ac0dd04ec73f97ab6e6b

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ea7566c973abffb6f70e9845e22b0aa83623cfd75c026d89ad887b05b08a663a
MD5 36c7af053915b28db755bb8b9e10bf51
BLAKE2b-256 059db95403eee744ce724cf548c66996bd464dc6c3566d3f67ba4bc898157925

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99cca1ffe89b7de688931f35e542a5dae83748c8e4969b564702c731f4a9ccf0
MD5 4990296998609de7fd7c2f9621584931
BLAKE2b-256 24a15a1d3b617f01636318bf88201261d3b844ea465d62237f7985fba090426c

See more details on using hashes here.

File details

Details for the file pyresample-1.33.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.33.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cca16aa4ec4be67173ed7c940299517c6c528036f7563b2e3132dc180b9506b3
MD5 f7e26b6bd1d01004b6a68a372b4eee66
BLAKE2b-256 df325f0b9916434cdb16b71d8118f116f9f07045403aeefc2214c1dbf1fea0aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.33.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 103c36950917eac2f35d975c3420fcb19db0742ccce725637ba1bf7a78da15e3
MD5 cf07d7b32990d4d857b6ac8918f1f836
BLAKE2b-256 cbc0ad48533bdca77dcdfb198f01391e9708facd28a0dacada826810868baba1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.33.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c168568812f38d1404ebae33c9d03a591f630003af4dc2ee75784ab04bf3ace1
MD5 34ef5b75c9afa35b4352f5033925dcf0
BLAKE2b-256 069c259a44f76626d89595e85cb91c726cdb5d6813944b4fe2eb79e0b18f6374

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.33.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e815445ce481ecae2bbe851d426ebe755ca7d41acfdde105ff4b0e06d3c84baf
MD5 1031250c2f52a6611c9fde9478333f95
BLAKE2b-256 b9b39c634649ec80b367d6ef34c7d6ba245f32ba35ecc997177885278e81e4bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.33.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 545998b3f42c1244e952cbf2783f75ff6adde8ccd9d80590137ecaab82dda599
MD5 15e82c8546a689596e95fd61b0fe4d16
BLAKE2b-256 3fa163115f6dbbe69c09f42fe2188b9ca2b6ffca669c600955a5d5dd63315be6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.33.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46719fae716882adcabbe4ed5200a150e2c695683ea3f6da4650f35dfb63c145
MD5 1085c60306b9972f2126ac8897831108
BLAKE2b-256 e687c774d5f2b6aa1356846318ab3347d3244fde76b1fe3a00f690028f6169c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.33.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1aba5c861a6929240e533daf765d131ab6a571fd7ed2de0eb3911e4e7edd9df5
MD5 74a1a8c1297a2f25c8ffc370a2cdead8
BLAKE2b-256 ce592b4e225c2b5a7ba321e5d7687799abd2ee00f2990c6d6763fc25a45901b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page