[AstroPy] Abbreviated data types in IPAC tables

Aldcroft, Thomas aldcroft at head.cfa.harvard.edu
Thu Jan 8 09:41:53 EST 2015


For the record this has been closed now with a PR that fixes this:

  https://github.com/astropy/astropy/pull/3279

- Tom

On Wed, Jan 7, 2015 at 7:00 PM, Gregory Simonian <
simonian.7 at buckeyemail.osu.edu> wrote:

> Hi Tom,
>
> I opened the bug right here:
>
> https://github.com/astropy/astropy/issues/3279
>
> Let me know if there's anything I left out. Thank you and the rest of
> the astropy team for working on these tools; they save a lot of work!
>
>                             Gregory
>
> On 01/07/2015 05:20 AM, Thomas Robitaille wrote:
> > Hi Gregory,
> >
> > I think that this is indeed a bug in Astropy and we should fix it to
> > recognize abbreviated data types. Can you open an issue on the astropy
> > bug tracker on Github?
> >
> > Thanks!
> > Tom
> >
> > Gregory Simonian wrote:
> >> Hi all,
> >>
> >> I'm trying to read in an IPAC table from the WISE IRSA catalog using
> >> Astropy v4.1, which for some columns abbreviate "double" as "doubl". At
> >> first I thought this was a bug in the database, but I was informed that
> >> abbreviations off the end are actually a legal part of the standard.[0]
> >>
> >> However, whenever I try to read it using astropy, I get the error:
> >>
> >> In [2]: Table.read("test_output.tbl", format="ascii.ipac", guess=False)
> >> <snip>
> >> ValueError: Unknown data type ""doubl"" for column "w1ba"
> >>
> >> Is this a part of the standard that hasn't been implemented yet in
> >> astropy? Or is there some setting that I haven't found that will enable
> >> this to work? Or am I just doing something wrong? I've attached a small
> >> output file that reproduces this error for anyone that's curious.
> Thanks!
> >>
> >>                                    Gregory Simonian
> >>
> >> [0] http://irsa.ipac.caltech.edu/applications/DDGEN/Doc/ipac_tbl.html
> >>
> >> _______________________________________________
> >> AstroPy mailing list
> >> AstroPy at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/astropy
> > _______________________________________________
> > AstroPy mailing list
> > AstroPy at scipy.org
> > http://mail.scipy.org/mailman/listinfo/astropy
> >
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20150108/c7e3d6b9/attachment.html>


More information about the AstroPy mailing list