re: Issue https://github.com/Unidata/netcdf-c/issues/3110
There was a two-line typo in the code in netcdf-c/libdispatch/distance_intern.c.
This PR fixes it and adds a test case in netcdf-c/unit_test/tst_reclaim.c.
re: PR https://github.com/Unidata/netcdf-c/pull/3068
Part of splitting PR 3068.
General goal is to fix minor bugs and issues involving
S3 code outside of libnczarr.
1. libsrc/s3io.c:
- Fix handling of error output of NC_s3sdkinfo.
- Implement delete arg to s3io_close
2. Add support for Zarr-Over-HTTP (ZOH) protocol, but leave disabled until given the go-ahead from Manuel Reis.
3. Change the ncs3sdk API to light of eventual addition of Zarr V3 support.
4. Modify s3cleanup.in to catch and remove some previously overlooked entries in the Unidata S3 test bucket.
5. Modify s3gc.in to catch and properly remove Unidata S3 test bucket entries with old UIDs.
6. Modify ds3util.c:
- Support use of a non-standard port -- H/T Manuel Reis
- Clean up some memory leaks
- Add disabled ZOH support
- Better doc on how URLs are interpreted.
- Document how .aws/config and .aws/credentials files are parsed.
7. Repair bugs in the internal S3 reader/writer module.
- Allow API functions to return an http code (see also nch5s3comms.h).
- Fix some casting warnings.
8. Fixes to ncs3sdk_h5.c, the dispatch wrapper for the internal S3 reader/writer
- Move httptonc to this file.
- Make conform to API modifications
- Refactor the key search code.
- Rename getkeys to list and searchkeys to listall.
9. Fixes to nczarr_test/s3util.c
- Reflect ds3util.c API changes: e.g search->listall.
10. Add s3util.c to v3_nczarr_directory
11. Extend unit_test/test_s3dk.c to reflect S3 API changes.
12. Extend unit_test/run_s3sdk.sh to add new tests involving S3 API changes.
re: Discussion https://github.com/Unidata/netcdf-c/discussions/3085
This discussion raised the issue of the best way to distinguish
a netcdfd-c created file and an HDF5 created file. The
recommended way is to use the _NCProperties attribute. In order
for users to process this attribute, I have added a parser for
the attribute to the netcdf_aux.h file.
re: PR https://github.com/Unidata/netcdf-c/pull/3068
1. Update the ncjson and ncproplist code to lastest.
2. Fix some references to older API functions.
3. Update the netcdf_json and netcdf_proplist builds.
re: PR https://github.com/Unidata/netcdf-c/pull/3068
1. Update the ncjson and ncproplist code to lastest.
2. Fix some references to older API functions.
3. Update the netcdf_json and netcdf_proplist builds.