Commit Graph

9499 Commits

Author SHA1 Message Date
Ward Fisher
7d9baced0e Correct issue with test file. 2023-10-24 10:28:51 -06:00
Ward Fisher
b41c33805a Update cdash script file. 2023-10-24 10:18:58 -06:00
Ward Fisher
df5261ce0c Correct issue with file. 2023-10-24 10:17:13 -06:00
Ward Fisher
bce53cae08 Add first script to try to embed cdash scripts into CI. 2023-10-24 10:15:25 -06:00
Ward Fisher
cb61d34185
Merge pull request #2767 from ZedThree/fix-ncvlog-loglevel
Fix bug with displaying log messages
2023-10-19 09:52:15 -06:00
Ward Fisher
155ee9319a
Merge pull request #2759 from WardF/fix-s3-try2.wif
Address Windows and MacOS s3 issues
2023-10-16 16:48:13 -06:00
Ward Fisher
54102a3cea Update path in s3sdk shell script unit test. 2023-10-16 14:30:43 -06:00
Ward Fisher
4bd9c2e8b0 Removed leading slash on run_interop in nczarr_test. 2023-10-13 15:02:58 -06:00
Ward Fisher
84af03eaa2 Working on the last few s3 issues currently manifesting using S3_INTERNAL and WITH_S3_TESTING on Windows and MSYS2. 2023-10-13 11:32:27 -06:00
Ward Fisher
15d3e03eb0 Merge branch 'main' into fix-s3-try2.wif 2023-10-10 09:41:36 -06:00
Ward Fisher
a01fa386d8
Merge pull request #2769 from WardF/fix_cmake_script_tests.wif
Revert a change made in d3c2cf236 that is proving confounding in MSYS2 bash
2023-10-10 09:40:35 -06:00
Ward Fisher
17a7577701 Revert a change made in d3c2cf236 that is proving confounding in MSYS2-based bash environments. 2023-10-09 10:51:13 -06:00
Ward Fisher
5f5f908a96 Remove vestigial file glob stanza 2023-10-09 10:18:04 -06:00
Peter Hill
fabd3b2b99
Fix bug with displaying log messages
One of the changes in df3636b introduced the ability to filter log
messages by level. This fixes a typo that flipped the intended
filtering, so that `NCLOGOFF` _enabled_ all messages instead of
_disabling_ them.
2023-10-09 10:47:39 +01:00
Ward Fisher
8b5f1e239c
Merge pull request #2760 from WardF/doc-update2.wif 2023-10-05 19:43:51 -06:00
Ward Fisher
74ecacffb5 Updated static software.html page with reference to met.3d 2023-10-05 16:06:47 -06:00
Ward Fisher
b62da98420
Merge pull request #2757 from ZedThree/cmake-fix-hdf5-zlib-check
CMake: Change header in check for HDF5 zlib/szip support
2023-10-02 16:22:55 -06:00
Ward Fisher
80c746981d
Merge pull request #2758 from ZedThree/cmake-fix-linking-mpi
CMake: Ensure all libraries link against MPI if needed
2023-10-02 16:20:43 -06:00
Ward Fisher
375e5105ff Update Release Notes 2023-10-02 10:14:18 -06:00
Ward Fisher
140cb83695
Merge pull request #2755 from DennisHeimbigner/s3interfere.dmh
Mitigate S3 test interference + Unlimited Dimensions in NCZarr
2023-10-02 10:07:12 -06:00
Peter Hill
d4412df2da
CMake: Ensure MPI dependency is found in installed config 2023-10-02 10:51:02 +01:00
Peter Hill
f71d05988e
CMake: Make plugin target links public 2023-10-02 10:31:24 +01:00
Peter Hill
18c813b20b
CMake: Ensure all libraries link against MPI if needed 2023-10-02 10:31:24 +01:00
Peter Hill
b6cb581cec
CMake: Change header in check for HDF5 zlib/szip support
H5public.h might require MPI headers which we haven't found at this
point

Fixes #2742
2023-10-02 10:13:26 +01:00
Ward Fisher
234df46828 Merge branch 's3interfere.dmh' of github.com:DennisHeimbigner/netcdf-c into s3interfere.dmh 2023-09-29 16:10:20 -06:00
Ward Fisher
8337c64676 Add missing file. 2023-09-29 16:10:08 -06:00
Dennis Heimbigner
055ac8d610 Merge branch 's3interfere.dmh' of https://github.com/DennisHeimbigner/netcdf-c into s3interfere.dmh 2023-09-29 15:57:35 -06:00
Dennis Heimbigner
aac8a38c25 addfile 2023-09-29 15:57:02 -06:00
Ward Fisher
3c013ce342 Merged in current state of https://github.com/Unidata/netcdf-c/pulls/2741 2023-09-29 15:05:43 -06:00
Ward Fisher
e383788bfd
Merge pull request #2756 from GiGainfosystems/fix/space
Fix an issue with unescaped paths in the build system
2023-09-29 15:04:07 -06:00
Dennis Heimbigner
2bb6013dfd Update S3 subtree 2023-09-27 18:53:45 -06:00
Georg Semmler
7183490989
Fix an issue with unescaped paths in the build system
This commit fixes an issue with unescaped paths while building the
manpages for the netcdf.3 target. This causes problems with a building
path that contains spaces.
2023-09-27 10:20:30 +02:00
Dennis Heimbigner
b2e629b6b6 enable_dumpchunks 2023-09-26 18:48:58 -06:00
Dennis Heimbigner
8feafaac63 Fix test file 2023-09-26 17:27:17 -06:00
Dennis Heimbigner
df3636b959 Mitigate S3 test interference + Unlimited Dimensions in NCZarr
This PR started as an attempt to add unlimited dimensions to NCZarr.
It did that, but this exposed significant problems with test interference.
So this PR is mostly about fixing -- well mitigating anyway -- test
interference.

