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

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

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / fits2tmp-1.0.2.tar.gz

Download URL fits2tmp-1.0.2.tar.gz
Size 802.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8662d1b686226b0a5974fab9263ce35187d7df2cd50e9787f8958a63e37f9cdf
BLAKE2b-256 checksum
How to use checksums
a7a7efa20376e1cfd044a5c2578546092a0596d05ba9e98843d734fa87e7a1ce
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.2-py3-none-any.whl

Download URL fits2tmp-1.0.2-py3-none-any.whl
Size 802.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d5facfee894e112a218f73b5f93de1ceaf6d149be5ffc59099bae52d0ad84b0
BLAKE2b-256 checksum
How to use checksums
2e7c31abe082dd262dad8e7ec33be902d241a34253482a54505581ee4fb9bd88
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.2

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