mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-21 08:39:46 +08:00
30 lines
654 B
Plaintext
30 lines
654 B
Plaintext
|
netcdf test_struct_array {
|
||
|
types:
|
||
|
compound s_t {
|
||
|
int x ;
|
||
|
int y ;
|
||
|
}; // s_t
|
||
|
dimensions:
|
||
|
dx = 4 ;
|
||
|
dy = 3 ;
|
||
|
variables:
|
||
|
float z(dx) ;
|
||
|
float t(dy) ;
|
||
|
s_t s(dx, dy) ;
|
||
|
string s:_edu.ucar.maps = "/z", "/t" ;
|
||
|
|
||
|
data:
|
||
|
|
||
|
z = 0.7276533, 0.785633, 0.513679, 0.2468447 ;
|
||
|
|
||
|
t = 0.738422, 0.2148887, 0.4947984 ;
|
||
|
|
||
|
s =
|
||
|
{712320147, 1268468519}, {696298400, 989876086}, {-1927163883, -900795134},
|
||
|
{-708236713, 1377500019}, {511843988, 1699265896}, {-540214433, -914532520},
|
||
|
{-1344032615, -871416961}, {-1928735161, 935744880},
|
||
|
{-1509955773, -1707460853},
|
||
|
{1145911788, -415231529}, {-278269626, -1682978013},
|
||
|
{-1629885665, -909240754} ;
|
||
|
}
|