mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
146 lines
6.9 KiB
Plaintext
146 lines
6.9 KiB
Plaintext
netcdf test {
|
|
types:
|
|
compound Field_DFNT_INT32_t {
|
|
int Field_DFNT_INT32__0 ;
|
|
int Field_DFNT_INT32__1 ;
|
|
int Field_DFNT_INT32__2 ;
|
|
int Field_DFNT_INT32__3 ;
|
|
int Field_DFNT_INT32__4 ;
|
|
}; // Field_DFNT_INT32_t
|
|
compound Vdata_DFNT_INT32_record_t {
|
|
Field_DFNT_INT32_t Field_DFNT_INT32 ;
|
|
}; // Vdata_DFNT_INT32_record_t
|
|
Vdata_DFNT_INT32_record_t(*) Vdata_DFNT_INT32_t ;
|
|
compound Field_DFNT_UINT32_t {
|
|
uint Field_DFNT_UINT32__0 ;
|
|
uint Field_DFNT_UINT32__1 ;
|
|
uint Field_DFNT_UINT32__2 ;
|
|
}; // Field_DFNT_UINT32_t
|
|
compound Vdata_DFNT_UINT32_record_t {
|
|
Field_DFNT_UINT32_t Field_DFNT_UINT32 ;
|
|
}; // Vdata_DFNT_UINT32_record_t
|
|
Vdata_DFNT_UINT32_record_t(*) Vdata_DFNT_UINT32_t ;
|
|
compound Field_DFNT_INT16_t {
|
|
int Field_DFNT_INT16__0 ;
|
|
int Field_DFNT_INT16__1 ;
|
|
int Field_DFNT_INT16__2 ;
|
|
int Field_DFNT_INT16__3 ;
|
|
int Field_DFNT_INT16__4 ;
|
|
}; // Field_DFNT_INT16_t
|
|
compound Vdata_DFNT_INT16_record_t {
|
|
Field_DFNT_INT16_t Field_DFNT_INT16 ;
|
|
}; // Vdata_DFNT_INT16_record_t
|
|
Vdata_DFNT_INT16_record_t(*) Vdata_DFNT_INT16_t ;
|
|
compound Field_DFNT_UINT16_t {
|
|
uint Field_DFNT_UINT16__0 ;
|
|
uint Field_DFNT_UINT16__1 ;
|
|
uint Field_DFNT_UINT16__2 ;
|
|
}; // Field_DFNT_UINT16_t
|
|
compound Vdata_DFNT_UINT16_record_t {
|
|
Field_DFNT_UINT16_t Field_DFNT_UINT16 ;
|
|
}; // Vdata_DFNT_UINT16_record_t
|
|
Vdata_DFNT_UINT16_record_t(*) Vdata_DFNT_UINT16_t ;
|
|
compound Field_DFNT_INT8_t {
|
|
int Field_DFNT_INT8__0 ;
|
|
int Field_DFNT_INT8__1 ;
|
|
int Field_DFNT_INT8__2 ;
|
|
int Field_DFNT_INT8__3 ;
|
|
int Field_DFNT_INT8__4 ;
|
|
}; // Field_DFNT_INT8_t
|
|
compound Vdata_DFNT_INT8_record_t {
|
|
Field_DFNT_INT8_t Field_DFNT_INT8 ;
|
|
}; // Vdata_DFNT_INT8_record_t
|
|
Vdata_DFNT_INT8_record_t(*) Vdata_DFNT_INT8_t ;
|
|
compound Field_DFNT_UINT8_t {
|
|
ubyte Field_DFNT_UINT8__0 ;
|
|
ubyte Field_DFNT_UINT8__1 ;
|
|
ubyte Field_DFNT_UINT8__2 ;
|
|
}; // Field_DFNT_UINT8_t
|
|
compound Vdata_DFNT_UINT8_record_t {
|
|
Field_DFNT_UINT8_t Field_DFNT_UINT8 ;
|
|
}; // Vdata_DFNT_UINT8_record_t
|
|
Vdata_DFNT_UINT8_record_t(*) Vdata_DFNT_UINT8_t ;
|
|
compound Field_DFNT_FLOAT32_t {
|
|
double Field_DFNT_FLOAT32__0 ;
|
|
double Field_DFNT_FLOAT32__1 ;
|
|
double Field_DFNT_FLOAT32__2 ;
|
|
double Field_DFNT_FLOAT32__3 ;
|
|
double Field_DFNT_FLOAT32__4 ;
|
|
double Field_DFNT_FLOAT32__5 ;
|
|
double Field_DFNT_FLOAT32__6 ;
|
|
}; // Field_DFNT_FLOAT32_t
|
|
compound Vdata_DFNT_FLOAT32_record_t {
|
|
Field_DFNT_FLOAT32_t Field_DFNT_FLOAT32 ;
|
|
}; // Vdata_DFNT_FLOAT32_record_t
|
|
Vdata_DFNT_FLOAT32_record_t(*) Vdata_DFNT_FLOAT32_t ;
|
|
compound Field_DFNT_FLOAT64_t {
|
|
double Field_DFNT_FLOAT64__0 ;
|
|
double Field_DFNT_FLOAT64__1 ;
|
|
double Field_DFNT_FLOAT64__2 ;
|
|
double Field_DFNT_FLOAT64__3 ;
|
|
double Field_DFNT_FLOAT64__4 ;
|
|
double Field_DFNT_FLOAT64__5 ;
|
|
double Field_DFNT_FLOAT64__6 ;
|
|
}; // Field_DFNT_FLOAT64_t
|
|
compound Vdata_DFNT_FLOAT64_record_t {
|
|
Field_DFNT_FLOAT64_t Field_DFNT_FLOAT64 ;
|
|
}; // Vdata_DFNT_FLOAT64_record_t
|
|
Vdata_DFNT_FLOAT64_record_t(*) Vdata_DFNT_FLOAT64_t ;
|
|
compound Field_DFNT_CHAR8_t {
|
|
string Field_DFNT_CHAR8__0 ;
|
|
}; // Field_DFNT_CHAR8_t
|
|
compound Vdata_DFNT_CHAR8_record_t {
|
|
Field_DFNT_CHAR8_t Field_DFNT_CHAR8 ;
|
|
}; // Vdata_DFNT_CHAR8_record_t
|
|
Vdata_DFNT_CHAR8_record_t(*) Vdata_DFNT_CHAR8_t ;
|
|
compound Field_DFNT_UCHAR8_t {
|
|
string Field_DFNT_UCHAR8__0 ;
|
|
}; // Field_DFNT_UCHAR8_t
|
|
compound Vdata_DFNT_UCHAR8_record_t {
|
|
Field_DFNT_UCHAR8_t Field_DFNT_UCHAR8 ;
|
|
}; // Vdata_DFNT_UCHAR8_record_t
|
|
Vdata_DFNT_UCHAR8_record_t(*) Vdata_DFNT_UCHAR8_t ;
|
|
variables:
|
|
Vdata_DFNT_INT32_t Vdata_DFNT_INT32 ;
|
|
Vdata_DFNT_UINT32_t Vdata_DFNT_UINT32 ;
|
|
Vdata_DFNT_INT16_t Vdata_DFNT_INT16 ;
|
|
Vdata_DFNT_UINT16_t Vdata_DFNT_UINT16 ;
|
|
Vdata_DFNT_INT8_t Vdata_DFNT_INT8 ;
|
|
Vdata_DFNT_UINT8_t Vdata_DFNT_UINT8 ;
|
|
Vdata_DFNT_FLOAT32_t Vdata_DFNT_FLOAT32 ;
|
|
Vdata_DFNT_FLOAT64_t Vdata_DFNT_FLOAT64 ;
|
|
Vdata_DFNT_CHAR8_t Vdata_DFNT_CHAR8 ;
|
|
Vdata_DFNT_UCHAR8_t Vdata_DFNT_UCHAR8 ;
|
|
data:
|
|
|
|
Vdata_DFNT_INT32 =
|
|
{{{1, 2, 3, 5, 8}}, {{13, 21, 34, 55, 89}}, {{144, 233, 377, 610, 987}}, {{1597, 2584, 4181, 6765, 10946}}, {{17711, 28657, 46368, 75025, 121393}}} ;
|
|
|
|
Vdata_DFNT_UINT32 =
|
|
{{{0, 2, 6}}, {{12, 20, 30}}, {{42, 56, 72}}, {{90, 110, 132}}, {{156, 182, 210}}} ;
|
|
|
|
Vdata_DFNT_INT16 =
|
|
{{{196418, 317811, 514229, 832040, 1346269}}, {{2178309, 3524578, 5702887, 9227465, 14930352}}, {{24157817, 39088169, 63245986, 102334155, 165580141}}, {{267914296, 433494437, 701408733, 1134903170, 1836311903}}, {{-1323752223, 512559680, -811192543, -298632863, -1109825406}}} ;
|
|
|
|
Vdata_DFNT_UINT16 =
|
|
{{{240, 272, 306}}, {{342, 380, 420}}, {{462, 506, 552}}, {{600, 650, 702}}, {{756, 812, 870}}} ;
|
|
|
|
Vdata_DFNT_INT8 =
|
|
{{{-1408458269, 1776683621, 368225352, 2144908973, -1781832971}}, {{363076002, -1418756969, -1055680967, 1820529360, 764848393}}, {{-1709589543, -944741150, 1640636603, 695895453, -1958435240}}, {{-1262539787, 1073992269, -188547518, 885444751, 696897233}}, {{1582341984, -2015728079, -433386095, 1845853122, 1412467027}}} ;
|
|
|
|
Vdata_DFNT_UINT8 =
|
|
{{{0, 1, 2}}, {{3, 4, 5}}, {{6, 7, 8}}, {{9, 10, 11}}, {{12, 13, 14}}} ;
|
|
|
|
Vdata_DFNT_FLOAT32 =
|
|
{{{1000, 999.950000416665, 999.800006666578, 999.550033748988, 999.200106660978, 998.750260394966, 998.200539935204}}, {{997.55100025328, 996.801706302619, 995.952733011994, 995.004165278026, 993.956097956697, 992.808635853866, 991.561893714788}}, {{990.215996212637, 988.771077936042, 987.227283375627, 985.584766909561, 983.843692788121, 982.00423511727, 980.066577841242}}, {{978.030914724148, 975.897449330605, 973.666395005375, 971.33797485203, 968.912421710645, 966.389978134513, 963.770896365891}}, {{961.055438310771, 958.243875512697, 955.336489125606, 952.333569885713, 949.235418082441, 946.042343528387, 942.754665528346}}} ;
|
|
|
|
Vdata_DFNT_FLOAT64 =
|
|
{{{939.372712847379, 935.896823677935, 932.327345606034, 928.66463557651, 924.909059857313, 921.060994002885, 917.120822816605}}, {{913.088940312308, 908.965749674885, 904.751663219963, 900.447102352677, 896.052497525525, 891.568288195329, 886.994922779284}}, {{882.332858610121, 877.582561890373, 872.744507645751, 867.81917967765, 862.807070514761, 857.708681363824, 852.524522059506}}, {{847.255111013416, 841.900975162269, 836.462649915187, 830.940679100163, 825.335614909678, 819.648017845479, 813.878456662534}}, {{808.027508312152, 802.095757884292, 796.083798549056, 789.992231497365, 783.821665880849, 777.572718750928, 771.246014997106}}} ;
|
|
|
|
Vdata_DFNT_CHAR8 =
|
|
{{{"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)."}}} ;
|
|
|
|
Vdata_DFNT_UCHAR8 =
|
|
{{{"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)."}}} ;
|
|
}
|