mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
06d2fe5b13
As suggested by Ward, I ensured that this PR supports read backward compatibility with old key format. This addition also adds a test case for this. ## Misc. Other Changes * Remove some unused code * Cleanup json error handling * Fix some more unsigned/signed conversions warning
28 lines
909 B
Plaintext
28 lines
909 B
Plaintext
netcdf zarr_test_data {
|
|
dimensions:
|
|
_Anonymous_Dim_20 = 20 ;
|
|
|
|
group: group_with_attrs {
|
|
variables:
|
|
int F_order_array(_Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
F_order_array:bar = "apples" ;
|
|
F_order_array:baz = 1, 2, 3, 4 ;
|
|
F_order_array:foo = 42 ;
|
|
short nested(_Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
float partial_fill1(_Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
float partial_fill2(_Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
float uninitialized(_Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
|
|
// group attributes:
|
|
:group_attr = "foo" ;
|
|
} // group group_with_attrs
|
|
|
|
group: group_with_dims {
|
|
variables:
|
|
int var1D(_Anonymous_Dim_20) ;
|
|
int var2D(_Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
int var3D(_Anonymous_Dim_20, _Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
int var4D(_Anonymous_Dim_20, _Anonymous_Dim_20, _Anonymous_Dim_20, _Anonymous_Dim_20) ;
|
|
} // group group_with_dims
|
|
}
|