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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.10 Windows x86-64

pyresample-1.26.0-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.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (3.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

pyresample-1.26.0-cp310-cp310-macosx_10_15_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.26.0-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.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (3.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

pyresample-1.26.0-cp39-cp39-macosx_10_15_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

pyresample-1.26.0-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.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (3.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

pyresample-1.26.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for pyresample-1.26.0.tar.gz
Algorithm Hash digest
SHA256 fcc0c92aefdef791d699be87a5faafbda1b314e4c3df1259f373ec5807980098
MD5 1142e7d46d5b5a3a08cd70eb209ddc0d
BLAKE2b-256 fd366acac2e496a5289f0b78f6ac51a0e3de78d53ec94e0848967c0043c09e50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6b035657098de38c33fd2b95b734b595c8c870ff4c6f3fd0fc06f52e4e893037
MD5 c206cdc6591495e9caaab74b607c4a2b
BLAKE2b-256 77382e144ff2e2c38f1ba54d9e30900ad5c556eafb08dc8e41ebc24f562a3606

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8ceb0aadd243c4ea7b985ef82d04e3917de5ac68859bc41c6c0a0d72aa2b313
MD5 1b2a3c42b01ade4821a0a3749182741b
BLAKE2b-256 3979c3c0a85564cfa710ba9492c0caf71e1cdc16bef7049b0c0ced7229f7f206

See more details on using hashes here.

File details

Details for the file pyresample-1.26.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.26.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c5577340bae9e046355aa9c26dcf1f573ddb1e6ed25ac421eff48d1ce822adf4
MD5 d05dd82f93df2381cb2667ac031413a5
BLAKE2b-256 d391d3579a9ab399685933c5dabd6dfdbec6f41aec85b732ebbb900afd27a974

See more details on using hashes here.

File details

Details for the file pyresample-1.26.0-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4cfce15b18bae2e0132b3b8e1d498b61ea2f82292cde6f2ab96ba1f8aac577a8
MD5 633f9dfa28e452c6a665557b6d110999
BLAKE2b-256 a94e9d26fe7b89a51c7d05867c70b9d49a6a3240917a1f032879024f50734304

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 537a0023136f284197ab669fa56cef618543f2e41d1fbff032ec180fd91eb5f7
MD5 a8c4afc1a57ef5d1d603f1e7853d146d
BLAKE2b-256 15f01ac26922bfe7b3b0ea9ff59e69fcc912157339c44e3fa3aec75ba2ccd8b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 afad34a8b52c3428b6605b08fa22e12b36c55cbe42a37581a9391ae014aa37f5
MD5 d7d37b92706408447e2e7f84cb154797
BLAKE2b-256 c807ccb988c841d497dbc5299e954cc0160cd5d66adc4bae008c7a4f2ecf8b28

See more details on using hashes here.

File details

Details for the file pyresample-1.26.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.26.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 725cf561cbc2f69a9cc991fab8958ecff7922cfe05c04d5c924333b8f84a37bf
MD5 4d989e6c81c7780a175887c55a358ac8
BLAKE2b-256 13470cb145720d296a3c1ec4bb5884a86c14cb4b284c0b4fca5a2f48168e261c

See more details on using hashes here.

File details

Details for the file pyresample-1.26.0-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.26.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 340ba120c709b99d53950829ad97eb2bc34f5d360bdf2094b3a1267d9adc7915
MD5 de757fd95a02fe20d2a68cd0871e9ab7
BLAKE2b-256 1569bfc1af18ef57834c39c214494da35e472f6cde02c1868b3f9b6c2bcdf19b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1fc7a09589932f92ed4aca0342524e3c795ad753d6f29c2e006585e73cb46926
MD5 93627848ed21c91d745621b70f043976
BLAKE2b-256 70c9e7365c96227bd86753ab648546fdf64509eaa7d2bc6f904d880176a9a955

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 baff1c06f53ea50592e587a822c9e12e89f65f58d7559987f1035cbbfbc8af8c
MD5 f57b7b3432554f57b490cded845eb48a
BLAKE2b-256 5cc1dcd0daa282e5abc2fe4e6d046817fbbb665b3cda9774d1d4b7be04d74ac1

See more details on using hashes here.

File details

Details for the file pyresample-1.26.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.26.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f3e3d130b360e425c94619fc06f0742cb0d68d4ac32f7567bf1d5a438dbef65a
MD5 46fcebe7a8b90ed79315c98725ba0dbb
BLAKE2b-256 aaa95b067e341eeff418e89c545e457d9ec11853e3f6145708e00556473f026b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.26.0-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 33b4cb32ead05ab6eb9f38b9735a147c4d0c55e7a5f3e43debf6ca88aebdd48d
MD5 442b334fe59a54c5630384b476ba91a3
BLAKE2b-256 af55926f5ef91864c8f9693aa05c84b8c203b2fb7e6e9562cc720b142f3ba0fd

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