File: ref_tst_vlen_data2.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 (129 lines) | stat: -rw-r--r-- 4,923 bytes parent folder | download | duplicates (9)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
netcdf secondFile {

group: pfSystem {
  types:

   byte enum daysofWeekType { Monday = 3, Tuesday = 1, Wednesday = 7, Thursday= 9, Friday = 2 } ;
    compound pfCoilType {
      string name ;
      string turns ;
      string polarity ;
    }; // pfCoilType
    pfCoilType(*) vlen_t ;
    compound pfCircuitType {
      int id ;
      string name ;
      string description ;
      vlen_t pfCoils ;
    }; // pfCircuitType
    int(*) vlen_int ;
    vlen_int(*) vlen_int_vec
    string(*) vlen_string ;
    vlen_string(*) vlen_string_vec ;

    compound singleCompoundType {
      int scalarAtomicInt ;
      int fixedLengthVectorAtomicInt(5) ;
      string scalarString ;
      string fixedLengthVectorString(5) ;
      vlen_int vlenScalarInt ;
      vlen_int vlenInt ;
      vlen_int fixedLengthVectorVlenInt(3) ;
      vlen_int_vec vlenVlenInt ;
      vlen_string vlenScalarString ;
      vlen_string vlenString ;
      vlen_string fixedLengthVectorVlenString(3) ;
      vlen_string_vec vlenVlenString ;
      daysofWeekType daysOfWeek(10) ;
    };

    singleCompoundType(*) vlen_CompoundType;

  dimensions:
  	pfCircuitCount = 10 ;
  	vlenDim = 3 ;
        dayCount = 10 ;
  variables:
	daysofWeekType daysOfWeek(dayCount) ;
	int scalarAtomicInt;
	double scalarAtomicDouble;
	int fixedLengthVectorAtomicInt(pfCircuitCount) ;
	double fixedLengthVectorAtomicDouble(pfCircuitCount) ;
	string scalarString ;
	string fixedLengthVectorString(pfCircuitCount);
	vlen_int vlenInt, vlenScalarInt, fixedLengthVectorVlenInt(vlenDim) ;
	vlen_int_vec vlenVlenInt ;
	vlen_string vlenString,vlenScalarString, fixedLengthVectorVlenString(vlenDim) ;
	vlen_string_vec vlenVlenString ;
//	singleCompoundType singleCompound ;
//	vlen_CompoundType vlenCompound ;
  data:

   daysOfWeek = Monday, Thursday, Friday, Monday, Monday, Friday, Thursday, Thursday, Thursday, Tuesday ;
   scalarAtomicInt = 10 ;
   scalarAtomicDouble = 10.234 ;
   fixedLengthVectorAtomicInt = -1,2,-3,4,-5,6,-7,8,-9,10;
   fixedLengthVectorAtomicDouble = 1.1,2.2,3.3,4.4,5.5,6.6,7.7,8.8,9.9,10.1;
   scalarString = "This is some data" ;
   fixedLengthVectorString = "data1","data22","data333","data4444","data5","data6","data7","data8","data9","data10" ;
   vlenInt = {9,2,4,6,8,0,-3};
   vlenString = {"One", "Two", "Three", "Four", "Five", "Six", "Seven"};
   vlenScalarInt = {3967};
   vlenScalarString = {"Twenty"};
   fixedLengthVectorVlenInt =  {20,3,4,6}, {120,103,104}, {220,203};
   vlenVlenInt =  {{20,3,4,6}, {120,103,104}, {220,203}};
   fixedLengthVectorVlenString = {"One","Two","Three","Four"},{"2One","2Two"},{"4One","4Two","4Three","4Four","4Five"};
   vlenVlenString = {{"One","Two","Three","Four"},{"2One","2Two"},{"4One","4Two","4Three","4Four","4Five"}};

//   singleCompound = 
//      {13, 
//       {1,2,3,4,5},
//       "OHME",
//       {"One","Two","Three","Four","Five"},
//       {11},
//       {21,22,23},
//       {{111,112,113,114}, {121,122}, {131,132,133,134,135}},
//       {{211,212,213,214}, {221,222}, {231,232,233,234,235},{241,242,243,244,245,246,247}},
//       {"11s"},
//       {"21s","22s","23s"},
//       {{"111s","112s","113s"},{"121s","122s"},{"131s","132s","133s","134s","135s"}},
//       {{"211s","212s","213s"},{"221s","222s"},{"231s","232s","233s","234s","235s"},{"241s","242s","243s","244s","245s","246s","247s"}},
//       {Monday, Thursday, Friday, Monday, Monday, Friday, Thursday, Thursday, Thursday, Tuesday}
//       };


//   vlenCompound = 
//      {
//      {13, 
//       {1,2,3,4,5},
//       "OHME",
//       {"One","Two","Three","Four","Five"},
//       {11},
//       {21,22,23},
//       {{111,112,113,114}, {121,122}, {131,132,133,134,135}},
//       {{211,212,213,214}, {221,222}, {231,232,233,234,235},{241,242,243,244,245,246,247}},
//       {"11s"},
//       {"21s","22s","23s"},
//       {{"111s","112s","113s"},{"121s","122s"},{"131s","232s","133s","134s","135s"}},
//       {{"211s","212s","213s"},{"221s","222s"},{"231s","232s","233s","234s","235s"},{"241s","242s","243s","244s","245s","246s","247s"}},
//       {Monday, Thursday, Friday, Monday, Monday, Friday, Thursday, Thursday, Thursday, Tuesday}
//       },
//       {10, 
//       {10,20,30,40,50},
//       "OHME2",
//       {"One","Two","Three","Four","Five"},
//       {110},
//       {210,220,230},
//       {{1110,1120,1130,1140}, {1210,1220}, {1310,1320,1330,1340,1350}},
//       {{211,212,213,214}, {221,222}, {231,232,233,234,235},{241,242,243,244,245,246,247}},
//       {"110s"},
//       {"210s","220s","230s"},
//       {{"1110s","1120s","1130s"},{"1210s","1220s"},{"1310s","1320s","1330s","1340s","1350s"}},
//       {{"2110s","2120s","2130s"},{"2210s","2220s"},{"2310s","2320s","2330s","2340s","2350s"},{"2410s","2420s","2430s","2440s","2450s","2460s","2470s"}},
//       {Monday, Thursday, Friday, Monday, Monday, Friday, Thursday, Thursday, Thursday, Tuesday} 
//       }
//       };
//
  } // group pfSystem

}