help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: hdf5 files support


From: N
Subject: Re: Fwd: hdf5 files support
Date: Tue, 3 Mar 2020 05:49:26 +0100

> On Sun, Mar 01, 2020 at 12:18:57 -0600, Hernán Leoni wrote:
> > but still I think I did not found the right reason why some hdf5 files are
> > not supported in octave.
> > I would like to check if there is a post with this information, or if
> > anyone has some more details about it.
> > 
> > I have few files that when loading within octave this errors is logged out
> 
> The 'load' function in Octave is primarily for loading files that were
> created by the 'save' function.
> 
> As a convenient extension, Octave's 'load' function does also load some
> simple HDF5 files, but not all.
> 
> The real way to import any HDF5 file into Octave will be with the
> 'h5read' function. But that function is still a work in progress and is
> not yet part of any version of Octave.
> 
> If you are familiar with the Python h5py or pandas libraries, you could
> try using them with the Octave Pythonic package to read your HDF5 files.
> It's experimental, but let me know if you would like to try working with
> Pythonic.

hgsave and hgload works but are only for figures. You specifically tell load 
function it is a HDF5 file by using the 'hdf5' option? And are sure it is a 
correct HDF5 file?


Always avoided python since it lack specific types but Octave also have the 
same problem, there could be just about anything in a variable, this is 
particularly a problem for function parameters, it can't even see the 
difference between a string and a number.


Nicklas Karlsson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]