reproject
Reproject astronomical images
Decision gist · record as of 2026-08-14
Yes, if you work with astronomical images and need to align them across different coordinate systems or resolutions. The package offers a well-maintained, permissive-licensed solution with multiple reprojection algorithms and HEALPIX support. Medium install friction is acceptable for scientific workflows. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.11.
- Compiled dependencies (numpy, scipy, astropy) must be installed; pre-built wheels handle this on standard platforms.
- Medium install friction due to 10 runtime dependencies including compiled packages (numpy, scipy, astropy).
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects provided you include the license notice.
last release 2026-06-25 (50 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,194 downloads/mo, #10,613 on PyPI
Alternatives
Verify before relying
pip install reproject
from reproject import reproject_interp
from astropy.io import fits
data, header = fits.getdata('input.fits', header=True)
output_data, footprint = reproject_interp((data, header), target_header)- Whether the package handles large datasets efficiently with dask and zarr integration beyond basic reprojection.
- Performance characteristics and memory requirements for typical astronomical survey data sizes.
- Specific accuracy or speed trade-offs between the three implemented reprojection algorithms.
What it is and what it does
Reproject is a Python package for re-gridding astronomical images from one world coordinate system to another—changing pixel resolution, orientation, or coordinate frame. It implements three distinct reprojection techniques: simple interpolation (similar to SWARP), the adaptive anti-aliased algorithm from DeForest (2004), and exact pixel overlap calculation on the celestial sphere (similar to Montage). It also supports reprojection to and from HEALPIX projections via astropy-healpix.
The package depends on a substantial stack of scientific Python libraries (numpy, scipy, astropy, astropy-healpix) and integrates with dask, dask-image, zarr, and fsspec for handling larger datasets. It is actively maintained, requires Python 3.11 or later, and is distributed under a permissive BSD 3-Clause license. Installation involves pre-built wheels for standard platforms, though the compiled dependencies add moderate friction.
Use it for
- Align multiple astronomical survey images to a common pixel grid and coordinate system before stacking or analysis.
- Convert celestial observations between different projections (e.g., tangent-plane to HEALPIX) for survey-wide processing.
- Resample high-resolution imaging data to match lower-resolution reference frames while preserving flux.
- Prepare multi-wavelength observations from different telescopes for joint analysis by harmonizing their coordinate systems.
- Generate footprint maps showing valid data coverage after reprojection to a target coordinate frame.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with astronomical images and need to align them across different coordinate systems or resolutions.
The package offers a well-maintained, permissive-licensed solution with multiple reprojection algorithms and HEALPIX support. Medium install friction is acceptable for scientific workflows. No known security vulnerabilities.
Install
reproject on PyPI
Before you install
Medium install friction due to 10 runtime dependencies including compiled packages (numpy, scipy, astropy). Pre-built wheels available for current Python versions on major platforms. Active maintenance with recent release.
Requires Python >= 3.11. Compiled dependencies (numpy, scipy, astropy) must be installed; pre-built wheels handle this on standard platforms.
License in practice
BSD 3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and private projects provided you include the license notice.
Quickstart
pip install reproject
from reproject import reproject_interp
from astropy.io import fits
data, header = fits.getdata('input.fits', header=True)
output_data, footprint = reproject_interp((data, header), target_header)
Verify before relying
- Whether the package handles large datasets efficiently with dask and zarr integration beyond basic reprojection.
- Performance characteristics and memory requirements for typical astronomical survey data sizes.
- Specific accuracy or speed trade-offs between the three implemented reprojection algorithms.
Package facts
| License | BSD 3-Clause permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 10 packagesdaskdask-imagezarrfsspecpillowpyavmnumpyastropyastropy-healpixscipy |
| Maintenance | Actively maintained 50 days since the last release |
| First released | |
| Downloads | 162,194 / month, #10,613 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: reproject-0.21.0-cp311-abi3-macosx_10_9_x86_64.whl; reproject-0.21.0-cp311-abi3-macosx_11_0_arm64.whl; reproject-0.21.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; reproject-0.21.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; reproject-0.21.0-cp311-abi3-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “astronomical image reprojection”
- reprojectReproject astronomical images between different world coordinate…
- photutilsPhotutils provides tools for detecting and measuring astronomical…
- PyAVMPyAVM reads, writes, and embeds Astronomy Visualization Metadata…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also astropy-healpix · gwcs · healpy · regions · reproj · pyerfa · skyfield · pyvo · photutils · ndcube