[AstroPy] Abbreviated data types in IPAC tables

Thomas Robitaille thomas.robitaille at gmail.com
Wed Jan 7 05:20:52 EST 2015


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



More information about the AstroPy mailing list