File: test_nc.cdl

package info (click to toggle)
libhdf4 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 29,892 kB
  • sloc: ansic: 128,688; sh: 14,969; fortran: 12,444; java: 5,864; xml: 1,305; makefile: 900; yacc: 678; pascal: 418; perl: 360; javascript: 203; lex: 163; csh: 41
file content (42 lines) | stat: -rw-r--r-- 952 bytes parent folder | download | duplicates (7)
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
netcdf new {
dimensions:
	x    = 2;
	y    = 3;
	time = UNLIMITED ; // (12 currently)
variables:
        float a(x,y);
	int date(time) ;
	int time(time) ;
        short b(time, y, x);
        double c(y);
// global attributes:
    :Description = "Attributes";
    :int_attr = -100, 200, -300, 400, -500;
    :float_attr = 1.f, 2.f, 3.f;
    :short_attr = 0s, 1s;
    :double_attr = -1.d, 2.d, -7.d;

data:
 a = 1.0, 2.0, 3.0, 4.0, 5.0, 6.0;

 date = 840116, 840214, 840316, 840415, 840516, 840615, 840716, 840816, 
    840915, 841016, 841115, 841216 ;

 time = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ;
  
 b = 1, 1, 2, 2, 3, 3,
     4, 4, 5, 5, 6, 6,
     7, 7, 8, 8, 9, 9,
    10, 10, 11, 11, 12, 12,
    13, 13, 14, 14, 15, 15,
    16, 16, 17, 17, 18, 18,
    19, 19, 20, 20, 21, 22,
    23, 23, 24, 24, 25, 25,
    26, 26, 27, 27, 28, 28,
    29, 29, 30, 30, 31, 31,
    32, 32, 33, 33, 34, 34,
    35, 35, 36, 36, 37, 37 ;
 
 c = 2.d, 3.d, 100.d;

}