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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.9 Windows x86-64

pyresample-1.21.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

pyresample-1.21.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

pyresample-1.21.0-cp39-cp39-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

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

Uploaded CPython 3.8 Windows x86-64

pyresample-1.21.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

pyresample-1.21.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl (3.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ i686

pyresample-1.21.0-cp38-cp38-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

pyresample-1.21.0-cp37-cp37m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

pyresample-1.21.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

pyresample-1.21.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ i686

pyresample-1.21.0-cp37-cp37m-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

pyresample-1.21.0-cp36-cp36m-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

pyresample-1.21.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

pyresample-1.21.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.5+ i686

pyresample-1.21.0-cp36-cp36m-macosx_10_14_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.6m macOS 10.14+ x86-64

pyresample-1.21.0-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.5+ x86-64

pyresample-1.21.0-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl (3.3 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.5+ i686

File details

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

File metadata

  • Download URL: pyresample-1.21.0.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0.tar.gz
Algorithm Hash digest
SHA256 6cc410374a2e12c531f836bf5d9d881d3122688788c7530a9e04d92c44da0255
MD5 df3e1802a0ec30238990c77457dfade4
BLAKE2b-256 2a39800ce5c06fda334c14a335f68c2bad3cc77bdb46620a4a55ac6e8782d5e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 46ff4b7cfd8374aa9b43cf00fee7139145e1f7c63c70cc0d621cf680f359448e
MD5 ecca7241b5b7b37b92f723069ada321e
BLAKE2b-256 a9b50bc83430c58b648f5a6b03302dae18a9c83512ff69478b1f9abf5b2bf616

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fd0d5fc34bf8c6e7c95f97f9e523047ca853e98e7aa81f888d97284c048523f3
MD5 84874dfb1edf1cf57c4cc9d0adf75ac0
BLAKE2b-256 f3e7dac485f69afb6f6c43d88d4a9cf7e0857a904c64028baf68edbf67b77444

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 ba6a38d09b67fb1cf066ab5e928e95119292f93762a112ebef9a28028b225805
MD5 537200070e2dc2b4570807067ed27750
BLAKE2b-256 e22832f8a9740c088fa39efc1bfb30eba324c2347ffbf38a792364309f81ddbc

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.21.0-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 47a346b291b616f27c0b4e4a65ca642d969de00659facea38cf9239882638fb9
MD5 8f1e4dfc1e20c272b6391a7d7c8c253d
BLAKE2b-256 91b8dc43988b2de828be8905694eca81b9f4db5705405acf2cc1c349c3db18df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyresample-1.21.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3360f86478bff4903f0493e3073a2cdf5fa75de0392288429fa846d597db5d99
MD5 074076a8b458dafe62ef893b83ecf151
BLAKE2b-256 cd07bb7d9149b7d3bfc4281838cc968eb70812d14e229e6368b49952bb01d856

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dcc83c523d8898e29893fe12b62a4e84eacc2eac3eabea29f74eb304659f6982
MD5 2e237cef143b878dbda8ccaa7bdac829
BLAKE2b-256 b0c51f69b51513489b08d3d2fcb1478a81162437fa63ac61376335442afeb6be

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 895dfa3d88fd93ac2a9f009f6494e9b018752f64fcce8a3bebfe839d091ff36f
MD5 c1aa553f910da8fb32d90aa9cfa272e1
BLAKE2b-256 42f2c1422adad3ed71b85fa064120611241dc72821c600b7098aa81c68e8c5f9

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.21.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 da18c9e660d5ae9242fef3ad285bacaea5ba4a87a495cf61dbcbfe3630ed702d
MD5 5f2b820e764ec343952cc02996d57c1d
BLAKE2b-256 5602b217875154cbaf412ab46c797d40873e4935d77b53597c7da24c62d397cb

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyresample-1.21.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 20320efd9a5e4c7b95bfb2b815bb799f3f2946601329aac3f0947f321b2e58ab
MD5 fd8236616299436b8cfc3ee7f75600df
BLAKE2b-256 03260c010a84270bc68bc534c036c0759c569042e42d98515d8c56bc46fbb9a9

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2a3b08c6a333852beb04d425e4e50b93e89f182385517c03a937de88c19331aa
MD5 142931eef0c97c16f96a44317aff913f
BLAKE2b-256 5b23ab4d591e374412c54ad9dd24668db503c73da6d57dd73149725c2cb47ea6

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 046bfb7397ec92da1d6b28078fa3c29f0279d1ce76677ef800f9ff417b3d49db
MD5 ca552dac0e1fb18531884b362ad9e2c7
BLAKE2b-256 9aadb4cd90f3eae4e85f62bdc51ba521fbfaffe0aed6af8b6abd7236b8cf198f

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.21.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 71e480c892bfa4ed8f56ec727020d8b636e47e85c27a16849383bfe9584e3cbf
MD5 845cf8e3743f3fa2c8de2dbe9945af33
BLAKE2b-256 b541481df4ee1cee5c0a71314e2ad39097f813a00b444535a462593fd481ff6e

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyresample-1.21.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7b2cc0f651eacb551bf4e1108a8313f33e99d2d46c9970bb2a52d15749cd5e83
MD5 a28e23cd93ae5302b57f046b457c90b6
BLAKE2b-256 cd7f4f5cb20b3c58f37012e183ea12154fbcf9068c9e6841c7cdb3838194ef33

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 69c7fc2de0bb52c0a412e55612dca0d348d67fe9d0cf5b4920a85fd38d8424c4
MD5 d454dca5f0e7a47d2a29de9f8472aac5
BLAKE2b-256 aff67589d2d43233549ede367b2abd88d06a8d20fe2a9ca62c03c185b14d3b09

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 3a21065757969eec6a704c5534ef037f597dcc3a3e7514ed3097b5771c84a85c
MD5 e8918fa6b198aeb41da01ce8bf14d8bd
BLAKE2b-256 66cc1bfb232c1bb5e57279927cc22e752b6454c74f2e821484bfd0176329d110

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyresample-1.21.0-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.11

File hashes

Hashes for pyresample-1.21.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a7ab06a5933645aabb137a2ece6389310881fc159eca81dfc42bb470e8fdc2f2
MD5 ca87dca4534f8c98e2f4467a319eae69
BLAKE2b-256 370032b0032f1268fadff4fb15d9a7d6d84e35533666f89f60837e3681d8f91a

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6f37b6cddf8893d80339f51d431fb5112c525b43667472623ed13cf019c9f570
MD5 64c85e987fad483b6080913af38bb563
BLAKE2b-256 2659a4e9757395fc68f59f9b76180355618ff9681a9b22d03eedcefaf4d50489

See more details on using hashes here.

File details

Details for the file pyresample-1.21.0-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyresample-1.21.0-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 689704274c4db60d7afbefb2e04ae1b3ac12bc19f0ae3ebbe8ca46666f22162f
MD5 c89fb566bcbe4bd0240d327a5154f700
BLAKE2b-256 eadf0445d22b0a373703f97fc771a620494af1ddac1ada4d42763183988c615a

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