netcdf-c/nczarr_test
Dennis Heimbigner d538cf38c2 Fix nczarr-experimental to better support CMake and find AWS libraries
The primary fix is to improve CMake build support.
Specific changes include:
* CMake: Provide a better soln to locating the AWS SDK
  libraries; the new way is the preferred method as described in
  the aws-cpp-sdk documentation.
* CMake (and Automake): allow -DENABLE_S3_SDK (default off) to suppress
  looking for AWS libraries.
* CMake: add the complete set of nczarr tests
* CMake: add EXTERNL as needed to various .h files.
* Improve support for windows drive letters in paths.
* Add nczarr and s3 flags to nc-config
* For VisualStudio X nczarr, cleanup the NAN+INFINITY handling
* Convert _MSC_VER -> _WIN32 and vice versa as needed
* NCZarr - support multiple platform paths including windows, cygwin.
  mingw, etc.
* NCZarr - sort the test outputs because different platforms
  produce directory contents in different orders.

One big change concerns netcdf-c/CMakeLists.txt and netcdf-c/configure.ac.
In the current versions, it was the case that --disable-hdf5
disabled netcdf-4 (libsrc4). With nczarr, this can no longer
be the case because nczarr requires libsrc4 even if libhdf5
is disabled. So, I modified the above files to move the
format options (HDF5, NCZarr, HDF4, etc) to a single place
near the front of the files. Now it is the case that:
* Enabling any of the formats that require libsrc4
  also does an implicit --enable-netcdf4.
* --disable-netcdf4 | --disable-netcdf-4 now becomes
  and alias for --disable-hdf5.

There are probably some bugs in this change in terms of
dependencies between format options.

Problems:
* CMake S3 support is still not working for Visual Studio
* A recent issue points out that there is work to do on handling
  UTF8 filenames, but that will be addressed in a separate fix.

Notes:
* Consider converting all of our includes/.h files to use EXTERNL
2020-07-12 12:21:56 -06:00
..
refs This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
CMakeLists.txt Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
itmeta.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
Makefile.am Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_t_meta_dim1.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_t_meta_var1.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_json_build.txt This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_json_parse.txt This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_create_nz4.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_create_nzf.cdl Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_map_readdata_nz4.txt This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_readmeta_nz4.txt This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_readmeta_nzf.txt This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_search_nz4.txt Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_map_search_nzf.txt Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_map_write2meta_nz4.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_write2meta_nzf.cdl Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_map_writedata_nz4.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_writedata_nzf.cdl Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_map_writemeta_nz4.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_map_writemeta_nzf.cdl Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_mapapi_create_nz4.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_mapapi_create_nzf.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_mapapi_create_s3.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_mapapi_data_nz4.cdl Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_mapapi_data_nzf.cdl Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_mapapi_data_s3.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_mapapi_meta_nz4.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_mapapi_meta_nzf.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_mapapi_meta_s3.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_mapapi_search_nz4.txt Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_mapapi_search_nzf.txt Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ref_ut_mapapi_search_s3.txt This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_proj.txt This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ref_ut_testmap_create_nz4.cdl This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
run_it_test1.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
run_it_test2.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
run_meta_tests.sh This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
run_unittests.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
run_ut_chunk.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
run_ut_map.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
run_ut_mapapi.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
run_ut_misc.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
test_nczarr_utils.h Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
test_nczarr.sh Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
tst_chunks2.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
tst_chunks.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_chunking.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_includes.h Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_json.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_map.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_mapapi.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_projections.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_projtest.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ut_test.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_test.h Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_util.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
ut_util.h Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
z4dump.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zhex.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
zisjson.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
zmapio.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00
zs3parse.c Fix nczarr-experimental to better support CMake and find AWS libraries 2020-07-12 12:21:56 -06:00