File: test_struct_array.cdl

package info (click to toggle)
netcdf-parallel 1%3A4.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 101,668 kB
  • sloc: ansic: 200,241; sh: 10,807; yacc: 2,522; makefile: 1,306; lex: 1,153; xml: 173; awk: 2
file content (18 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
netcdf test_struct_array {
types:
    compound c_t {
      int x ;
      int y ;
    }; // c_t
dimensions:
 dx = 4;
 dy = 3;
variables:
  c_t s(dx,dy);
data:
 s =
/*[0][0..2]*/  {1, -1}, {17, 37}, {-32767, 32767},
/*[1][0..2]*/  {-1, 3}, {-2, 2}, {-3, 1},
/*[2][0..2]*/  {-4, 12}, {-8, 8}, {-12, 4},
/*[3][0..2]*/  {-5, 15}, {-10, 10}, {-15, 5} ;
}