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.3

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.3
File Size Uploaded Provenance Actions
fits2tmp-1.0.3.tar.gz 802.6 kB Without provenance Details for fits2tmp-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / fits2tmp-1.0.3.tar.gz

Download URL fits2tmp-1.0.3.tar.gz
Size 802.6 kB
Tags Source
SHA-256 checksum
How to use checksums
55b78ac175a550af3f2aa05b546d40e676f77e1c3fa5d3c6b0cef32c6125b381
BLAKE2b-256 checksum
How to use checksums
a2e4b7677ab543d5ebaf424e5f85504bd421b729733ae0e6483156ede36042fd
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.3-py3-none-any.whl

Download URL fits2tmp-1.0.3-py3-none-any.whl
Size 802.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7636138fe8960b42283d281736725e8fdd64ec57966e27cfb6d97f1b241a27d3
BLAKE2b-256 checksum
How to use checksums
fa3250a6d5bf5a6b49f881ebbe5408db6472f29043f9f36acf46cfd8bf526ef1
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.3

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