netcdf-c/nczarr_test/ref_t_meta_dim1.cdl
Dennis Heimbigner 076da97aa4 Convert NCzarr meta-data to use only Zarr attributes
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
2024-06-19 18:09:29 -06:00

33 lines
629 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\": {\"dim1\": 1},\"arrays\": [],\"groups\": []}" ;
} // group _nczgroup
group: _nczattr {
// group attributes:
:data = "{\"types\": {\"_NCProperties\": \"2\"}}" ;
} // group _nczattr
group: _zattrs {
// group attributes:
:data = "{\"_NCProperties\": \"version=\"}" ;
} // group _zattrs
}