intake / intake/intake-astro

Adding fsspec support to `astropy.io.fits`

Open
#8 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I'm opening this issue to draw attention to the fact that I opened an Astropy PR today (https://github.com/astropy/astropy/pull/13238) which would add explicit support for opening FITS files with `fsspec`.

This PR may not necessarily benefit `intake-astro`, because I believe this package already makes clever use of AstroPy's lazy data loading features (i.e., `ImageHDU.section` and `lazy_load_hdus=True`).

Perhaps the most important contribution of the Astropy PR, however, is that it adds documentation on the use of `fsspec` with FITS files, aimed at astronomers. For example, the Astropy PR would add a chapter on the use of `fsspec` to the Astropy docs which can be previewed here:

https://astropy--13238.org.readthedocs.build/en/13238/io/fits/usage/cloud.html

/ping @martindurant: I'd be interested to hear your thoughts on the PR. I'm happy to be told this is a bad idea, or have my attention drawn to any incorrect claims I may accidentally have made about fsspec in the Astropy docs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.