Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: SUIT
-
Labels:
-
Story Points:4
-
Epic Link:
-
Sprint:SUIT Sprint 2018-09, SUIT Sprint 2018-10, SUIT Sprint 2018-11, SUIT Sprint 2018-12, SUIT Sprint 2019-01, SUIT Sprint 2019-02, SUIT Sprint 2019-03, SUIT Sprint 2019-04
-
Team:Science User Interface
Description
This ticket is to gather information for numerical data display for LSST data in SUIT.
Current Firefly displays 6 digits after decimal point by default. This may not be best for some data. We need to have a plan either specify the precision for each column in table data, or have a guideline for precision for different type of data, i.e ra, dec, magnitude, flux, error, ...
Currently Firefly uses %9g for FITS tables, guessing with minimum of 8 decimal digits - for VO Tables. If the first value is in scientific format with 1 digit precision, all values will be formatted like this.
To Illustrate the problem, consider the following result table:
<TABLE name="results">
<FIELD name="Float Field" datatype="float"/>
<FIELD name="Double Field" datatype="double"/>
<DATA>
<TABLEDATA>
<TR><TD>10.68</TD><TD>10.68</TD></TR>
<TR><TD>287.3</TD><TD>287.3</TD></TR>
<TR><TD>1.2e-9</TD><TD>1.2e-9</TD></TR>
</TABLEDATA>
</DATA>
</TABLE>
Displayed in Firefly, the table will look like this:
I see at least 3 issues here: