1netcdf test {
2dimensions:
3	len_string = 33 ;
4	len_line = 81 ;
5	four = 4 ;
6	time_step = UNLIMITED ; // (10 currently)
7	len_name = 33 ;
8	num_dim = 3 ;
9	num_nodes = 26 ;
10	num_elem = 5 ;
11	num_el_blk = 5 ;
12	num_node_sets = 2 ;
13	num_side_sets = 5 ;
14	num_el_in_blk1 = 1 ;
15	num_nod_per_el1 = 4 ;
16	num_att_in_blk1 = 1 ;
17	num_el_in_blk2 = 1 ;
18	num_nod_per_el2 = 4 ;
19	num_att_in_blk2 = 1 ;
20	num_el_in_blk3 = 1 ;
21	num_nod_per_el3 = 8 ;
22	num_att_in_blk3 = 1 ;
23	num_el_in_blk4 = 1 ;
24	num_nod_per_el4 = 4 ;
25	num_att_in_blk4 = 1 ;
26	num_el_in_blk5 = 1 ;
27	num_nod_per_el5 = 6 ;
28	num_att_in_blk5 = 1 ;
29	num_nod_ns1 = 5 ;
30	num_nod_ns2 = 3 ;
31	num_side_ss1 = 2 ;
32	num_df_ss1 = 4 ;
33	num_side_ss2 = 2 ;
34	num_df_ss2 = 4 ;
35	num_side_ss3 = 7 ;
36	num_side_ss4 = 4 ;
37	num_side_ss5 = 5 ;
38	num_qa_rec = 2 ;
39	num_info = 3 ;
40	num_glo_var = 1 ;
41	num_nod_var = 2 ;
42	num_elem_var = 3 ;
43variables:
44	float time_whole(time_step) ;
45	int eb_status(num_el_blk) ;
46	int eb_prop1(num_el_blk) ;
47		eb_prop1:name = "ID" ;
48	int ns_status(num_node_sets) ;
49	int ns_prop1(num_node_sets) ;
50		ns_prop1:name = "ID" ;
51	int ss_status(num_side_sets) ;
52	int ss_prop1(num_side_sets) ;
53		ss_prop1:name = "ID" ;
54	float coordx(num_nodes) ;
55	float coordy(num_nodes) ;
56	float coordz(num_nodes) ;
57	char eb_names(num_el_blk, len_name) ;
58	char ns_names(num_node_sets, len_name) ;
59	char ss_names(num_side_sets, len_name) ;
60	char coor_names(num_dim, len_name) ;
61	int elem_map(num_elem) ;
62	float attrib1(num_el_in_blk1, num_att_in_blk1) ;
63	char attrib_name1(num_att_in_blk1, len_name) ;
64	int connect1(num_el_in_blk1, num_nod_per_el1) ;
65		connect1:elem_type = "quad" ;
66	float attrib2(num_el_in_blk2, num_att_in_blk2) ;
67	char attrib_name2(num_att_in_blk2, len_name) ;
68	int connect2(num_el_in_blk2, num_nod_per_el2) ;
69		connect2:elem_type = "quad" ;
70	float attrib3(num_el_in_blk3, num_att_in_blk3) ;
71	char attrib_name3(num_att_in_blk3, len_name) ;
72	int connect3(num_el_in_blk3, num_nod_per_el3) ;
73		connect3:elem_type = "hex" ;
74	float attrib4(num_el_in_blk4, num_att_in_blk4) ;
75	char attrib_name4(num_att_in_blk4, len_name) ;
76	int connect4(num_el_in_blk4, num_nod_per_el4) ;
77		connect4:elem_type = "tetra" ;
78	float attrib5(num_el_in_blk5, num_att_in_blk5) ;
79	char attrib_name5(num_att_in_blk5, len_name) ;
80	int connect5(num_el_in_blk5, num_nod_per_el5) ;
81		connect5:elem_type = "wedge" ;
82	int eb_prop2(num_el_blk) ;
83		eb_prop2:_FillValue = 0 ;
84		eb_prop2:name = "MATL" ;
85	int eb_prop3(num_el_blk) ;
86		eb_prop3:_FillValue = 0 ;
87		eb_prop3:name = "DENSITY" ;
88	int node_ns1(num_nod_ns1) ;
89	float dist_fact_ns1(num_nod_ns1) ;
90	int node_ns2(num_nod_ns2) ;
91	float dist_fact_ns2(num_nod_ns2) ;
92	int ns_prop2(num_node_sets) ;
93		ns_prop2:_FillValue = 0 ;
94		ns_prop2:name = "FACE" ;
95	int ns_prop3(num_node_sets) ;
96		ns_prop3:name = "VELOCITY" ;
97	int elem_ss1(num_side_ss1) ;
98	int side_ss1(num_side_ss1) ;
99	float dist_fact_ss1(num_df_ss1) ;
100	int elem_ss2(num_side_ss2) ;
101	int side_ss2(num_side_ss2) ;
102	float dist_fact_ss2(num_df_ss2) ;
103	int elem_ss3(num_side_ss3) ;
104	int side_ss3(num_side_ss3) ;
105	int elem_ss4(num_side_ss4) ;
106	int side_ss4(num_side_ss4) ;
107	int elem_ss5(num_side_ss5) ;
108	int side_ss5(num_side_ss5) ;
109	int ss_prop2(num_side_sets) ;
110		ss_prop2:_FillValue = 0 ;
111		ss_prop2:name = "COLOR" ;
112	char qa_records(num_qa_rec, four, len_string) ;
113	char info_records(num_info, len_line) ;
114	char name_glo_var(num_glo_var, len_name) ;
115	float vals_glo_var(time_step, num_glo_var) ;
116	float vals_nod_var1(time_step, num_nodes) ;
117	float vals_nod_var2(time_step, num_nodes) ;
118	char name_nod_var(num_nod_var, len_name) ;
119	char name_elem_var(num_elem_var, len_name) ;
120	float vals_elem_var1eb1(time_step, num_el_in_blk1) ;
121	float vals_elem_var2eb1(time_step, num_el_in_blk1) ;
122	float vals_elem_var3eb1(time_step, num_el_in_blk1) ;
123	float vals_elem_var1eb2(time_step, num_el_in_blk2) ;
124	float vals_elem_var2eb2(time_step, num_el_in_blk2) ;
125	float vals_elem_var3eb2(time_step, num_el_in_blk2) ;
126	float vals_elem_var1eb3(time_step, num_el_in_blk3) ;
127	float vals_elem_var2eb3(time_step, num_el_in_blk3) ;
128	float vals_elem_var3eb3(time_step, num_el_in_blk3) ;
129	float vals_elem_var1eb4(time_step, num_el_in_blk4) ;
130	float vals_elem_var2eb4(time_step, num_el_in_blk4) ;
131	float vals_elem_var3eb4(time_step, num_el_in_blk4) ;
132	float vals_elem_var1eb5(time_step, num_el_in_blk5) ;
133	float vals_elem_var2eb5(time_step, num_el_in_blk5) ;
134	float vals_elem_var3eb5(time_step, num_el_in_blk5) ;
135	int elem_var_tab(num_el_blk, num_elem_var) ;
136
137// global attributes:
138		:floating_point_word_size = 4 ;
139		:file_size = 1 ;
140		:int64_status = 0 ;
141		:title = "This is test 2" ;
142		:maximum_name_length = 32 ;
143data:
144
145 time_whole = 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.1 ;
146
147 eb_status = 1, 1, 1, 1, 1 ;
148
149 eb_prop1 = 10, 11, 12, 13, 14 ;
150
151 ns_status = 1, 1 ;
152
153 ns_prop1 = 20, 21 ;
154
155 ss_status = 1, 1, 1, 1, 1 ;
156
157 ss_prop1 = 30, 31, 32, 33, 34 ;
158
159 coordx = 0, 1, 1, 0, 1, 2, 2, 1, 0, 10, 10, 1, 1, 10, 10, 1, 0, 1, 10, 7, 3,
160    6, 0, 3, 6, 0 ;
161
162 coordy = 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 10, 10, 10, 10, 0, 0, 0, 5, 0,
163    0, 0, 2, 2, 2 ;
164
165 coordz = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, -10, 0, 0, -10, -10, 0, 5, 2, 3,
166    6, 0, 0, 6, 2, 0 ;
167
168 eb_names =
169  "",
170  "",
171  "",
172  "",
173  "" ;
174
175 ns_names =
176  "",
177  "" ;
178
179 ss_names =
180  "",
181  "",
182  "",
183  "",
184  "" ;
185
186 coor_names =
187  "xcoor",
188  "ycoor",
189  "zcoor" ;
190
191 elem_map = 1, 2, 3, 4, 5 ;
192
193 attrib1 =
194  3.1416 ;
195
196 attrib_name1 =
197  "" ;
198
199 connect1 =
200  1, 2, 3, 4 ;
201
202 attrib2 =
203  6.1416 ;
204
205 attrib_name2 =
206  "" ;
207
208 connect2 =
209  5, 6, 7, 8 ;
210
211 attrib3 =
212  6.1416 ;
213
214 attrib_name3 =
215  "" ;
216
217 connect3 =
218  9, 10, 11, 12, 13, 14, 15, 16 ;
219
220 attrib4 =
221  6.1416 ;
222
223 attrib_name4 =
224  "" ;
225
226 connect4 =
227  17, 18, 19, 20 ;
228
229 attrib5 =
230  6.1416 ;
231
232 attrib_name5 =
233  "" ;
234
235 connect5 =
236  21, 22, 23, 24, 25, 26 ;
237
238 eb_prop2 = 10, 20, 30, 40, 50 ;
239
240 eb_prop3 = _, _, _, _, _ ;
241
242 node_ns1 = 100, 101, 102, 103, 104 ;
243
244 dist_fact_ns1 = 1, 2, 3, 4, 5 ;
245
246 node_ns2 = 200, 201, 202 ;
247
248 dist_fact_ns2 = 1.1, 2.1, 3.1 ;
249
250 ns_prop2 = 4, 5 ;
251
252 ns_prop3 = 1000, 2000 ;
253
254 elem_ss1 = 2, 2 ;
255
256 side_ss1 = 4, 2 ;
257
258 dist_fact_ss1 = 30, 30.1, 30.2, 30.3 ;
259
260 elem_ss2 = 1, 2 ;
261
262 side_ss2 = 2, 3 ;
263
264 dist_fact_ss2 = 31, 31.1, 31.2, 31.3 ;
265
266 elem_ss3 = 3, 3, 3, 3, 3, 3, 3 ;
267
268 side_ss3 = 5, 3, 3, 2, 4, 1, 6 ;
269
270 elem_ss4 = 4, 4, 4, 4 ;
271
272 side_ss4 = 1, 2, 3, 4 ;
273
274 elem_ss5 = 5, 5, 5, 5, 5 ;
275
276 side_ss5 = 1, 2, 3, 4, 5 ;
277
278 ss_prop2 = 100, 101, _, _, _ ;
279
280 qa_records =
281  "testwt2",
282  "07/07/93",
283  "15:41:33",
284  "FASTQ",
285  "fastq",
286  "07/07/93",
287  "16:41:33" ;
288
289 info_records =
290  "This is the first information record.",
291  "This is the second information record.",
292  "This is the third information record." ;
293
294 name_glo_var =
295  "glo_vars" ;
296
297 vals_glo_var =
298  0.02,
299  0.04,
300  0.06,
301  0.08,
302  0.1,
303  0.12,
304  0.14,
305  0.16,
306  0.18,
307  0.2 ;
308
309 vals_nod_var1 =
310  1.01, 1.02, 1.03, 1.04, 1.05, 1.06, 1.07, 1.08, 1.09, 1.1, 1.11, 1.12,
311    1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.2, 1.21, 1.22, 1.23, 1.24,
312    1.25, 1.26,
313  1.02, 1.04, 1.06, 1.08, 1.1, 1.12, 1.14, 1.16, 1.18, 1.2, 1.22, 1.24, 1.26,
314    1.28, 1.3, 1.32, 1.34, 1.36, 1.38, 1.4, 1.42, 1.44, 1.46, 1.48, 1.5, 1.52,
315  1.03, 1.06, 1.09, 1.12, 1.15, 1.18, 1.21, 1.24, 1.27, 1.3, 1.33, 1.36,
316    1.39, 1.42, 1.45, 1.48, 1.51, 1.54, 1.57, 1.6, 1.63, 1.66, 1.69, 1.72,
317    1.75, 1.78,
318  1.04, 1.08, 1.12, 1.16, 1.2, 1.24, 1.28, 1.32, 1.36, 1.4, 1.44, 1.48, 1.52,
319    1.56, 1.6, 1.64, 1.68, 1.72, 1.76, 1.8, 1.84, 1.88, 1.92, 1.96, 2, 2.04,
320  1.05, 1.1, 1.15, 1.2, 1.25, 1.3, 1.35, 1.4, 1.45, 1.5, 1.55, 1.6, 1.65,
321    1.7, 1.75, 1.8, 1.85, 1.9, 1.95, 2, 2.05, 2.1, 2.15, 2.2, 2.25, 2.3,
322  1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78,
323    1.84, 1.9, 1.96, 2.02, 2.08, 2.14, 2.2, 2.26, 2.32, 2.38, 2.44, 2.5, 2.56,
324  1.07, 1.14, 1.21, 1.28, 1.35, 1.42, 1.49, 1.56, 1.63, 1.7, 1.77, 1.84,
325    1.91, 1.98, 2.05, 2.12, 2.19, 2.26, 2.33, 2.4, 2.47, 2.54, 2.61, 2.68,
326    2.75, 2.82,
327  1.08, 1.16, 1.24, 1.32, 1.4, 1.48, 1.56, 1.64, 1.72, 1.8, 1.88, 1.96, 2.04,
328    2.12, 2.2, 2.28, 2.36, 2.44, 2.52, 2.6, 2.68, 2.76, 2.84, 2.92, 3, 3.08,
329  1.09, 1.18, 1.27, 1.36, 1.45, 1.54, 1.63, 1.72, 1.81, 1.9, 1.99, 2.08,
330    2.17, 2.26, 2.35, 2.44, 2.53, 2.62, 2.71, 2.8, 2.89, 2.98, 3.07, 3.16,
331    3.25, 3.34,
332  1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2.1, 2.2, 2.3, 2.4, 2.5,
333    2.6, 2.7, 2.8, 2.9, 3, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6 ;
334
335 vals_nod_var2 =
336  2.01, 2.02, 2.03, 2.04, 2.05, 2.06, 2.07, 2.08, 2.09, 2.1, 2.11, 2.12,
337    2.13, 2.14, 2.15, 2.16, 2.17, 2.18, 2.19, 2.2, 2.21, 2.22, 2.23, 2.24,
338    2.25, 2.26,
339  2.02, 2.04, 2.06, 2.08, 2.1, 2.12, 2.14, 2.16, 2.18, 2.2, 2.22, 2.24, 2.26,
340    2.28, 2.3, 2.32, 2.34, 2.36, 2.38, 2.4, 2.42, 2.44, 2.46, 2.48, 2.5, 2.52,
341  2.03, 2.06, 2.09, 2.12, 2.15, 2.18, 2.21, 2.24, 2.27, 2.3, 2.33, 2.36,
342    2.39, 2.42, 2.45, 2.48, 2.51, 2.54, 2.57, 2.6, 2.63, 2.66, 2.69, 2.72,
343    2.75, 2.78,
344  2.04, 2.08, 2.12, 2.16, 2.2, 2.24, 2.28, 2.32, 2.36, 2.4, 2.44, 2.48, 2.52,
345    2.56, 2.6, 2.64, 2.68, 2.72, 2.76, 2.8, 2.84, 2.88, 2.92, 2.96, 3, 3.04,
346  2.05, 2.1, 2.15, 2.2, 2.25, 2.3, 2.35, 2.4, 2.45, 2.5, 2.55, 2.6, 2.65,
347    2.7, 2.75, 2.8, 2.85, 2.9, 2.95, 3, 3.05, 3.1, 3.15, 3.2, 3.25, 3.3,
348  2.06, 2.12, 2.18, 2.24, 2.3, 2.36, 2.42, 2.48, 2.54, 2.6, 2.66, 2.72, 2.78,
349    2.84, 2.9, 2.96, 3.02, 3.08, 3.14, 3.2, 3.26, 3.32, 3.38, 3.44, 3.5, 3.56,
350  2.07, 2.14, 2.21, 2.28, 2.35, 2.42, 2.49, 2.56, 2.63, 2.7, 2.77, 2.84,
351    2.91, 2.98, 3.05, 3.12, 3.19, 3.26, 3.33, 3.4, 3.47, 3.54, 3.61, 3.68,
352    3.75, 3.82,
353  2.08, 2.16, 2.24, 2.32, 2.4, 2.48, 2.56, 2.64, 2.72, 2.8, 2.88, 2.96, 3.04,
354    3.12, 3.2, 3.28, 3.36, 3.44, 3.52, 3.6, 3.68, 3.76, 3.84, 3.92, 4, 4.08,
355  2.09, 2.18, 2.27, 2.36, 2.45, 2.54, 2.63, 2.72, 2.81, 2.9, 2.99, 3.08,
356    3.17, 3.26, 3.35, 3.44, 3.53, 3.62, 3.71, 3.8, 3.89, 3.98, 4.07, 4.16,
357    4.25, 4.34,
358  2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3, 3.1, 3.2, 3.3, 3.4, 3.5,
359    3.6, 3.7, 3.8, 3.9, 4, 4.1, 4.2, 4.3, 4.4, 4.5, 4.6 ;
360
361 name_nod_var =
362  "nod_var0",
363  "nod_var1" ;
364
365 name_elem_var =
366  "ele_var0",
367  "ele_var1",
368  "ele_var2" ;
369
370 vals_elem_var1eb1 =
371  4.01,
372  4.02,
373  4.03,
374  4.04,
375  4.05,
376  4.06,
377  4.07,
378  4.08,
379  4.09,
380  4.1 ;
381
382 vals_elem_var2eb1 =
383  5.01,
384  5.02,
385  5.03,
386  5.04,
387  5.05,
388  5.06,
389  5.07,
390  5.08,
391  5.09,
392  5.1 ;
393
394 vals_elem_var3eb1 =
395  6.01,
396  6.02,
397  6.03,
398  6.04,
399  6.05,
400  6.06,
401  6.07,
402  6.08,
403  6.09,
404  6.1 ;
405
406 vals_elem_var1eb2 =
407  5.01,
408  5.02,
409  5.03,
410  5.04,
411  5.05,
412  5.06,
413  5.07,
414  5.08,
415  5.09,
416  5.1 ;
417
418 vals_elem_var2eb2 =
419  6.01,
420  6.02,
421  6.03,
422  6.04,
423  6.05,
424  6.06,
425  6.07,
426  6.08,
427  6.09,
428  6.1 ;
429
430 vals_elem_var3eb2 =
431  7.01,
432  7.02,
433  7.03,
434  7.04,
435  7.05,
436  7.06,
437  7.07,
438  7.08,
439  7.09,
440  7.1 ;
441
442 vals_elem_var1eb3 =
443  6.01,
444  6.02,
445  6.03,
446  6.04,
447  6.05,
448  6.06,
449  6.07,
450  6.08,
451  6.09,
452  6.1 ;
453
454 vals_elem_var2eb3 =
455  7.01,
456  7.02,
457  7.03,
458  7.04,
459  7.05,
460  7.06,
461  7.07,
462  7.08,
463  7.09,
464  7.1 ;
465
466 vals_elem_var3eb3 =
467  8.01,
468  8.02,
469  8.03,
470  8.04,
471  8.05,
472  8.06,
473  8.07,
474  8.08,
475  8.09,
476  8.1 ;
477
478 vals_elem_var1eb4 =
479  7.01,
480  7.02,
481  7.03,
482  7.04,
483  7.05,
484  7.06,
485  7.07,
486  7.08,
487  7.09,
488  7.1 ;
489
490 vals_elem_var2eb4 =
491  8.01,
492  8.02,
493  8.03,
494  8.04,
495  8.05,
496  8.06,
497  8.07,
498  8.08,
499  8.09,
500  8.1 ;
501
502 vals_elem_var3eb4 =
503  9.01,
504  9.02,
505  9.03,
506  9.04,
507  9.05,
508  9.06,
509  9.07,
510  9.08,
511  9.09,
512  9.1 ;
513
514 vals_elem_var1eb5 =
515  8.01,
516  8.02,
517  8.03,
518  8.04,
519  8.05,
520  8.06,
521  8.07,
522  8.08,
523  8.09,
524  8.1 ;
525
526 vals_elem_var2eb5 =
527  9.01,
528  9.02,
529  9.03,
530  9.04,
531  9.05,
532  9.06,
533  9.07,
534  9.08,
535  9.09,
536  9.1 ;
537
538 vals_elem_var3eb5 =
539  10.01,
540  10.02,
541  10.03,
542  10.04,
543  10.05,
544  10.06,
545  10.07,
546  10.08,
547  10.09,
548  10.1 ;
549
550 elem_var_tab =
551  1, 1, 1,
552  1, 1, 1,
553  1, 1, 1,
554  1, 1, 1,
555  1, 1, 1 ;
556}
557