Redirecting lsd-query output to an HDF5 file

10 views
Skip to first unread message

Branimir Sesar

unread,
May 1, 2015, 1:00:18 PM5/1/15
to lsd-...@googlegroups.com
Hi all,

Does anyone have an example how to do the above?

Cheers,

Brani

Mario Juric

unread,
May 15, 2015, 12:05:04 PM5/15/15
to lsd-...@googlegroups.com
On 5/1/15 10:00 , Branimir Sesar wrote:
> Hi all,
>
> Does anyone have an example how to do the above?
>

Hi Brani,
There's nothing "out of the box" that will do this for you. But you
could output a FITS file, and convert it to HDF5 using pytables.

PS: The place to add something like this would be in:

https://github.com/mjuric/lsd/blob/master/src/lsd-query#L93

, it should be relatively straightforward (see how it's been done for
'text' and 'fits' output types). If you do it and send me a pull
request, I'll merge it into master.

Hope this helps,
--
Mario Juric,
UW Astronomy Faculty | UW eScience | LSST DM Project Scientist
Web : http://research.majuric.org Phone : +1 609 933 1033

Branimir Sesar

unread,
May 15, 2015, 6:50:58 PM5/15/15
to lsd-...@googlegroups.com
Hi Mario,

Thanks for the tip :) However, I already figured out how to use pytables
and solved that problem.

Cheers,

Brani
Reply all
Reply to author
Forward
0 new messages