Skip to main content

fits2tmp

This project allows you to take a large FITS file and render it as a set of smaller FITS files stored in-memory in a temporary directory, with appropriately updated headers. The program returns a list of the location of these files, which can then be processed by a parallel processing framework such as dask.

The program also allows you to turn a zarr file containing your FITS data into small FITS files, provided you have extracted the FITS file header to a text file. Utilities in the program can be used to write headers out to or read them from a text file.

TODO:

  • Add a utility to convert FITS files to zarr, including saving the header out to a text file.
  • Add hdf5 support using a similar strategy to FITS.
  • Add xradio support.

Installing fits2tmp

The program is available from pypi so can be installed with pip: pip install fits2tmp.

Example Usage

import fits2tmp as f2t

a = fakefits2tmpfiles("fits", "/path/to/input/data", "/path/to/temporary/filesystem", "path/to/header/", (100, 100, 100), chunks=(20,20,20))

Metadata

Release files for fits2tmp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fits2tmp 1.0.0
File Size Uploaded Provenance Actions
fits2tmp-1.0.0.tar.gz 802.6 kB Without provenance Details for fits2tmp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fits2tmp 1.0.0
File Interpreter ABI Platform Actions
fits2tmp-1.0.0-py3-none-any.whl Python 3 none any Details for fits2tmp-1.0.0-py3-none-any.whl

Total release size: 1.6 MB

Release files / fits2tmp-1.0.0.tar.gz

Download URL fits2tmp-1.0.0.tar.gz
Size 802.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cbdf5bb4ba175aad29ff6e3480b1deef53c277efe27f2d89add01deb3b88bd14
BLAKE2b-256 checksum
How to use checksums
fe314bbfcbdfa29970f91cf799d1da911c496c55ef87316f60e5285f093f33fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / fits2tmp-1.0.0-py3-none-any.whl

Download URL fits2tmp-1.0.0-py3-none-any.whl
Size 802.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9b0e09aa08c40d7c7feaffa525802827dfe66592a46b6cf6d1e29d324d62523
BLAKE2b-256 checksum
How to use checksums
cb4c7e43e8c9dd8a402a09687c972d81ff7e6424acd2f7394ef5f8b0a06cf5e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for fits2tmp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page