mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
78 lines
2.5 KiB
Plaintext
78 lines
2.5 KiB
Plaintext
netcdf test {
|
|
types:
|
|
compound SDS_DFNT_INT32_t {
|
|
int SDS_DFNT_INT32(5) ;
|
|
int Axis_DFNT_INT32(5) ;
|
|
}; // SDS_DFNT_INT32_t
|
|
compound SDS_DFNT_UINT32_t {
|
|
uint SDS_DFNT_UINT32(3) ;
|
|
int Axis_DFNT_UINT32(3) ;
|
|
}; // SDS_DFNT_UINT32_t
|
|
compound SDS_DFNT_INT16_t {
|
|
int SDS_DFNT_INT16(5) ;
|
|
int Axis_DFNT_INT16(5) ;
|
|
}; // SDS_DFNT_INT16_t
|
|
compound SDS_DFNT_UINT16_t {
|
|
uint SDS_DFNT_UINT16(3) ;
|
|
int Axis_DFNT_UINT16(3) ;
|
|
}; // SDS_DFNT_UINT16_t
|
|
compound SDS_DFNT_INT8_t {
|
|
int SDS_DFNT_INT8(5) ;
|
|
int Axis_DFNT_INT8(5) ;
|
|
}; // SDS_DFNT_INT8_t
|
|
compound SDS_DFNT_UINT8_t {
|
|
ubyte SDS_DFNT_UINT8(3) ;
|
|
int Axis_DFNT_UINT8(3) ;
|
|
}; // SDS_DFNT_UINT8_t
|
|
compound SDS_DFNT_FLOAT32_t {
|
|
double SDS_DFNT_FLOAT32(7) ;
|
|
double Axis_DFNT_FLOAT32(7) ;
|
|
}; // SDS_DFNT_FLOAT32_t
|
|
compound SDS_DFNT_FLOAT64_t {
|
|
double SDS_DFNT_FLOAT64(7) ;
|
|
double Axis_DFNT_FLOAT64(7) ;
|
|
}; // SDS_DFNT_FLOAT64_t
|
|
compound SDS_DFNT_CHAR8_t {
|
|
ubyte SDS_DFNT_CHAR8(5) ;
|
|
ubyte Axis_DFNT_CHAR8(5) ;
|
|
}; // SDS_DFNT_CHAR8_t
|
|
compound SDS_DFNT_UCHAR8_t {
|
|
ubyte SDS_DFNT_UCHAR8(3) ;
|
|
ubyte Axis_DFNT_UCHAR8(3) ;
|
|
}; // SDS_DFNT_UCHAR8_t
|
|
variables:
|
|
SDS_DFNT_INT32_t SDS_DFNT_INT32 ;
|
|
SDS_DFNT_UINT32_t SDS_DFNT_UINT32 ;
|
|
SDS_DFNT_INT16_t SDS_DFNT_INT16 ;
|
|
SDS_DFNT_UINT16_t SDS_DFNT_UINT16 ;
|
|
SDS_DFNT_INT8_t SDS_DFNT_INT8 ;
|
|
SDS_DFNT_UINT8_t SDS_DFNT_UINT8 ;
|
|
SDS_DFNT_FLOAT32_t SDS_DFNT_FLOAT32 ;
|
|
SDS_DFNT_FLOAT64_t SDS_DFNT_FLOAT64 ;
|
|
SDS_DFNT_CHAR8_t SDS_DFNT_CHAR8 ;
|
|
SDS_DFNT_UCHAR8_t SDS_DFNT_UCHAR8 ;
|
|
data:
|
|
|
|
SDS_DFNT_INT32 = {{0, 2048, 4096, 6144, 8192}, {0, 2048, 4096, 6144, 8192}} ;
|
|
|
|
SDS_DFNT_UINT32 = {{0, 4096, 8192}, {0, 2048, 4096}} ;
|
|
|
|
SDS_DFNT_INT16 = {{0, 2048, 4096, 6144, 8192}, {0, 2048, 4096, 6144, 8192}} ;
|
|
|
|
SDS_DFNT_UINT16 = {{0, 4096, 8192}, {0, 2048, 4096}} ;
|
|
|
|
SDS_DFNT_INT8 = {{0, 2048, 4096, 6144, 8192}, {0, 2048, 4096, 6144, 8192}} ;
|
|
|
|
SDS_DFNT_UINT8 = {{0, 1, 2}, {0, 2048, 4096}} ;
|
|
|
|
SDS_DFNT_FLOAT32 =
|
|
{{1, 0.999950000416665, 0.999800006666578, 0.999550033748988, 0.999200106660978, 0.998750260394966, 0.998200539935204}, {1, 0.999950000416665, 0.999800006666578, 0.999550033748988, 0.999200106660978, 0.998750260394966, 0.998200539935204}} ;
|
|
|
|
SDS_DFNT_FLOAT64 =
|
|
{{1, 0.999950000416665, 0.999800006666578, 0.999550033748988, 0.999200106660978, 0.998750260394966, 0.998200539935204}, {1, 0.999950000416665, 0.999800006666578, 0.999550033748988, 0.999200106660978, 0.998750260394966, 0.998200539935204}} ;
|
|
|
|
SDS_DFNT_CHAR8 = {{0, 1, 2, 3, 4}, {0, 1, 2, 3, 4}} ;
|
|
|
|
SDS_DFNT_UCHAR8 = {{0, 1, 2}, {0, 1, 2}} ;
|
|
}
|