Uploaded image for project: '1D Redmine '
  1. 1D Redmine
  2. REDMINE1D-279

[RM-8209] Check endianess of data in spectrum reader

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress (View Workflow)
    • Priority: Normal
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Created on 2023-08-11 13:24:13 by Thomas Bedrine. % Done: 0

      When trying to resolve the issue #8206 of Vizu, I noticed that the optional filters seemed to cause a Value error that aborted the treatment of the spectrum before it was loaded into the C++ : @ValueError: Big-endian buffer not supported on little-endian compiler@ (see in attached file).

      It is a problem caused by the system of byte-reading/encoding that is used to generate the data of the spectrum, which can conflict with the system of the machine that is used to run Amazed with that data. The problem only occurs on rare cases (in filters, for now), but it may happen again in the future, so I suggest doing a conversion of the input data from its original endian coding into the one that the machine is actually using .

        Attachments

          Activity

            People

            • Assignee:
              r2j.migrate Redmine-Jira Migtation
              Reporter:
              r2j.migrate Redmine-Jira Migtation
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: