netcdf-c/nczarr_test/ref_ut_testmap_create.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
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
}