|
From: | Noersomadi |
Subject: | Re: How to read HDF data ? |
Date: | Mon, 14 Feb 2011 05:55:15 -0800 (PST) |
http://octave.1599824.n4.nabble.com/read-data-subsets-from-HDF5-td2713674.html
Octave's native HDF-5 reader (load -hdf5) loads the entire HDF-5 file into memory as an Octave Struct.
Yes, it will load non-Octave-written HDF-5 files.
HDF-5 variable names appear as members with the same names of the
HDF-5 Struct in Octave.
Limitations -- Octave chokes on struct member names containing
spaces. HDF files will have variable
names containing spaces.
How do you access struct member:
HDFEOS.SWATHS.MOD_Swath_Snow.'Data Fields' in Octave?
I think that it would be possible to do useful things in Octave
with HDF files, however, as HDF file ATTRIBUTES
are ignored by Octave's native HDF-5 reader, you have to use an
auxiliary tool, like h5dump (an HDF file dumper)
to discover the data field's names, dimensions, etc.
Noersomadi <adi_pemalang <at> yahoo.com> writes:How to read HDF data using octave 3.2.4 ?I don't use HDF, so this is short on details, but you probably need to install the octcdf package and figure out how to use that: http://octave.sourceforge.net/octcdf/index.html Hopefully somebody with experience can answer any more questions you might have. _______________________________________________ Help-octave mailing list address@hidden https://mailman.cae.wisc.edu/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |