[AstroPy] Unified file read method without opening file?
thomas.robitaille at gmail.com
Thu Dec 19 11:03:41 EST 2013
You should be able to pass an open h5py file object to Table.read and
Table.write. Does it not work for you?
On 13 December 2013 07:05, Duncan Macleod <duncan.macleod at ligo.org> wrote:
> Hi all,
> I’m a big fan of the astropy unified file read/write interface, and have
> used it in a project for reading gravitational-wave data. Is there a way to
> not have the astropy.io.registry.read method open all file paths if
> format=None, the lower-level methods that then get called take in filepaths
> themselves, not open files (e.g. h5py.File) and I don’t want to then have
> two open copies of the same file?
> Duncan Macleod
> duncan.macleod at ligo.org
> LIGO Data Grid systems development
> Louisiana State University
> AstroPy mailing list
> AstroPy at scipy.org
More information about the AstroPy