2014-08-30 04:51:14 +08:00
|
|
|
# NetCDF C Configuration Summary
|
2014-08-25 06:29:44 +08:00
|
|
|
==============================
|
2014-05-31 03:36:35 +08:00
|
|
|
|
2014-08-30 04:51:14 +08:00
|
|
|
# General
|
2014-05-31 03:36:35 +08:00
|
|
|
-------
|
2014-05-31 05:30:58 +08:00
|
|
|
NetCDF Version: @PACKAGE_VERSION@
|
2019-11-20 06:14:26 +08:00
|
|
|
Dispatch Version: @NC_DISPATCH_VERSION@
|
2014-05-31 05:30:58 +08:00
|
|
|
Configured On: @CONFIG_DATE@
|
|
|
|
Host System: @host_cpu@-@host_vendor@-@host_os@
|
|
|
|
Build Directory: @abs_top_builddir@
|
2019-11-20 06:14:26 +08:00
|
|
|
Install Prefix: @prefix@
|
Support installation of filters into user-specified location
re: https://github.com/Unidata/netcdf-c/issues/2294
Ed Hartnett suggested that the netcdf library installation process
be extended to install the standard filters into a user specified
location. The user can then set HDF5_PLUGIN_PATH to that location.
This PR provides that capability using:
````
configure option: --with-plugin-dir=<absolute directory path>
cmake option: -DPLUGIN_INSTALL_DIR=<absolute directory path>
````
Currently, the following plugins are always installed, if
available: bzip2, zstd, blosc.
If NCZarr is enabled, then additional plugins are installed:
fletcher32, shuffle, deflate, szip.
Additionally, the necessary codec support is installed
for each of the above filters that is installed.
## Changes:
1. Cleanup handling of built-in bzip2.
2. Add documentation to docs/filters.md
3. Re-factor the NCZarr codec libraries
4. Add a test, although it can only be exercised after
the library is installed, so it cannot be used during
normal testing.
5. Cleanup use of HDF5_PLUGIN_PATH in the filter test cases.
2022-04-30 04:31:55 +08:00
|
|
|
Plugin Install Prefix: @PLUGIN_INSTALL_DIR_SETTING@
|
2014-05-31 03:36:35 +08:00
|
|
|
|
2014-08-30 04:51:14 +08:00
|
|
|
# Compiling Options
|
2014-05-31 03:36:35 +08:00
|
|
|
-----------------
|
2014-08-25 06:29:44 +08:00
|
|
|
C Compiler: @CC_VERSION@
|
|
|
|
CFLAGS: @CFLAGS@
|
|
|
|
CPPFLAGS: @CPPFLAGS@
|
|
|
|
LDFLAGS: @LDFLAGS@
|
|
|
|
AM_CFLAGS: @AM_CFLAGS@
|
|
|
|
AM_CPPFLAGS: @AM_CPPFLAGS@
|
|
|
|
AM_LDFLAGS: @AM_LDFLAGS@
|
|
|
|
Shared Library: @enable_shared@
|
|
|
|
Static Library: @enable_static@
|
|
|
|
Extra libraries: @LIBS@
|
2021-11-03 05:35:04 +08:00
|
|
|
XML Parser: @XMLPARSER@
|
2014-05-31 03:36:35 +08:00
|
|
|
|
2014-08-30 04:51:14 +08:00
|
|
|
# Features
|
2014-08-25 06:29:44 +08:00
|
|
|
--------
|
2023-01-10 04:11:16 +08:00
|
|
|
Benchmarks: @HAS_BENCHMARKS@
|
2014-08-25 06:29:44 +08:00
|
|
|
NetCDF-2 API: @HAS_NC2@
|
|
|
|
HDF4 Support: @HAS_HDF4@
|
2018-11-29 06:50:38 +08:00
|
|
|
HDF5 Support: @HAS_HDF5@
|
2015-11-18 07:31:29 +08:00
|
|
|
NetCDF-4 API: @HAS_NC4@
|
2023-01-10 04:11:16 +08:00
|
|
|
CDF5 Support: @HAS_CDF5@
|
2015-08-16 06:26:35 +08:00
|
|
|
NC-4 Parallel Support: @HAS_PARALLEL4@
|
2018-09-18 00:47:40 +08:00
|
|
|
PnetCDF Support: @HAS_PNETCDF@
|
2023-01-10 04:11:16 +08:00
|
|
|
|
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-25 09:48:15 +08:00
|
|
|
DAP2 Support: @HAS_DAP2@
|
2017-03-09 08:01:10 +08:00
|
|
|
DAP4 Support: @HAS_DAP4@
|
2019-02-25 07:54:13 +08:00
|
|
|
Byte-Range Support: @HAS_BYTERANGE@
|
2023-02-28 04:34:26 +08:00
|
|
|
|
2023-03-03 10:51:02 +08:00
|
|
|
S3 Support: @HAS_S3@
|
2023-04-26 07:15:06 +08:00
|
|
|
S3 SDK: @WHICH_S3_SDK@
|
2023-03-03 10:51:02 +08:00
|
|
|
|
2023-01-10 04:11:16 +08:00
|
|
|
NCZarr Support: @HAS_NCZARR@
|
|
|
|
|
2014-08-25 06:29:44 +08:00
|
|
|
Diskless Support: @HAS_DISKLESS@
|
|
|
|
MMap Support: @HAS_MMAP@
|
|
|
|
JNA Support: @HAS_JNA@
|
2018-09-05 01:27:47 +08:00
|
|
|
ERANGE Fill Support: @HAS_ERANGE_FILL@
|
2020-01-25 07:36:29 +08:00
|
|
|
Relaxed Boundary Check: @RELAX_COORD_BOUND@
|
2023-01-10 04:11:16 +08:00
|
|
|
|
2021-08-24 14:45:38 +08:00
|
|
|
Quantization: @HAS_QUANTIZE@
|
2021-08-24 14:19:41 +08:00
|
|
|
Logging: @HAS_LOGGING@
|
Enhance/Fix filter support
re: Discussion https://github.com/Unidata/netcdf-c/discussions/2214
The primary change is to support so-called "standard filters".
A standard filter is one that is defined by the following
netcdf-c API:
````
int nc_def_var_XXX(int ncid, int varid, size_t nparams, unsigned* params);
int nc_inq_var_XXXX(int ncid, int varid, int* usefilterp, unsigned* params);
````
So for example, zstandard would be a standard filter by defining
the functions *nc_def_var_zstandard* and *nc_inq_var_zstandard*.
In order to define these functions, we need a new dispatch function:
````
int nc_inq_filter_avail(int ncid, unsigned filterid);
````
This function, combined with the existing filter API can be used
to implement arbitrary standard filters using a simple code pattern.
Note that I would have preferred that this function return a list
of all available filters, but HDF5 does not support that functionality.
So this PR implements the dispatch function and implements
the following standard functions:
+ bzip2
+ zstandard
+ blosc
Specific test cases are also provided for HDF5 and NCZarr.
Over time, other specific standard filters will be defined.
## Primary Changes
* Add nc_inq_filter_avail() to netcdf-c API.
* Add standard filter implementations to test use of *nc_inq_filter_avail*.
* Bump the dispatch table version number and add to all the relevant
dispatch tables (libsrc, libsrcp, etc).
* Create a program to invoke nc_inq_filter_avail so that it is accessible
to shell scripts.
* Cleanup szip support to properly support szip
when HDF5 is disabled. This involves detecting
libsz separately from testing if HDF5 supports szip.
* Integrate shuffle and fletcher32 into the existing
filter API. This means that, for example, nc_def_var_fletcher32
is now a wrapper around nc_def_var_filter.
* Extend the Codec defaulting to allow multiple default shared libraries.
## Misc. Changes
* Modify configure.ac/CMakeLists.txt to look for the relevant
libraries implementing standard filters.
* Modify libnetcdf.settings to list available standard filters
(including deflate and szip).
* Add CMake test modules to locate libbz2 and libzstd.
* Cleanup the HDF5 memory manager function use in the plugins.
* remove unused file include//ncfilter.h
* remove tests for the HDF5 memory operations e.g. H5allocate_memory.
* Add flag to ncdump to force use of _Filter instead of _Deflate
or _Shuffle or _Fletcher32. Used for testing.
2022-03-15 02:39:37 +08:00
|
|
|
SZIP Write Support: @HAS_SZLIB_WRITE@
|
|
|
|
Standard Filters: @STD_FILTERS@
|
2022-04-26 20:18:52 +08:00
|
|
|
ZSTD Support: @HAS_ZSTD@
|
2023-01-10 04:11:16 +08:00
|
|
|
Parallel Filters: @HAS_PAR_FILTERS@
|