netcdf-c/libsrc4
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
..
CMakeLists.txt Ensure MPI header found without wrapper 2021-01-19 09:38:07 -07:00
error4.c Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
Makefile.am Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
nc4attr.c Spelling fixes 2019-09-18 08:03:01 -06:00
nc4cache.c Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
nc4dim.c cleanup of whitespace in HDF5 directory 2019-02-19 05:55:22 -07:00
nc4dispatch.c Add support for multiple filters per variable. 2020-02-16 12:59:33 -07:00
nc4filters.c Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
nc4grp.c cleanup of whitespace in libsrc4 directory 2019-02-19 05:55:36 -07:00
nc4internal.c Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
nc4type.c 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
nc4var.c Fix missing casts of var->filters 2020-10-09 21:26:29 -06:00
ncfunc.c Spelling fixes 2019-09-18 08:03:01 -06:00
ncindex.c Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00