mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
31 lines
799 B
Plaintext
31 lines
799 B
Plaintext
netcdf test {
|
|
dimensions:
|
|
unlimited = UNLIMITED ; // (0 currently)
|
|
maxStrlen64 = 64 ;
|
|
person = 3 ;
|
|
variables:
|
|
char person.name(person, maxStrlen64) ;
|
|
int person.age(person) ;
|
|
byte types.b(unlimited) ;
|
|
types.b:Description = "A test byte" ;
|
|
types.b:units = "unknown" ;
|
|
int types.i32(unlimited) ;
|
|
types.i32:Description = "A 32 bit test server int" ;
|
|
types.i32:units = "unknown" ;
|
|
int types.ui32(unlimited) ;
|
|
short types.i16(unlimited) ;
|
|
short types.ui16(unlimited) ;
|
|
float types.f32(unlimited) ;
|
|
double types.f64(unlimited) ;
|
|
char types.s(unlimited, maxStrlen64) ;
|
|
char types.u(unlimited, maxStrlen64) ;
|
|
data:
|
|
|
|
person.name =
|
|
"This is a data test string (pass 2).",
|
|
"This is a data test string (pass 3).",
|
|
"This is a data test string (pass 4)." ;
|
|
|
|
person.age = 3, 5, 8 ;
|
|
}
|