mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
netcdf test {
|
|
dimensions:
|
|
Vdata = 5 ;
|
|
maxStrlen64 = 64 ;
|
|
variables:
|
|
int Vdata.dINT32.dINT32__0(Vdata) ;
|
|
int Vdata.dUINT32.dUINT32__0(Vdata) ;
|
|
int Vdata.dINT16.dINT16__0(Vdata) ;
|
|
int Vdata.dUINT16.dUINT16__0(Vdata) ;
|
|
int Vdata.dINT8.dINT8__0(Vdata) ;
|
|
byte Vdata.dUINT8.dUINT8__0(Vdata) ;
|
|
double Vdata.dFLOAT32.dFLOAT32__0(Vdata) ;
|
|
double Vdata.dFLOAT64.dFLOAT64__0(Vdata) ;
|
|
char Vdata.dCHAR8.dCHAR8__0(Vdata, maxStrlen64) ;
|
|
char Vdata.dUCHAR8.dUCHAR8__0(Vdata, maxStrlen64) ;
|
|
data:
|
|
|
|
Vdata.dINT32.dINT32__0 = 1, 5, 21, 89, 377 ;
|
|
|
|
Vdata.dUINT32.dUINT32__0 = 0, 6, 20, 42, 72 ;
|
|
|
|
Vdata.dINT16.dINT16__0 = 2, 8, 34, 144, 610 ;
|
|
|
|
Vdata.dUINT16.dUINT16__0 = 2, 12, 30, 56, 90 ;
|
|
|
|
Vdata.dINT8.dINT8__0 = 3, 13, 55, 233, 987 ;
|
|
|
|
Vdata.dUINT8.dUINT8__0 = 0, 1, 2, 3, 4 ;
|
|
|
|
Vdata.dFLOAT32.dFLOAT32__0 = 1000, 999.800006666578, 999.200106660978,
|
|
998.200539935204, 996.801706302619 ;
|
|
|
|
Vdata.dFLOAT64.dFLOAT64__0 = 999.950000416665, 999.550033748988,
|
|
998.750260394966, 997.55100025328, 995.952733011994 ;
|
|
|
|
Vdata.dCHAR8.dCHAR8__0 =
|
|
"This is a data test string (pass 0).",
|
|
"This is a data test string (pass 2).",
|
|
"This is a data test string (pass 4).",
|
|
"This is a data test string (pass 6).",
|
|
"This is a data test string (pass 8)." ;
|
|
|
|
Vdata.dUCHAR8.dUCHAR8__0 =
|
|
"This is a data test string (pass 1).",
|
|
"This is a data test string (pass 3).",
|
|
"This is a data test string (pass 5).",
|
|
"This is a data test string (pass 7).",
|
|
"This is a data test string (pass 9)." ;
|
|
}
|