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.34.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.34.0-cp313-cp313-win_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows ARM64

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

Uploaded CPython 3.13Windows x86-64

pyresample-1.34.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.34.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.34.0-cp313-cp313-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.13+ x86-64

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

Uploaded CPython 3.12Windows ARM64

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

Uploaded CPython 3.12Windows x86-64

pyresample-1.34.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.34.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.34.0-cp312-cp312-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows ARM64

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

Uploaded CPython 3.11Windows x86-64

pyresample-1.34.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.34.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

pyresample-1.34.0-cp311-cp311-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pyresample-1.34.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.34.0.tar.gz.

File metadata

  • Download URL: pyresample-1.34.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.34.0.tar.gz
Algorithm Hash digest
SHA256 a0cd05327f8015862809da8704e93943890f02194d11d97ede29576f6a6730d4
MD5 2c96efd8dd19e160ca5aa40ea6b00752
BLAKE2b-256 713aba98fb4abb965c70d4c580903914ddd24a29cd09e8998fb9c792253fbffa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 2b7cd13bb1856c5c9c59f88b5e4520a476337bbfb9fc9f9217ab988074590b12
MD5 374a0b470260ea4733bf036d32e9cf48
BLAKE2b-256 62c5f2adefada1b5a037aa6a7df2054e0eb3fbdd44a10acac51908628d673ed3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9e0fc087d12f5d4cb08e692af37eb08b7b9318e07ddb878554185e643b1e1a5a
MD5 65c8d07fa689bc54f50416430ee18aee
BLAKE2b-256 b4f44e3421344645a9d534d5f0615900dbe54903b1d5a1d0c5fde4f110a785e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e8fa9af2ed07b1ab33997dbb0ff8013b7a8a1746d2208a694ddbbf47caf9c8e7
MD5 57fb6f0c2928cc7aa2fbb7d16564c14e
BLAKE2b-256 d5006e5e3af6ff470d196bc4bd989bbb4c456df42d1f0c7560c263ec191bfb07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ab7d3e73a232620fa4a28d34bd08c48a8d3893d94e34b4e5372da8ce3f0a99a3
MD5 a2b0d48d5e46f20fc38171a5c67e2afc
BLAKE2b-256 490e901951460ea0b9740e85ba2b4b438363a0fa20b0a6b8b8f0aded0456d481

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c55b3e8078d2c6d2115e214e72a6f8fa1fb87e528b4d449a66e7a03eba1c3c9
MD5 b01dc7fd1296568e87b98ba55c81f07e
BLAKE2b-256 b60d3bf7e850539afe262a51a98874630e0c5fc99d3cecfab0f4d7f8804c5315

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ffd92861052d1e763778c8cc7faa6e524c68be97ec85e2c5a3e9997a2d2fe115
MD5 08bc3a821e17274c2456f533f2f72618
BLAKE2b-256 91537a07a7b2a125a659219573c57aa98d6f655d6291c534e471e83b0df3192d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 d19d3436027a7f0db6528dfc9ba3b9a604f9fdb81ccbe684de08fc111786e58e
MD5 a00ea91e2765313b6c06841678c40c15
BLAKE2b-256 76064cf9b416d06e1b3599f76d7d145468c80e282994de41d9b5b379cd13e22b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 09a373008a3ec25696abd4cdea0b41a034fa1c807c19a7312b30a6f4be40c715
MD5 e0129210d77f41574e87c5696594a6e9
BLAKE2b-256 187369312195928682c9476d5b49649ef4946d5388095d058906f9f8c99ef6c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64af629636d6566901e31d229e152fa8e63894add59c27e02875682327f9ba42
MD5 426fb26e25ddc6af1f54e3ce4f51c9ec
BLAKE2b-256 19ef10ca42e3a4981c88e2f153c2a17c9b2f4a3e8a5647fd4b81993798c13b87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cc97807cdff7a992b951ca41c7f55fad9626fdeb46fcd085990b319e808c5a44
MD5 5a9d905a9592d3d8e8efe2e45c6824c8
BLAKE2b-256 5142443d8b39090700cb6edb43e4f4663b92aeb30eb4f9d7a9d96a11cc3c9e85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 89227e79d50ad204712f026d5a860c9e1e3f5416e68849cb9b5fefe0ba6249f8
MD5 bd5ad58e3b81daa76a1aef18d12cd70e
BLAKE2b-256 75ab1307e064aa902b724f97e4ea07ca7f7cf520e44c2714c7470045f1232de2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c7b8b1ac93468ef3e09ed1376efe734a62a7d7bec665d8a857644b347bb3521e
MD5 a5f14e075d186bb2b28af48667ae9d29
BLAKE2b-256 b1202500610b6d6938a737b092d2064264781e576197b1c4e621b96a5b2ecaf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 87e929c151c08e31fb6507bd95d20d8e4e88531352e58559d031199efc61dcb7
MD5 e972e3d0cc8a91cc855598d80205f13b
BLAKE2b-256 74e4a2d3d2397139a6055570e17bf0f342882dfa674d0e4823fe5775156962b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 12b4b766f34bc7564fac1ddfd70233c115d944c297a36ae25b696cd578054ae7
MD5 a5fb0ccbd95f39c1f51206e3ae9fc293
BLAKE2b-256 c07721a9018c033351961cff06750a59cb3f6059efaf8f0dc652c36af32c1866

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 238a3999d7520a1e727bc929387918fcc5ffe6aa3dab50300c01f3fb7b46f416
MD5 fe0d35b020033bae831c6dd1215cd775
BLAKE2b-256 0eba2a23c24d87791821818396aa5d8156e3b70b5db5b447243867e5c7970442

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1213ce360c60c2d26319a2d107068768183f2c6596b6e1abb0151c7c2df6c3ef
MD5 888a341972bfb8d1e36163dcc60a84de
BLAKE2b-256 03dc590000be9d1a0bdb72e8bd86423bb561ac4b51513e59dda459c0b96325f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 33be7c65790fcef8825c4d4ba0b6c4ba27007014eb3fda452a9da6ad09564eca
MD5 0f0a28dbf5ab4400382f071d82a106e4
BLAKE2b-256 d4a026ecedd531a641eaf8a8fef16b088a03ee06f738e009f54fefc68b057c80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyresample-1.34.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 121981081ca77cec2be87785cc80f1df0f8de600722c5dbeba723d22b6cbb46a
MD5 e80d03b200d8679c352450bbe5aeeb50
BLAKE2b-256 10866eaeb6d4f3f9ab3fe30ed039771b612393bce57ceadcb07f5da982dc5227

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