netcdf-c/libnczarr
Dennis Heimbigner 2afbdbd18f Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute
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).
2021-02-24 13:46:11 -07:00
..
obsolete Add zip file support 2021-01-28 20:11:01 -07:00
awsincludes.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
CMakeLists.txt appveyor fix 2021-01-28 20:31:16 -07:00
Makefile.am Add zip file support 2021-01-28 20:11:01 -07:00
SimpleBinStream.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zarr.c Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
zarr.h Add zip file support 2021-01-28 20:11:01 -07:00
zattr.c Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
zcache.c Add zip file support 2021-01-28 20:11:01 -07:00
zcache.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
zchunking.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zchunking.h More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zclose.c Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
zcreate.c Add zip file support 2021-01-28 20:11:01 -07:00
zcvt.c Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
zdebug.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zdebug.h Add zip file support 2021-01-28 20:11:01 -07:00
zdim.c Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
zdispatch.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zdispatch.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
zfile.c Add zip file support 2021-01-28 20:11:01 -07:00
zfilter.c Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
zgrp.c Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
zincludes.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
zinternal.c Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
zinternal.h Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
zjson.c Add zip file support 2021-01-28 20:11:01 -07:00
zjson.h Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
zmap_file.c Add zip file support 2021-01-28 20:11:01 -07:00
zmap_s3sdk.c Add zip file support 2021-01-28 20:11:01 -07:00
zmap_zip.c Add zip file support 2021-01-28 20:11:01 -07:00
zmap.c Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
zmap.h Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
zodom.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zodom.h More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zopen.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zprov.c Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
zprovenance.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zs3sdk.cpp Add zip file support 2021-01-28 20:11:01 -07:00
zs3sdk.h Add zip file support 2021-01-28 20:11:01 -07:00
zsync.c Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
ztracedispatch.h More NCZarr optimizations 2021-01-06 13:35:59 -07:00
ztype.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zutil.c Add zip file support 2021-01-28 20:11:01 -07:00
zvar.c More NCZarr optimizations 2021-01-06 13:35:59 -07:00
zwalk.c Add zip file support 2021-01-28 20:11:01 -07:00
zxcache.c Add zip file support 2021-01-28 20:11:01 -07:00