mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-03 08:01:25 +08:00
69e84fe9f1
re: Issue The byterange handling of the following URLS fails. ### Problem 1: "https://crudata.uea.ac.uk/cru/data/temperature/HadCRUT.4.6.0.0.median.nc#mode=bytes" It turns out that byterange in hdf5 has two possible targets: S3 and not-S3 (e.g. a thredds server or the crudata URL above). Each uses a different HDF5 Virtual File Driver (VFD). I incorrectly set up the byterange code in libhdf5 so that it would choose one or the other of the two VFD's for any netcdf-c library build. The fix is to allow it to choose either one at run-time. ### Problem 2: "https://noaa-goes16.s3.amazonaws.com/ABI-L1b-RadF/2022/001/18/OR_ABI-L1b-RadF-M6C01_G16_s20220011800205_e20220011809513_c20220011809562.nc#mode=bytes,s3" When given what appears to be an S3-related URL, the netcdf-c library code converts it into a canonical, so-called "path" format. In casing out the possible input URL formats, I missed the case where the host contains the bucket ("noaa-goes16"), but not the region. So the fix was to check for this case. ## Misc. Related Changes 1. Since S3 is used in more than just NCZarr, I changed the automake/cmake options to replace "--enable-nczarr-s3" with "--enable-s3", but keeping the former option as a synonym for the latter. This also entailed cleaning up libnetcdf.settings WRT S3 support 2. Added the above URLS as additional test cases ## Misc. Un-Related Changes 1. CURLOPT_PUT is deprecated in favor to CURLOPT_UPLOAD 2. Fix some minor warnings ## Open Problems * Under Ubuntu, either libcrypto or aws-sdk-cpp has a memory leak.
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
# NetCDF C Configuration Summary
|
|
==============================
|
|
|
|
# General
|
|
-------
|
|
NetCDF Version: @PACKAGE_VERSION@
|
|
Dispatch Version: @NC_DISPATCH_VERSION@
|
|
Configured On: @CONFIG_DATE@
|
|
Host System: @host_cpu@-@host_vendor@-@host_os@
|
|
Build Directory: @abs_top_builddir@
|
|
Install Prefix: @prefix@
|
|
Plugin Install Prefix: @PLUGIN_INSTALL_DIR_SETTING@
|
|
|
|
# Compiling Options
|
|
-----------------
|
|
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@
|
|
XML Parser: @XMLPARSER@
|
|
|
|
# Features
|
|
--------
|
|
Benchmarks: @HAS_BENCHMARKS@
|
|
NetCDF-2 API: @HAS_NC2@
|
|
HDF4 Support: @HAS_HDF4@
|
|
HDF5 Support: @HAS_HDF5@
|
|
NetCDF-4 API: @HAS_NC4@
|
|
CDF5 Support: @HAS_CDF5@
|
|
NC-4 Parallel Support: @HAS_PARALLEL4@
|
|
PnetCDF Support: @HAS_PNETCDF@
|
|
|
|
DAP2 Support: @HAS_DAP2@
|
|
DAP4 Support: @HAS_DAP4@
|
|
Byte-Range Support: @HAS_BYTERANGE@
|
|
|
|
S3 Support: @HAS_S3@
|
|
|
|
NCZarr Support: @HAS_NCZARR@
|
|
NCZarr Zip Support: @HAS_NCZARR_ZIP@
|
|
|
|
Diskless Support: @HAS_DISKLESS@
|
|
MMap Support: @HAS_MMAP@
|
|
JNA Support: @HAS_JNA@
|
|
ERANGE Fill Support: @HAS_ERANGE_FILL@
|
|
Relaxed Boundary Check: @RELAX_COORD_BOUND@
|
|
|
|
Multi-Filter Support: @HAS_MULTIFILTERS@
|
|
Quantization: @HAS_QUANTIZE@
|
|
Logging: @HAS_LOGGING@
|
|
SZIP Write Support: @HAS_SZLIB_WRITE@
|
|
Standard Filters: @STD_FILTERS@
|
|
ZSTD Support: @HAS_ZSTD@
|
|
Parallel Filters: @HAS_PAR_FILTERS@
|
|
|