SimulationTools / h5mma

GNU Lesser General Public License v2.1
0 stars 0 forks source link

Request for additional data types #8

Closed barrywardell closed 2 years ago

barrywardell commented 2 years ago

We would like to have the ability to import 16-bit integers added to this package. Mathematica's built in importer is painfully slow to use for our datasets. (I have so far been unable to compile a modified version for windows and felt this would be fairly easy to add.)

Imported from: BitBucket Issue #8 Original date: 2014-04-28 Original creator: Former user

barrywardell commented 2 years ago

Yes, it looks fairly easy to add. I will take a look, but I have never compiled it for Windows before (that was Barry). Have you tried the instructions at https://bitbucket.org/simulationtools/h5mma/wiki/Compiling%20h5mma ?

Original date: 2014-04-30 Original author: Ian Hinder

barrywardell commented 2 years ago

Could you attach a tiny example HDF5 with a 16-bit integer dataset?

Original date: 2014-04-30 Original author: Ian Hinder

barrywardell commented 2 years ago

Never mind, I made one myself. I have implemented the requested feature in 5bc098f5d03f3184a3b4569ef65aef6f1f1571ab and as far as I can tell it works in Mac OS. Barry, maybe you could build a new Windows binary?

Original date: 2014-04-30 Original author: Ian Hinder

barrywardell commented 2 years ago

I have uploaded binaries for both 32-bit and 64-bit Windows. The 32-bit version should go into the Windows directory inside the h5mma package and the 64-bit version should go into the Windows-x86-64 directory.

Original date: 2014-05-01 Original author: Barry Wardell

barrywardell commented 2 years ago

We have added support for reading 16-bit integers. The original issue was filed by an anonymous user so we may never get confirmation from them that it works for them, but our tests show it does work.

Original date: 2014-05-22 Original author: Barry Wardell