mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
66 lines
1.8 KiB
Plaintext
66 lines
1.8 KiB
Plaintext
netcdf test {
|
|
dimensions:
|
|
maxStrlen64 = 64 ;
|
|
types.b_0 = 10 ;
|
|
types.f32_0 = 10 ;
|
|
types.f64_0 = 10 ;
|
|
types.i16_0 = 10 ;
|
|
types.i32_0 = 10 ;
|
|
types.s_0 = 10 ;
|
|
types.u_0 = 10 ;
|
|
types.ui16_0 = 10 ;
|
|
types.ui32_0 = 10 ;
|
|
variables:
|
|
byte types.b(types.b_0) ;
|
|
int types.i32(types.i32_0) ;
|
|
int types.ui32(types.ui32_0) ;
|
|
short types.i16(types.i16_0) ;
|
|
short types.ui16(types.ui16_0) ;
|
|
float types.f32(types.f32_0) ;
|
|
double types.f64(types.f64_0) ;
|
|
char types.s(types.s_0, maxStrlen64) ;
|
|
char types.u(types.u_0, maxStrlen64) ;
|
|
data:
|
|
|
|
types.b = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ;
|
|
|
|
types.i32 = 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 ;
|
|
|
|
types.ui32 = 0, 2, 6, 12, 20, 30, 42, 56, 72, 90 ;
|
|
|
|
types.i16 = 0, 16, 32, 48, 64, 80, 96, 112, 128, 144 ;
|
|
|
|
types.ui16 = 0, -16, -32, -48, -64, -80, -96, -112, -128, -144 ;
|
|
|
|
types.f32 = 0, 0.9999833, 1.999867, 2.99955, 3.998933, 4.997917, 5.996401,
|
|
6.994285, 7.991469, 8.987855 ;
|
|
|
|
types.f64 = 1000, 999.950000416665, 999.800006666578, 999.550033748988,
|
|
999.200106660978, 998.750260394966, 998.200539935204, 997.55100025328,
|
|
996.801706302619, 995.952733011994 ;
|
|
|
|
types.s =
|
|
"This is a data test string (pass 0).",
|
|
"This is a data test string (pass 1).",
|
|
"This is a data test string (pass 2).",
|
|
"This is a data test string (pass 3).",
|
|
"This is a data test string (pass 4).",
|
|
"This is a data test string (pass 5).",
|
|
"This is a data test string (pass 6).",
|
|
"This is a data test string (pass 7).",
|
|
"This is a data test string (pass 8).",
|
|
"This is a data test string (pass 9)." ;
|
|
|
|
types.u =
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org",
|
|
"http://www.dods.org" ;
|
|
}
|