netcdf-c/ncdap_test
Dennis Heimbigner 2ea1cf5f1b There was a request to extend the provenance information
stored in the _NCProperties attribute to allow two things:
1. capture of additional library dependencies (over and above
   hdf5)
2. Recognition of non-netcdf libraries that create netcdf-4 format
   files.

To this end, the _NCProperties format has been extended to be
and arbitrary set of key=value pairs separated by commas.
This new format has version = 2, and uses commas as the pair separator.
Thus the general form is:
    _NCProperties = "version=2,key1=value,key2=value2..." ;

This new version is accompanied by a new ./configure option of the form
    --with-ncproperties="key1=value1,key2=value2..."
that specifies pairs to add to the _NCProperties attribute for all
files created with that netcdf library.

At this point, what is missing is some programmatic way to
specify either all the pairs or additional pairs
to the _NCProperties attribute. Not sure of the best way
to do this.

Builders using non-netcdf libraries can specify
whatever they want in the key value pairs (as long
as the version=2 is specified first).

By convention, the primary library is expected to be the
the first pair after the leading version=2 pair, but this
is convention only and is neither required nor enforced.

Related changes:
1. Fixed the tests that check _NCProperties to properly operate with version=2.
2. When reading a version 1 _NCProperties attribute, convert it to look
   like a version 2 attribute.
2. Added some version 2 tests to ncdump/tst_fileinfo.c and
   ncdump/tst_fileinfo.sh

Misc Changes:
1. Fix minor problem in ncdap_test/testurl.sh where a parameter to
   buildurl needed to be quoted.
2. Minor fix to ncgen to swap switches -H and -h to be consistent
   with other utilities.
3. Document the -M flag in nccopy usage() and the nccopy man page.
4. Modify a test case to use the nccopy -M flag.
2018-08-25 21:44:41 -06:00
..
expected3 Misc. source comment typos 2018-04-26 23:04:01 -04:00
expectremote3 Misc. source comment typos 2018-04-26 23:04:01 -04:00
expecttds3
nocacheremote3
special3
testdata3 Misc. source comment typos 2018-04-26 23:04:01 -04:00
CMakeLists.txt The ncdap_tests were a mess, so I decided to clean them up 2018-03-20 21:31:31 -06:00
findtestserver.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Makefile.am Code duplicated; merge failure? 2018-05-18 20:28:51 -06:00
run_ncdap_tests.sh Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
t_auth.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
t_dap3a.c 1. Keep up to date by merging master 2018-01-16 11:00:09 -07:00
t_dap3b.c
t_dap3c.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
t_dap.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
t_misc.c
t_ncf330.c merge-squash 2015-08-15 16:26:35 -06:00
t_srcdir.h Code duplicated; merge failure? 2018-05-18 20:28:51 -06:00
test_cvt.c more warnings 2017-11-30 09:16:29 -07:00
test_environment.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
test_nstride_cached.c This completes (for now) the refactoring of libsrc4. 2018-03-16 11:46:18 -06:00
test_partvar2.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_partvar.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_vara.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
test_varm3.c Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
testauth.old Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
testauth.sh Error in ncuri in handling user:pwd@ in url 2017-07-05 14:39:23 -06:00
testauth.sh.old Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
testbasicauth.sh ckp 2017-07-21 13:54:09 -06:00
testcontainerauth.sh ckp 2017-07-21 13:54:09 -06:00
testurl.sh There was a request to extend the provenance information 2018-08-25 21:44:41 -06:00
tst_ber.sh getting make -j check working 2017-11-17 10:49:06 -07:00
tst_filelists.sh The ncdap_tests were a mess, so I decided to clean them up 2018-03-20 21:31:31 -06:00
tst_formatx.sh getting make -j check working 2017-11-17 10:49:06 -07:00
tst_longremote3.sh The ncdap_tests were a mess, so I decided to clean them up 2018-03-20 21:31:31 -06:00
tst_ncdap3.sh The ncdap_tests were a mess, so I decided to clean them up 2018-03-20 21:31:31 -06:00
tst_ncdap_shared.sh turn of extra debug 2017-07-15 20:21:24 -06:00
tst_ncdap.sh Add a configurable "test case" that will create 2018-03-17 16:25:13 -06:00
tst_nocache3.sh Modified ncdap_test to allow a different method 2017-01-18 21:46:47 -07:00
tst_remote3.sh Modified tst_remote3.sh to work on OSX. 2018-03-29 18:30:16 -06:00
tst_remote.sh The Jetstream remote test server is now working. 2018-06-26 13:58:45 -06:00
tst_special.sh eliminating test dependencies in ncdap_test 2017-11-26 07:00:17 -07:00
tst_tds.sh eliminating test dependencies in ncdap_test 2017-11-26 07:00:17 -07:00
tst_urls.sh Follow-up trivial typos 2018-04-26 23:04:01 -04:00
tst_utils.sh The ncdap_tests were a mess, so I decided to clean them up 2018-03-20 21:31:31 -06:00