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

46 lines
837 B
Plaintext

netcdf tmp_groups_regular {
dimensions:
_Anonymous_Dim_3 = 3 ;
_Anonymous_Dim_2 = 2 ;
_Anonymous_Dim_10 = 10 ;
// global attributes:
:_Format = "netCDF-4" ;
group: MyGroup {
variables:
int dset1(_Anonymous_Dim_3, _Anonymous_Dim_3) ;
dset1:_Storage = "chunked" ;
dset1:_ChunkSizes = 3, 3 ;
dset1:_NoFill = "true" ;
// group attributes:
data:
dset1 =
1, 2, 3,
1, 2, 3,
1, 2, 3 ;
group: Group_A {
variables:
int dset2(_Anonymous_Dim_2, _Anonymous_Dim_10) ;
dset2:_Storage = "chunked" ;
dset2:_ChunkSizes = 2, 10 ;
dset2:_NoFill = "true" ;
// group attributes:
data:
dset2 =
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ;
} // group Group_A
group: Group_B {
// group attributes:
} // group Group_B
} // group MyGroup
}