Files
hdf5/tools/testfiles/thlink.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

160 lines
3.4 KiB
Plaintext

File name: ./testfiles/thlink.hdf
Vgroup:0
tag = 1965; reference = 2;
name = /; class = HDF5;
number of entries = 3;
number of attributes = 0
Entries:-
#0 (Numeric Data Group)
tag = 720; reference = 3;
#1 (Vgroup)
tag = 1965;reference = 5;
number of entries = 2;
name = g1; class = HDF5
number of attributes = 0
#2 (Vgroup)
tag = 1965;reference = 6;
number of entries = 1;
name = g1.1; class = HDF5
number of attributes = 0
Vgroup:1
tag = 1965; reference = 5;
name = g1; class = HDF5;
number of entries = 2;
number of attributes = 0
Entries:-
#0 (Numeric Data Group)
tag = 720; reference = 3;
#1 (Vgroup)
tag = 1965;reference = 6;
number of entries = 1;
name = g1.1; class = HDF5
number of attributes = 0
Vgroup:2
tag = 1965; reference = 6;
name = g1.1; class = HDF5;
number of entries = 1;
number of attributes = 0
Entries:-
#0 (Numeric Data Group)
tag = 720; reference = 3;
Vgroup:3
tag = 1965; reference = 8;
name = fakeDim0; class = Dim0.0;
number of entries = 1;
number of attributes = 0
Entries:-
#0 (Vdata)
tag = 1962; reference = 7;
number of records = 1; interlace = 0;
fields = [Values];
record size (in bytes) = 4;
name = fakeDim0; class = DimVal0.1;
total number of attributes = 0.
Vgroup:4
tag = 1965; reference = 10;
name = dset1; class = Var0.0;
number of entries = 5;
number of attributes = 0
Entries:-
#0 (Vgroup)
tag = 1965;reference = 8;
number of entries = 1;
name = fakeDim0; class = Dim0.0
number of attributes = 0
#1 (Scientific Data)
tag = 702; reference = 4;
#2 (Number type)
tag = 106; reference = 9;
#3 (SciData dimension record)
tag = 701; reference = 9;
#4 (Numeric Data Group)
tag = 720; reference = 3;
Vgroup:5
tag = 1965; reference = 11;
name = ./testfiles/thlink.hdf; class = CDF0.0;
number of entries = 2;
number of attributes = 0
Entries:-
#0 (Vgroup)
tag = 1965;reference = 8;
number of entries = 1;
name = fakeDim0; class = Dim0.0
number of attributes = 0
#1 (Vgroup)
tag = 1965;reference = 10;
number of entries = 5;
name = dset1; class = Var0.0
number of attributes = 0
Graphical representation of the file:-
(vg#: vgroup; vd: vdata)
vg0 -- Numeric Data Group
-- vg1 -- Numeric Data Group
-- vg2 -- Numeric Data Group
-- vg2 -- Numeric Data Group
vg1 -- Numeric Data Group
-- vg2 -- Numeric Data Group
vg2 -- Numeric Data Group
vg3 -- vd
vg4 -- vg3 -- vd
-- Scientific Data
-- Number type
-- SciData dimension record
-- Numeric Data Group
vg5 -- vg3 -- vd
-- vg4 -- vg3 -- vd
-- Scientific Data
-- Number type
-- SciData dimension record
-- Numeric Data Group
File name: ./testfiles/thlink.hdf
Vdata: 0
tag = 1962; reference = 7;
number of records = 1; interlace = 0;
fields = [Values];
record size (in bytes) = 4;
name = fakeDim0; class = DimVal0.1;
number of attributes = 0
- field index 0: [Values], type=24, order=1
number of attributes = 0
Loc. Data
0 5 ;
File name: ./testfiles/thlink.hdf
Variable Name = dset1
Index = 0
Type= 32-bit signed integer
Ref. = 3
Rank = 1
Number of attributes = 0
Dim0: Name=fakeDim0
Size = 5
Scale Type = number-type not set
Number of attributes = 0
Data :
0 1 2 3 4