The problem of test interference is now documented in the document docs/internal.md.
The solutions implemented here are also describe in that document.
The solution is somewhat fragile but multiple cleanup mechanisms
are provided. Note that this feature requires that the
AWS command line utility must be installed.

## Unlimited Dimensions.
The existing NCZarr extensions to Zarr are modified to support unlimited dimensions.
NCzarr extends the Zarr meta-data for the ".zgroup" object to include netcdf-4 model extensions. This information is stored in ".zgroup" as dictionary named "_nczarr_group".
Inside "_nczarr_group", there is a key named "dims" that stores information about netcdf-4 named dimensions. The value of "dims" is a dictionary whose keys are the named dimensions. The value associated with each dimension name has one of two forms
Form 1 is a special case of form 2, and is kept for backward compatibility. Whenever a new file is written, it uses format 1 if possible, otherwise format 2.
* Form 1: An integer representing the size of the dimension, which is used for simple named dimensions.
* Form 2: A dictionary with the following keys and values"
   - "size" with an integer value representing the (current) size of the dimension.
   - "unlimited" with a value of either "1" or "0" to indicate if this dimension is an unlimited dimension.

For Unlimited dimensions, the size is initially zero, and as variables extend the length of that dimension, the size value for the dimension increases.
That dimension size is shared by all arrays referencing that dimension, so if one array extends an unlimited dimension, it is implicitly extended for all other arrays that reference that dimension.
This is the standard semantics for unlimited dimensions.

Adding unlimited dimensions required a number of other changes to the NCZarr code-base. These included the following.
* Did a partial refactor of the slice handling code in zwalk.c to clean it up.
* Added a number of tests for unlimited dimensions derived from the same test in nc_test4.
* Added several NCZarr specific unlimited tests; more are needed.
* Add test of endianness.

## Misc. Other Changes
* Modify libdispatch/ncs3sdk_aws.cpp to optionally support use of the
   AWS Transfer Utility mechanism. This is controlled by the
   ```#define TRANSFER```` command in that file. It defaults to being disabled.
* Parameterize both the standard Unidata S3 bucket (S3TESTBUCKET) and the netcdf-c test data prefix (S3TESTSUBTREE).
* Fixed an obscure memory leak in ncdump.
* Removed some obsolete unit testing code and test cases.
* Uncovered a bug in the netcdf-c handling of big-endian floats and doubles. Have not fixed yet. See tst_h5_endians.c.
* Renamed some nczarr_tests testcases to avoid name conflicts with nc_test4.
* Modify the semantics of zmap\#ncsmap_write to only allow total rewrite of objects.
* Modify the semantics of zodom to properly handle stride > 1.
* Add a truncate operation to the libnczarr zmap code.
2023-09-26 16:56:48 -06:00
Ward Fisher
b5bb7d8837 Correct a couple of typos. 2023-09-14 12:55:45 -06:00
Ward Fisher
571fa068eb Made some changes to spacing, also discovered an issue around specifying rpath on MacOSX when using configure. 2023-09-14 12:01:42 -06:00
Ward Fisher
543eeee980 A few tweaks for readability. 2023-09-14 11:20:10 -06:00
Ward Fisher
973e5a3360 Revert previous change; the issue appears to be correct, but the fix appears to need to be different. 2023-09-08 10:09:15 -06:00
Ward Fisher
21d11a0079 Remove explicit setting of request length, allow it to be computed automatically. 2023-09-07 16:09:46 -06:00
Ward Fisher
adfeec0605 Turned on console logging/tracing. 2023-09-07 15:00:05 -06:00
Ward Fisher
3c789c6899
Merge pull request #2749 from WardF/fix_nc-config.wif
Fix --has-quantize in autotools-generated nc-config.
2023-09-06 10:46:38 -06:00
Ward Fisher
6d426ce006 Fix --has-quantize in autotools-generated nc-config. 2023-09-05 18:42:47 -06:00
Ward Fisher
99e8ff31d8 Add a missing include_directories invocation in CMakeLists.txt 2023-09-05 14:38:48 -06:00
Ward Fisher
22ecb88e8d Turned off verbose debugging in test_s3sdk.c for now. 2023-08-31 10:31:06 -06:00
Ward Fisher
b87d921509 Merge branch 'fix-cmake-s3-support.wif' of github.com:WardF/netcdf-c into fix-cmake-s3-support.wif 2023-08-30 16:11:53 -06:00
Ward Fisher
468e98f3b4 Making test cases more verbose, turning off s3-based interoperability tests TEMPORARILY. 2023-08-30 16:11:37 -06:00
Ward Fisher
c177ec0626 Add properties to pure awssdk for MSVC builds. 2023-08-30 14:43:25 -06:00
Ward Fisher
af07326a6b Disable 'force internal S3 on Windows' 2023-08-30 10:17:00 -06:00
Ward Fisher
dd1ae95b28 Tweak spacing in pure awssdk test. 2023-08-29 16:38:21 -06:00