Quasars / orange-spectroscopy

Other
51 stars 59 forks source link

Read errors with Agilent files #494

Open borondics opened 3 years ago

borondics commented 3 years ago

We are having some problems with reading Agilent DAT files.

I can read most on my Mac but it seems that mosaics don't work? I get unexpected FPA size those and this messages on a Win10 computer for single tile FPA images.

These messages came from three different files (notice the differences).

'charmap' codec can't decode byte 0x9d in position 1054: character maps to <undefined>
'charmap' codec can't decode byte 0x9d in position 1068: character maps to <undefined>
'charmap' codec can't decode byte 0x8d in position 1161: character maps to <undefined>

I will link some data here that failed to read. @stuart-cls do you have any quick ideas why this happens? Can it be regional settings in Windows? Once I get the files here I will also test them on Mac.

stuart-cls commented 3 years ago

For mosaics, note that the .dat files are just downsampled previews, which is why you get that error. You should use the mosaic loader which I think triggers on the .dmt file. I am assuming you wanted the full data and not the previews.

For the failed files, can you send them to me somehow? It will be easier to find out what is wrong that way.