- Notifications
You must be signed in to change notification settings - Fork97
Geospatial image resampling in Python
License
pytroll/pyresample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Pyresample is a python package for resampling geospatial image data. It is theprimary method for resampling in theSatpylibrary, but can also be used as a standalone library. Resampling orreprojection is the process of mapping input geolocated data points to anew 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 includingtheAreaDefinition
andSwathDefinition
classes.
Pyresample offers multiple resampling algorithms including:
- Nearest Neighbor
- Elliptical Weighted Average (EWA)
- Bilinear
For nearest neighbor and bilinear interpolation pyresample uses a kd-treeapproach by using the fast KDTree implementation provided by thepykdtree library.Pyresample works with numpy arrays and numpy masked arrays. Interfaces toXArray objects (including dask array support) are provided in separateResampler class interfaces and are in active development.Utility functions are available to easily plot data using Cartopy.
Seepytroll.github.io for more information on thePyTroll group and related packages.
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
About
Geospatial image resampling in Python