mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-15 08:30:11 +08:00
076da97aa4
As discussed in a netcdf meeting, convert NCZarr V2 to store all netcdf-4 specific info as attributes. This improves interoperability with other Zarr implementations by no longer using non-standard keys. ## Other Changes * Remove support for older NCZarr formats. * Update anonymous dimension naming * Begin the process of fixing the -Wconversion and -Wsign-compare warnings in libnczarr, nczarr_test, and v3_nczarr_test. * Update docs/nczarr.md * Rebuild using the .y and .l files
33 lines
618 B
Plaintext
33 lines
618 B
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\": [],\"groups\": []}" ;
|
|
} // group _nczgroup
|
|
|
|
group: _nczattr {
|
|
|
|
// group attributes:
|
|
:data = "{\"types\": {\"_NCProperties\": \"2\"}}" ;
|
|
} // group _nczattr
|
|
|
|
group: _zattrs {
|
|
|
|
// group attributes:
|
|
:data = "{\"_NCProperties\": \"version=\"}" ;
|
|
} // group _zattrs
|
|
}
|