mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-11 16:40:36 +08:00
The XArray implementation that uses Zarr for storage provides a mechanism to simulate named dimensions. It does this by adding a per-variable attribute called _ARRAY_DIMENSIONS. This attribute contains a list of names to be matched against the shape values of the variable. In effect a named dimension is created with the name _ARRAY_DIMENSIONS(i) and length shape(i) for all i in range 0..rank(variable). Both read and write support is provided. This XArray support is only invoked if the mode value of "xarray" is defined. So for example, as in this URL. ```` https://s3.us-west-1.amazonaws.com/bucket/dataset#mode=nczarr,xarray,s3 ```` Note that the "xarray" mode flag also implies mode flag "zarr", so the above is equivalent to this URL. ```` https://s3.us-west-1.amazonaws.com/bucket/dataset#mode=nczarr,zarr,xarray,s3 ```` The primary change to implement this was to unify the handling of dimension references in libnczarr/zsync. A test for this and other pure-zarr features was added as nczarr_test/run_purezarr.sh Other changes: * Make sure distcheck leaves no files around. * Change the special attribute flag DIMSCALEFLAG to HIDDENATTRFLAG to support the xarray attribute. * Annotate the zmap implementations with feature flags such as WRITEONCE (for zip files). |
||
---|---|---|
.. | ||
obsolete | ||
awsincludes.h | ||
CMakeLists.txt | ||
Makefile.am | ||
SimpleBinStream.h | ||
zarr.c | ||
zarr.h | ||
zattr.c | ||
zcache.c | ||
zcache.h | ||
zchunking.c | ||
zchunking.h | ||
zclose.c | ||
zcreate.c | ||
zcvt.c | ||
zdebug.c | ||
zdebug.h | ||
zdim.c | ||
zdispatch.c | ||
zdispatch.h | ||
zfile.c | ||
zfilter.c | ||
zgrp.c | ||
zincludes.h | ||
zinternal.c | ||
zinternal.h | ||
zjson.c | ||
zjson.h | ||
zmap_file.c | ||
zmap_s3sdk.c | ||
zmap_zip.c | ||
zmap.c | ||
zmap.h | ||
zodom.c | ||
zodom.h | ||
zopen.c | ||
zprov.c | ||
zprovenance.h | ||
zs3sdk.cpp | ||
zs3sdk.h | ||
zsync.c | ||
ztracedispatch.h | ||
ztype.c | ||
zutil.c | ||
zvar.c | ||
zwalk.c | ||
zxcache.c |