How can I use `` to read a header from a URL?

I have URLs to header files, like this one:

Is there any of the astropy/sunpy modules that I can use to access such headers’ content without downloading + saving + loading + parsing the files?

Maybe, but I can’t find how to do that!


Sorry for the late reply (I forgot to enable tag notifications), from what I can see there is no easy way to do that.

Most of functions that are present in assume the file is local at the very least and while some functions handle URLS, they will error if the file isn’t a FITS file.

What you can do is this however:

from import fits
from import download_file

url =  ""
1 Like

Thanks @nabobalis .
This probably is the next best thing.