On Thu, Aug 26, 2010 at 6:33 AM, onpr <[email protected]> wrote:
>
> Hello all!
>
> I'm using h5dump to convert hdf dataset to ASCII file as:
>
> h5dump -d /dataset -o dataset.txt -y testfile.hdf
>
> But output is different from what i get using "Export Data to File" command
> from HDFView.

What is the "real" problem you want to solve?  A number of my colleagues
need to extract data from hdf files for use in other programs that can import
ASCII.  They often want a command line (batch) tool to generates files that
can easily be imported with a minimum of manual editing.

There are a number of "matrix" languages that support hdf5 and provide
flexible format controls for writing ASCII files: python, R/S+ (stats
language),
gnudatalanguage/IDL, octave/Matlab.

> My question is: what parameters should i useng in h5dump to get output
> exactly as in "Export Data to File" command ?

Is that really the ideal format for your task?

-- 
George N. White III <[email protected]>
Head of St. Margarets Bay, Nova Scotia

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to