netcdf-c/include
Dennis Heimbigner 74b40fd788 Upgrade the nczarr code to match Zarr V2
Re: https://github.com/zarr-developers/zarr-python/pull/716

The Zarr version 2 spec has been extended to include the ability
to choose the dimension separator in chunk name keys. The legal
separators has been extended from {'.'} to {'.' '/'}.  So now it
is possible to use a key like "0/1/2/0" for chunk names.

This PR implements this for NCZarr. The V2 spec now says that
this separator can be set on a per-variable basis. For now, I
have chosen to allow this be set only globally by adding a key
named "ZARR.DIMENSION_SEPARATOR=<char>" in the
.daprc/.dodsrc/ncrc file. Currently, the only legal separator
characters are '.' (the default) and '/'. On writing, this key
will only be written if its value is different than the default.
This change caused problems because supporting a separator of '/'
is difficult to parse when keys/paths use '/' as the path separator.
A test case was added for this.

Additionally, make nczarr be enabled default by default. This required
some additional changes so that if zip and/or AWS S3 sdk are unavailable,
then they are disabled for NCZarr.

In addition the following unrelated changes were made.

1. Tested that pure-zarr mode could read an nczarr formatted store.
1. The .rc file handling now merges all known .rc files (.ncrc,.daprc, and .dodsrc) in that order and using those in HOME first, then in current directory. For duplicate entries, the later ones override the earlier ones. This change is to remove some of the conflicts inherent in the current .rc file load process. A set of test cases was also added.
1. Re-order tests in configure.ac and CMakeLists.txt so that if libcurl
   is not found then the other options that depend upon it properly
   are disabled.
1. I decided that xarray support should be enabled by default for pure
   zarr. In order to allow disabling, I added a new mode flag "noxarray".
1. Certain test in nczarr_test depend on use of .dodsrc. In order for these
   to work when testing in parallel, some inter-test dependencies needed to
   be added.
1. Improved authorization testing to use changes in thredds.ucar.edu
2021-04-24 19:48:15 -06:00
..
.gitignore Added a new .gitignore specific to include/. 2014-09-18 15:05:08 -06:00
ceconstraints.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
CMakeLists.txt FIx install of netcdf_dispatch.h 2021-02-03 11:13:43 -07:00
err_macros.h cleanup of whitespace in include directory 2019-02-19 06:09:10 -07:00
fbits.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
hdf4dispatch.h raised NC_MAX_HDF4_NAME length to NC_MAX_NAME 2020-02-08 09:21:01 -07:00
hdf5dispatch.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
hdf5internal.h Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
isnan.h Removed unneeded code on OSX. 2020-08-26 16:29:51 -06:00
Makefile.am Corrected typo preventing success when running make dist or make distcheck 2021-03-30 14:08:00 -06:00
nc3dispatch.h final removal 2019-08-15 07:05:10 -06:00
nc3internal.h removed rest of LOCKNUMREC and _CRAYMPP obsolete macros 2019-08-14 06:53:33 -06:00
nc4dispatch.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
nc4internal.h Add support for the XArray Zarr _ARRAY_DIMENSIONS attribute 2021-02-24 13:46:11 -07:00
nc_hashmap.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
nc_logging.h Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
nc_provenance.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
nc_tests.h moved nc_def_var_szip prototype to netcdf_filter.h 2020-01-06 16:54:54 -07:00
nc.h Change (again), and hopefully simplify, the file model inference algorithm. 2019-09-29 12:59:28 -06:00
ncauth.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
ncbytes.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ncconfigure.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
nccrc.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
ncdap.h Make fillmismatch the default for DAP2 and DAP4 2021-01-07 13:17:53 -07:00
ncdimscale.h Updated to use H5O_info2_t for HDF5 1.12 and the use of H5Oget_info3 instead of H5Gget_objinfo 2020-03-12 15:50:24 +00:00
ncdispatch.h Unify definition of NC_DISPATCH_VERSION 2021-01-31 21:40:08 -07:00
ncexhash.h Make use of clock_gettime be conditional. 2020-12-06 18:19:53 -07:00
ncexternl.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncfilter.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
nchashmap.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
nchttp.h Merge branch 'master' into dispatchversion.dmh 2021-03-22 12:40:09 -06:00
ncindex.h missinginclude 2020-07-09 13:30:33 -06:00
nclist.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
nclog.h More NCZarr optimizations 2021-01-06 13:35:59 -07:00
ncmodel.h Change (again), and hopefully simplify, the file model inference algorithm. 2019-09-29 12:59:28 -06:00
ncoffsets.h Thread safety: step 1: cleanup 2019-03-30 14:06:20 -06:00
ncpathmgr.h Upgrade the nczarr code to match Zarr V2 2021-04-24 19:48:15 -06:00
ncrc.h Upgrade the nczarr code to match Zarr V2 2021-04-24 19:48:15 -06:00
nctestserver.h Add support for CURLOPT_CONNECTTIMEOUT 2020-01-09 11:48:04 -07:00
nctime.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncuri.h Codify cross-platform file paths 2021-03-04 13:41:31 -07:00
ncurlmodel.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ncutf8.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
ncxcache.h Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
netcdf_aux.h Add zip file support 2021-01-28 20:11:01 -07:00
netcdf_dispatch.h.in Unify definition of NC_DISPATCH_VERSION 2021-01-31 21:40:08 -07:00
netcdf_f.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
netcdf_filter.h Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
netcdf_mem.h cleanup netcdf_mem.h and netcdf_dispatch.h 2019-10-28 10:56:24 -06:00
netcdf_meta.h.in Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
netcdf_par.h fixed include issue 2019-12-20 07:43:39 -07:00
netcdf.h Add zip file support 2021-01-28 20:11:01 -07:00
onstack.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
rnd.h More standardizing of the copyright stanza. 2018-12-06 14:13:56 -07:00
XGetopt.h Fix undefined references when using Visual Studio 2020-05-18 19:36:28 -06:00