File: TEST

package info (click to toggle)
libhdf4 4.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,384 kB
  • sloc: ansic: 128,700; sh: 15,015; fortran: 12,444; java: 5,863; xml: 1,205; makefile: 794; yacc: 678; pascal: 418; perl: 360; javascript: 203; lex: 163; csh: 41
file content (65 lines) | stat: -rw-r--r-- 2,156 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65

The following commands can be used for testing.

(1)  hdp list tdata.hdf
     hdp list -l tdata.hdf
     hdp list -d tdata.hdf
     hdp list -e tdata.hdf
     hdp list -t 720 tdata.hdf
     hdp list -d -t "Numeric Data Group" tdata.hdf
     hdp list -g tdata.hdf
     hdp list -a tdata.hdf
     hdp list -a Example6.hdf
     hdp list -n Example6.hdf


(2) hdp dumpsds swf32.hdf
    hdp dumpsds -i 2 swf32.hdf
    hdp dumpsds -i 1,3 swf32.hdf
    hdp dumpsds -n Time swf32.hdf /* This command should fail with
       error message: "SD with name Time: not found"     */
    hdp dumpsds -n fakeDim0,Data-Set-2 swf32.hdf
    hdp dumpsds -r 3,2 swf32.hdf
    hdp dumpsds -r 3,2 -d swf32.hdf

(3) hdp dumprig tdf24.hdf
    hdp dumprig -i 1,2 tdf24.hdf
    hdp dumprig -i 1,3 tdf24.hdf /* '-i 3' is invalid   */
    hdp dumprig -m 24 tdf24.hdf
    hdp dumprig -r 3,4 tdf24.hdf
    hdp dumprig -r 3,4 -d tdf24.hdf

(4) hdp dumpvd tvset.hdf
    hdp dumpvd -i 1,3,5 tvset.hdf
    hdp dumpvd -r 1238,1239,1251,1252 tvset.hdf
    hdp dumpvd -n "Multi-Order Vdata" tvset.hdf
    hdp dumpvd -n "Mixed Vdata","Integer Vdata" tvset.hdf
    hdp dumpvd -c "Test object","No class specified" tvset.hdf
    hdp dumpvd -f B tvset.hdf
    hdp dumpvd -f "STATION_NAME","FLOATS" tvset.hdf
    hdp dumpvd -f "STATION_NAME","FLOATS" -d tvset.hdf

(5) hdp dumpvg tvset.hdf
    hdp dumpvg -i 0,1 tvset.hdf
    hdp dumpvg -r 3 tvset.hdf
    hdp dumpvg -n "Simple Vgroup" tvset.hdf
    hdp dumpvg -c "Test object" tvset.hdf
    hdp dumpvg -i 1,3,5 tdata.hdf
    hdp dumpvg -r 32,39 tdata.hdf
    hdp dumpvg -n nsamp,tdata.hdf tdata.hdf
    hdp dumpvg -c CDF0.0 tdata.hdf
    hdp dumpvg -c Dim0.0,Var0.0 tdata.hdf
    hdp dumpvg -c Dim0.0,Var0.0 -d tdata.hdf

(6) hdp dumpgr grtdfui82.hdf
    hdp dumpgr -i 0,1,3 grtdfui82.hdf
    hdp dumpgr -i 0 grtdfui82.hdf
    hdp dumpgr -n Image_array_5 grtdfui82.hdf
    hdp dumpgr -r 6,2,3 grtdfui82.hdf
    hdp dumpgr -r 6 -d  grtdfui82.hdf
    hdp dumpgr -o my.dat grtdfui82.hdf
    hdp dumpgr -o mybin.dat  -b grtdfui82.hdf
    hdp dumpgr grtdfui83.hdf
    hdp dumpgr grtdfui84.hdf
    hdp dumpgr grtdfui162.hdf
    hdp dumpgr grtdfi322.hdf