/usr/share/doc/libhdf4/examples/SD/set_attr.out_c is in libhdf4-doc 4.2r4-12build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 66 67 68 69 70 71 72 | File name: SDS.hdf
Variable Name = SDStemplate
Index = 0
Type= 32-bit signed integer
Ref. = 2
Rank = 2
Number of attributes = 1
Dim0: Name=Y_Axis
Size = 16
Type = 64-bit floating point
Number of attributes = 0
Dim1: Name=X_Axis
Size = 5
Type = 16-bit signed integer
Number of attributes = 1
Attr0: Name = Valid_range
Type = 32-bit floating point
Count= 2
Value = 2.000000 10.000000
Data :
1 2 3 4 5
2 3 4 5 6
3 4 5 6 7
4 5 6 7 8
5 6 7 8 9
6 7 8 9 10
7 8 9 10 11
8 9 10 11 12
9 10 11 12 13
10 1000 12 13 14
11 1000 13 14 15
12 13 14 15 16
13 14 15 16 17
14 15 16 17 18
15 16 17 18 19
16 17 18 19 20
Dimension Variable Name = Y_Axis
Index = 1
Type= 64-bit floating point
Ref. = 18
Rank = 1
Number of attributes = 0
Dim0: Name=Y_Axis
Size = 16
Type = 64-bit floating point
Number of attributes = 0
Data :
0.000000 0.100000 0.200000 0.300000 0.400000 0.500000
0.600000 0.700000 0.800000 0.900000 1.000000 1.100000
1.200000 1.300000 1.400000 1.500000
Dimension Variable Name = X_Axis
Index = 2
Type= 16-bit signed integer
Ref. = 20
Rank = 1
Number of attributes = 1
Dim0: Name=X_Axis
Size = 5
Type = 16-bit signed integer
Number of attributes = 1
Attr0: Name = Dim_metric
Type = 8-bit signed char
Count= 7
Value = Seconds
Data :
0 1 2 3 4
|