Files
hdf5/tools/testfiles/tstr.dmp
Paul Harten e5376cafb4 [svn-r1172] Purpose:
New feature

Problem:
    The h5toh4 converter tester - testh5toh4, is set up to place output
    files in same directory as input files.  A difficulty comes up when
    the input files come off a write-protected media, such-as CDROM.

Solution:
    Rather than using "cd" to change directory and referencing files by
    short filename only, "input directory" and "output directory" are
    defined explicitly, and files are always referenced with pathnames
    included.  For cases when the converter generates the output filename,
    a copy of the input file is first placed in the "output directory".
    The copied input file is used by h5toh4 and then removed.

    On Solaris2.5, the following sequence of commands seemed to work fine:
    $ gunzip < hdf5-1.1.72.tar.gz | tar xf -
    $ chmod -R ugo-w hdf5-1.1.72
    $ mkdir build
    $ cd build
    $ ../hdf5-1.1.72/configure --enable-production --disable-debug \
    $   --with-hdf4=...  --with-zlib=...
    $ make check

    This change should allow the tester to be used when the hdf5 source
    is on a read only media like a CDROM.

Platform tested:
    Solaris2.5
1999-04-02 16:38:30 -05:00

105 lines
4.9 KiB
Plaintext

File name: ./testfiles/tstr.hdf
Vgroup:0
tag = 1965; reference = 2;
name = /; class = HDF5;
number of entries = 3;
number of attributes = 0
Entries:-
#0 (Vdata)
tag = 1962; reference = 3;
number of records = 20; interlace = 0;
fields = [string];
record size (in bytes) = 11;
name = string2; class = HDF5;
total number of attributes = 0.
#1 (Vdata)
tag = 1962; reference = 4;
number of records = 27; interlace = 0;
fields = [string];
record size (in bytes) = 8;
name = string3; class = HDF5;
total number of attributes = 0.
#2 (Vdata)
tag = 1962; reference = 7;
number of records = 3; interlace = 0;
fields = [string];
record size (in bytes) = 168;
name = string4; class = HDF5;
total number of attributes = 0.
Graphical representation of the file:-
(vg#: vgroup; vd: vdata)
vg0 -- vd
-- vd
-- vd
File name: ./testfiles/tstr.hdf
Vdata: 0
tag = 1962; reference = 3;
number of records = 20; interlace = 0;
fields = [string];
record size (in bytes) = 11;
name = string2; class = HDF5;
number of attributes = 0
- field index 0: [string], type=20, order=11
number of attributes = 0
Loc. Data
00 97 98 32 99 100 32 101 102 49 32 32 ; 97 98 32 99 100 32 101 102 50 32 32 ;
02 97 98 32 99 100 32 101 102 51 32 32 ; 97 98 32 99 100 32 101 102 52 32 32 ;
04 97 98 32 99 100 32 101 102 53 32 32 ; 97 98 32 99 100 32 101 102 54 32 32 ;
06 97 98 32 99 100 32 101 102 55 32 32 ; 97 98 32 99 100 32 101 102 56 32 32 ;
08 97 98 32 99 100 32 101 102 57 32 32 ; 97 98 32 99 100 32 101 102 48 32 32 ;
10 97 98 32 99 100 32 101 102 49 32 32 ; 97 98 32 99 100 32 101 102 50 32 32 ;
12 97 98 32 99 100 32 101 102 51 32 32 ; 97 98 32 99 100 32 101 102 52 32 32 ;
14 97 98 32 99 100 32 101 102 53 32 32 ; 97 98 32 99 100 32 101 102 54 32 32 ;
16 97 98 32 99 100 32 101 102 55 32 32 ; 97 98 32 99 100 32 101 102 56 32 32 ;
18 97 98 32 99 100 32 101 102 57 32 32 ; 97 98 32 99 100 32 101 102 48 32 32 ;
Vdata: 1
tag = 1962; reference = 4;
number of records = 27; interlace = 0;
fields = [string];
record size (in bytes) = 8;
name = string3; class = HDF5;
number of attributes = 0
- field index 0: [string], type=20, order=8
number of attributes = 0
Loc. Data
00 97 98 99 100 48 0 0 0 ; 97 98 99 100 49 0 0 0 ;
02 97 98 99 100 50 0 0 0 ; 97 98 99 100 51 0 0 0 ;
04 97 98 99 100 52 0 0 0 ; 97 98 99 100 53 0 0 0 ;
06 97 98 99 100 54 0 0 0 ; 97 98 99 100 55 0 0 0 ;
08 97 98 99 100 56 0 0 0 ; 97 98 99 100 57 0 0 0 ;
10 97 98 99 100 48 0 0 0 ; 97 98 99 100 49 0 0 0 ;
12 97 98 99 100 50 0 0 0 ; 97 98 99 100 51 0 0 0 ;
14 97 98 99 100 52 0 0 0 ; 97 98 99 100 53 0 0 0 ;
16 97 98 99 100 54 0 0 0 ; 97 98 99 100 55 0 0 0 ;
18 97 98 99 100 56 0 0 0 ; 97 98 99 100 57 0 0 0 ;
20 97 98 99 100 48 0 0 0 ; 97 98 99 100 49 0 0 0 ;
22 97 98 99 100 50 0 0 0 ; 97 98 99 100 51 0 0 0 ;
24 97 98 99 100 52 0 0 0 ; 97 98 99 100 53 0 0 0 ;
26 97 98 99 100 54 0 0 0 ;
Vdata: 2
tag = 1962; reference = 7;
number of records = 3; interlace = 0;
fields = [string];
record size (in bytes) = 168;
name = string4; class = HDF5;
number of attributes = 0
- field index 0: [string], type=20, order=168
number of attributes = 0
Loc. Data
0 115 49 50 51 52 53 54 55 56 57 48 49 50 51 52 53 54 55 56 57 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ;
1 115 49 50 51 52 53 54 55 56 57 48 49 50 51 52 53 54 55 56 57 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ;
2 115 49 50 51 52 53 54 55 56 57 48 49 50 51 52 53 54 55 56 57 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ;
File name: ./testfiles/tstr.hdf