Error in state table - h5import tool

yesterday, I was successfully able to convert data in text file format to
hdf format using h5import tool. however, today when I tried to do the same,
I am getting an error message which goes like this;

[root@Ramanujam Desktop]# h5import infile -dims 2 4 -type TEXTFP -size 16 -o

out1
Error in state table.

Usage: h5import -h[elp], OR
        h5import <infile> -c[onfig] <configfile> [<infile> -c[config]
<configfile>...] -o[utfile] <outfile>

Program aborted.
[root@Ramanujam Desktop]#

the infile (which i created in desktop) contains floating point data, which
is given below.

10.0 21.0

11.0 22.0
12.0 23.0
13.0 24.0

i couldn´t find where the problem lies. it may be with the syntax, or with
OS (fedora 8). can you please tell me where the error is, and how to
overcome the error?

Jam, India.

···

--
The time will come when diligent research over long periods will bring to
light things which now lie hidden. A single lifetime, even though entirely
devoted to the sky, would not be enough for the investigation of so vast a
subject...And so this knowledge will be unfolded only through long
successive ages. There will come a time when our descendants will be amazed
that we did not know things that are so plain to them...Many discoveries are
reserved for ages still to come, when memory of us will have been effaced.
Our universe is a sorry little affair unless it has in it something for
every age to investigate...Nature does not reveal her mysteries once and for
all.

hello, Jam

yesterday, I was successfully able to convert data in text file format to hdf format using h5import tool. however, today when I tried to do the same, I am getting an error message which goes like this;

[root@Ramanujam Desktop]# h5import infile -dims 2 4 -type TEXTFP -size 16 -o out1
Error in state table.

Usage: h5import -h[elp], OR
       h5import <infile> -c[onfig] <configfile> [<infile> -c[config] <configfile>...] -o[utfile] <outfile>

Program aborted.
[root@Ramanujam Desktop]#

the infile (which i created in desktop) contains floating point data, which is given below.

10.0 21.0
11.0 22.0
12.0 23.0
13.0 24.0

i couldn´t find where the problem lies. it may be with the syntax, or with OS (fedora 8). can you please tell me where the error is, and how to overcome the error?

Jam, India.

try the following for configuration file

INPUT-CLASS TEXTFP
INPUT-SIZE 32
RANK 2
DIMENSION-SIZES 4 2

and then

infile -c text_float32.conf -o text_float32.h5

where text_float32.conf is the name of the above configuration file

regarding the reasons why you get that error, I'll take a look at it and will file a bug report if needed

Pedro

···

At 04:07 AM 6/4/2008, Srinivasa Ramanujam wrote:

--
The time will come when diligent research over long periods will bring to light things which now lie hidden. A single lifetime, even though entirely devoted to the sky, would not be enough for the investigation of so vast a subject...And so this knowledge will be unfolded only through long successive ages. There will come a time when our descendants will be amazed that we did not know things that are so plain to them...Many discoveries are reserved for ages still to come, when memory of us will have been effaced. Our universe is a sorry little affair unless it has in it something for every age to investigate...Nature does not reveal her mysteries once and for all.

--------------------------------------------------------------
Pedro Vicente (T) 217.265-0311
pvn@hdfgroup.org
The HDF Group. 1901 S. First. Champaign, IL 61820