mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +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
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
netcdf testmeta {
|
|
|
|
group: _nczarr {
|
|
|
|
// group attributes:
|
|
:data = "{\"zarr_format\": 2,\"nczarr_version\": \"1.0.0\"}" ;
|
|
} // group _nczarr
|
|
|
|
group: _zgroup {
|
|
|
|
// group attributes:
|
|
:data = "{\"zarr_format\": 2}" ;
|
|
} // group _zgroup
|
|
|
|
group: _nczgroup {
|
|
|
|
// group attributes:
|
|
:data = "{\"dimensions\": {},\"arrays\": [\"var1\"],\"groups\": []}" ;
|
|
} // group _nczgroup
|
|
|
|
group: _nczattr {
|
|
|
|
// group attributes:
|
|
:data = "{\"types\": {\"_NCProperties\": \"2\"}}" ;
|
|
} // group _nczattr
|
|
|
|
group: _zattrs {
|
|
|
|
// group attributes:
|
|
:data = "{\"_NCProperties\": \"version=\"}" ;
|
|
} // group _zattrs
|
|
|
|
group: var1 {
|
|
|
|
group: _zarray {
|
|
|
|
// group attributes:
|
|
:data = "{\"zarr_format\": 2,\"shape\": [],\"dtype\": \"<i4\",\"chunks\": [],\"fill_value\": -2147483647,\"order\": \"C\",\"compressor\": null,\"filters\": null}" ;
|
|
} // group _zarray
|
|
|
|
group: _nczvar {
|
|
|
|
// group attributes:
|
|
:data = "{\"dimension_references\": [],\"contiguous\": true}" ;
|
|
} // group _nczvar
|
|
} // group var1
|
|
}
|