Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-18489

Empty float from VOTable shows as "0.0000000000e+00" in the table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: SUIT
    • Labels:
    • Story Points:
      6
    • Epic Link:
    • Sprint:
      SUIT Sprint 2019-08
    • Team:
      Science User Interface

      Description

      How to reproduce:

      Load the attached VOTable into Firefly.

      Observe "0.0000000000e+00" in the second column.

      FIREFLY-99 has been created 

        Attachments

          Issue Links

            Activity

            Hide
            gpdf Gregory Dubois-Felsmann added a comment -

            Context:

            In the VOTable XML ( TABLEDATA ) serialization, an empty <TD> element is to be treated as a null.

            Each item in the TD tag contains a value which must be compatible with the datatype attribute of the corresponding FIELD definition. If the value is the same as the null value for that field (see section 4.7) then the item is assumed to contain no data. Valid representations of values in a cell, depending on their datatype, are detailed in the complete description of datatypes. If the TD element is empty (<TD/> or <TD></TD>) the cell is considered to contain no data, i.e. to be null.

            http://www.ivoa.net/documents/VOTable/20130920/REC-VOTable-1.3-20130920.html#ToC36

            Show
            gpdf Gregory Dubois-Felsmann added a comment - Context: In the VOTable XML ( TABLEDATA ) serialization, an empty <TD> element is to be treated as a null. Each item in the TD tag contains a value which must be compatible with the datatype attribute of the corresponding FIELD definition. If the value is the same as the null value for that field (see section 4.7) then the item is assumed to contain no data. Valid representations of values in a cell, depending on their datatype, are detailed in the complete description of datatypes. If the TD element is empty (<TD/> or <TD></TD>) the cell is considered to contain no data, i.e. to be null. http://www.ivoa.net/documents/VOTable/20130920/REC-VOTable-1.3-20130920.html#ToC36
            Hide
            tatianag Tatiana Goldina added a comment -
            Show
            tatianag Tatiana Goldina added a comment - Pull request:  https://github.com/Caltech-IPAC/firefly/pull/851

              People

              Assignee:
              tatianag Tatiana Goldina
              Reporter:
              tatianag Tatiana Goldina
              Watchers:
              Emmanuel Joliet, Gregory Dubois-Felsmann, Loi Ly, Tatiana Goldina, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.