Skip to main content

Geospatial image resampling in Python

Project description

Build Status Build status codebeat badge

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.

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

Uploaded Source

File details

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

File metadata

  • Download URL: pyresample-1.13.2.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15

File hashes

Hashes for pyresample-1.13.2.tar.gz
Algorithm Hash digest
SHA256 97dd7754fd2de2796ec1654452ab9de2251945d5a8969a3a7097979cd97e1395
MD5 cbdbb9a0e7ef29115db9c5f157a2a86c
BLAKE2b-256 a1fa86abbb3370243e75d5acfc1e637e4ceb87bf488fc4f6d09d81c10864abc1

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