diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-08-07 16:19:11 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-08-07 16:19:11 (GMT) |
commit | 6c95c46fcb0497f3bcb945b0da138e04fc600ab4 (patch) | |
tree | e3493806594f51f408c950c195c9e3b023634e5e /tools/h5import/testfiles/teststr.h5 | |
parent | e2477c8d0b76325590f43be8926634f16da5f849 (diff) | |
download | hdf5-6c95c46fcb0497f3bcb945b0da138e04fc600ab4.zip hdf5-6c95c46fcb0497f3bcb945b0da138e04fc600ab4.tar.gz hdf5-6c95c46fcb0497f3bcb945b0da138e04fc600ab4.tar.bz2 |
[svn-r14039]
New feature: implementation of h5import conversion of an ASCII plain-text file containing text data
The string type H5T_C_S1 is used to define the data (the datum is defined here as one line of text in the text file). The size is set to variable length (H5T_VARIABLE)
The space used is a 1D array with as many elements as there are lines in the ASCII file (a line is defined by the inclusion of an end of line character, ASCII number 10). A first traversal of the input text file must be made to determine the number of lines in the file and thus the dimensionality of the dataset.
New test to the test script added
text input files and teststr.h5 for h5dump to compare added
Tested: windows, linux, solaris
Diffstat (limited to 'tools/h5import/testfiles/teststr.h5')
-rw-r--r-- | tools/h5import/testfiles/teststr.h5 | bin | 0 -> 10240 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tools/h5import/testfiles/teststr.h5 b/tools/h5import/testfiles/teststr.h5 Binary files differnew file mode 100644 index 0000000..ceb0810 --- /dev/null +++ b/tools/h5import/testfiles/teststr.h5 |