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

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

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / fits2tmp-1.0.4.tar.gz

Download URL fits2tmp-1.0.4.tar.gz
Size 802.6 kB
Tags Source
SHA-256 checksum
How to use checksums
69da34df2be87a868898db5d3a33e531123ef22bd82e775a4419f06768e758c3
BLAKE2b-256 checksum
How to use checksums
60c59e5c965cf670ae80d6eb167c6279af568b3b8c4fe39f488cef2f802ee3fe
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.4-py3-none-any.whl

Download URL fits2tmp-1.0.4-py3-none-any.whl
Size 802.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5448e903e51de6cf385d6a4751bf7ac05c81423f838cc58afdc63c9070379330
BLAKE2b-256 checksum
How to use checksums
2eb842c13e2c2a2462eacc20f87be4348dc6796daed2e4d808000067cd86b272
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.4

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