netcdf-c/ncdap_test
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
..
expected3 Spelling fixes 2019-09-18 08:03:01 -06:00
expectremote3 Spelling fixes 2019-09-18 08:03:01 -06:00
expecttds3 ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
nocacheremote3 ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
special3 Spelling fixes 2019-09-18 08:03:01 -06:00
testdata3 Spelling fixes 2019-09-18 08:03:01 -06:00
CMakeLists.txt Make use of clock_gettime be conditional. 2020-12-06 18:19:53 -07:00
findtestserver.c.in Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
Makefile.am Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
pingurl.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
run_ncdap_tests.sh
t_auth.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
t_dap3a.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
t_dap3b.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
t_dap3c.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
t_dap.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
t_misc.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
t_ncf330.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
t_srcdir.h ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
test_cvt.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
test_environment.c ncdump, other directories updated with copyright stanza. 2018-12-06 15:36:53 -07:00
test_nstride_cached.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
test_partvar2.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
test_partvar.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
test_vara.c Reverted changes to C files. Can't change them as that messes with the 2019-11-07 15:46:50 -07:00
test_varm3.c Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
testauth.old
testauth.sh Upgrade the nczarr code to match Zarr V2 2021-04-24 19:48:15 -06:00
testauth.sh.old
testbasicauth.sh
testcontainerauth.sh
testurl.sh Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
tst_ber.sh
tst_curlopt.sh
tst_encode.sh Additional Fixes to NCZarr 2020-12-16 20:48:02 -07:00
tst_filelists.sh
tst_fillmismatch.sh fix test cases 2021-01-07 19:37:03 -07:00
tst_formatx.sh Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
tst_longremote3.sh
tst_ncdap3.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
tst_ncdap_shared.sh
tst_ncdap.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
tst_nocache3.sh
tst_remote3.sh
tst_remote.sh Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
tst_special.sh
tst_tds.sh
tst_urls.sh Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
tst_utils.sh Modify DAP2 and DAP4 to optionally allow Fillvalue/Variable mismatch 2018-10-01 15:51:43 -06:00
tst_zero_len_var.sh Fix windows \r problem 2020-05-30 20:14:45 -06:00