mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +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. |
||
---|---|---|
.. | ||
bm_chunking.c | ||
bm_radar.c | ||
build_fixedstring.c | ||
bzip2.cdl | ||
cdm_sea_soundings.c | ||
clear_cache.sh | ||
CMakeLists.txt | ||
findplugin.in | ||
h5testszip.c | ||
Makefile.am | ||
noop1.cdl | ||
noop.cdl | ||
ref_any.cdl | ||
ref_bloscx.cdl | ||
ref_bzip2.c | ||
ref_fillonly.cdl | ||
ref_filter_order_create.txt | ||
ref_filter_order_read.txt | ||
ref_filter_repeat.txt | ||
ref_filtered.cdl | ||
ref_filteredvv.cdl | ||
ref_filterx_hdf5.txt | ||
ref_fixedstring.cdl | ||
ref_fixedstring.h5 | ||
ref_hdf5_compat1.nc | ||
ref_hdf5_compat2.nc | ||
ref_hdf5_compat3.nc | ||
ref_multi.cdl | ||
ref_nccopyF.cdl | ||
ref_ncgenF.cdl | ||
ref_szip.cdl | ||
ref_szip.h5 | ||
ref_tst_compounds.nc | ||
ref_tst_dims.nc | ||
ref_tst_interops4.nc | ||
ref_tst_xplatform2_1.nc | ||
ref_tst_xplatform2_2.nc | ||
ref_unfiltered.cdl | ||
ref_unfilteredvv.cdl | ||
renamegroup.c | ||
run_empty_vlen_test.sh | ||
run_grp_rename.sh | ||
run_par_test.sh.in | ||
t_type.c | ||
tdset.h5 | ||
test_fillonly.sh | ||
test_filter_misc.c | ||
test_filter_order.c | ||
test_filter_reg.c | ||
test_filter_repeat.c | ||
test_filter_vlen.c | ||
test_filter.c | ||
test_filterx_hdf5.c | ||
test_szip.c | ||
test_wrapper.in | ||
tst_alignment.c | ||
tst_atts1.c | ||
tst_atts2.c | ||
tst_atts3.c | ||
tst_atts_string_rewrite.c | ||
tst_atts.c | ||
tst_bloscfail.sh | ||
tst_broken_files.c | ||
tst_bug324.c | ||
tst_bug1442.c | ||
tst_camrun.c | ||
tst_charvlenbug.c | ||
tst_chunks2.c | ||
tst_chunks.c | ||
tst_compounds2.c | ||
tst_compounds3.c | ||
tst_compounds.c | ||
tst_converts2.c | ||
tst_converts.c | ||
tst_coords2.c | ||
tst_coords3.c | ||
tst_coords.c | ||
tst_dims2.c | ||
tst_dims3.c | ||
tst_dims.c | ||
tst_elatefill.c | ||
tst_empty_vlen_unlim.c | ||
tst_endian_fill.c | ||
tst_enums.c | ||
tst_files4.c | ||
tst_files5.c | ||
tst_files6.c | ||
tst_files.c | ||
tst_fill_attr_vanish.c | ||
tst_fillbug.c | ||
tst_fillonly.c | ||
tst_fills2.c | ||
tst_fills.c | ||
tst_filter_avail.c | ||
tst_filter.sh | ||
tst_filterinstall.sh | ||
tst_filterparser.c | ||
tst_fixedstring.sh | ||
tst_grps2.c | ||
tst_grps.c | ||
tst_h5_endians.c | ||
tst_h_converts.c | ||
tst_h_refs.c | ||
tst_h_scalar.c | ||
tst_h_strbug.c | ||
tst_h_strings3.c | ||
tst_h_vl2.c | ||
tst_hdf5_file_compat.c | ||
tst_interops4.c | ||
tst_interops5.c | ||
tst_interops6.c | ||
tst_interops_dims.c | ||
tst_interops.c | ||
tst_large2.c | ||
tst_large3.c | ||
tst_large5.c | ||
tst_large.c | ||
tst_misc.sh | ||
tst_mode.c | ||
tst_mpi_parallel.c | ||
tst_multifilter.c | ||
tst_nc4perf.c | ||
tst_nc_converts.c | ||
tst_opaques.c | ||
tst_parallel3.c | ||
tst_parallel4.c | ||
tst_parallel5.c | ||
tst_parallel6.c | ||
tst_parallel_compress.c | ||
tst_parallel_zlib.c | ||
tst_parallel.c | ||
tst_put_vars_two_unlim_dim.c | ||
tst_put_vars.c | ||
tst_quantize_par.c | ||
tst_quantize.c | ||
tst_rehash.c | ||
tst_rename2.c | ||
tst_rename3.c | ||
tst_rename.c | ||
tst_simplerw_coll_r.c | ||
tst_specific_filters.sh | ||
tst_strings2.c | ||
tst_strings.c | ||
tst_sync.c | ||
tst_szip.sh | ||
tst_types.c | ||
tst_udf.c | ||
tst_unknown.sh | ||
tst_unlim_vars.c | ||
tst_utf8.c | ||
tst_v2.c | ||
tst_varms.c | ||
tst_vars2.c | ||
tst_vars3.c | ||
tst_vars4.c | ||
tst_vars.c | ||
tst_varsperf.c | ||
tst_virtual_datasets.c | ||
tst_vl.c | ||
tst_vlenstr.c | ||
tst_xplatform2.c | ||
tst_xplatform.c | ||
unknown.cdl |