Commit Graph

9667 Commits

Author SHA1 Message Date
Peter Hill
a7552b4b83
Fix a couple of conversion warnings in shared nczarr/ncdump test 2024-01-15 13:57:22 +00:00
Peter Hill
f266313cb7
Fix warning about mismatched indentation between if/else statements 2024-01-15 10:42:45 +00:00
Peter Hill
d51f80cded
Fix some more conversion warnings in nczarr tests 2024-01-15 10:42:13 +00:00
Peter Hill
76f4cda69a
Ensure config.h is included first 2024-01-15 10:26:06 +00:00
Peter Hill
0b040e8cd7
Merge branch 'main' into silence-nczarr-test-warnings
* main: (39 commits)
  Define USE_SZIP variable for nc-config.cmake.in
  matching cmake variables in autotools configuration
  moving the version into the project command in cmake
  Updated doxygen files for older, less-forgiving versions of doxygen (1.9.1, at least)
  Clean up doxygen warnings that were being treated as failures.
  Correcting a weird doxygen issue that has appeared.
  cmake: Fix Szip link using correct cmake var
  cmake: Improve FindSzip logic to provide a Szip_LIBRARY var
  Changed link to netCDF-Fortran documentation.
  Replaced ancient K&R function declarations to be C23 compatible
  Rebased PR by hand against main.
  count argument in H5Sselect_hyperslab
  Add H5FD_http_finalize function and call on hdf5 finalize
  Catching up on PRs, this is 2431 on the current 'main'
  Fix cmake syntax typo.
  Typo fix in support of gh2824.wif
  Fix typo in nc-config.cmake.in
  Removed a use of sprintf that required changing a function signature
  Replaced some sprintf with snprintf with aid of new variable containing size
  Replaced trivial uses of sprintf with snprintf
  ...
2024-01-15 10:17:36 +00:00
Ward Fisher
498930982d
Merge pull request #2836 from islas/populateSzipConfigCMake
Define USE_SZIP variable for nc-config.cmake.in
2024-01-11 16:29:39 -08:00
Anthony Islas
9b5eccc636 Define USE_SZIP variable for nc-config.cmake.in 2024-01-08 22:36:13 +00:00
Ward Fisher
5ad890c7bb
Merge pull request #2835 from K20shores/versioning_with_cmake
Manage project version with cmake
2024-01-08 14:35:11 -07:00
Kyle Shores
ce2d5d9045 matching cmake variables in autotools configuration 2024-01-08 10:29:14 -06:00
Kyle Shores
e995c2e696 moving the version into the project command in cmake 2024-01-05 10:06:32 -06:00
Ward Fisher
6e636ef465
Merge pull request #2808 from ZedThree/explicit-casts-in-nc4var
Use explicit casts in `nc4_convert_type` to silence warnings
2023-12-22 11:29:13 -07:00
Ward Fisher
e9f2c18120 Merge remote-tracking branch 'upstream/main' into explicit-casts-in-nc4var 2023-12-22 10:34:24 -07:00
Ward Fisher
c1fb4b0bae
Merge pull request #2809 from ZedThree/silence-malloc-warnings
Silence conversion warnings from `malloc` arguments
2023-12-21 17:20:56 -07:00
Ward Fisher
b13a89fe32
Merge pull request #2833 from mwestphal/fix_szip_linking
Fix szip linking
2023-12-21 13:59:22 -07:00
Ward Fisher
de822f95b7 Merge remote-tracking branch 'upstream/main' into fix_szip_linking 2023-12-21 12:20:31 -06:00
Ward Fisher
5c1595717a
Merge pull request #2834 from WardF/fix_doxygen.wif
Fix doxygen warnings
2023-12-21 10:31:44 -07:00
Ward Fisher
b588c009cb Updated doxygen files for older, less-forgiving versions of doxygen (1.9.1, at least) 2023-12-21 09:56:31 -07:00
Ward Fisher
3361fc5901 Clean up doxygen warnings that were being treated as failures. 2023-12-21 09:39:44 -07:00
Ward Fisher
f2eef5a262 Correcting a weird doxygen issue that has appeared. 2023-12-20 16:06:08 -07:00
Mathieu Westphal
8f191fbc9d cmake: Fix Szip link using correct cmake var 2023-12-20 07:58:45 +01:00
Mathieu Westphal
b708cb90bc cmake: Improve FindSzip logic to provide a Szip_LIBRARY var 2023-12-20 07:58:22 +01:00
Ward Fisher
9c617e5395
Merge pull request #2821 from edwardhartnett/ejh_bm_new_compression
add new compression to bm_file benchmark
2023-12-19 16:56:47 -07:00
Ward Fisher
01eae4ff27
Merge pull request #2801 from seanm/c23-fixes
Replaced ancient K&R function declarations to be C23 compatible
2023-12-19 16:53:08 -07:00
Ward Fisher
b534fe3e04
Merge pull request #2781 from DennisHeimbigner/idint.dmh
Reduce warning by changing type of NC_OBJ.id.
2023-12-19 16:21:24 -07:00
Ward Fisher
98365988c8
Merge pull request #2827 from lostbard/octave-fix-2617
Add H5FD_http_finalize function and call on hdf5 finalize
2023-12-19 16:20:55 -07:00
Ward Fisher
4bdb093fca
Merge pull request #2388 from rkouznetsov/lossydoc
Add clarification for the meaning of NSB
2023-12-19 10:08:34 -07:00
Ward Fisher
b55211b6c7
Merge branch 'main' into lossydoc 2023-12-19 10:08:01 -07:00
Ward Fisher
4c2899017e
Merge pull request #2427 from rouault/fopen_error
Avoid segfault if opening file failed
2023-12-19 10:06:12 -07:00
Ward Fisher
1442762331
Merge branch 'main' into idint.dmh 2023-12-18 15:23:39 -07:00
JohnD
aa7daf18f5 Merge branch 'main' into octave-fix-2617 2023-12-16 07:12:08 -05:00
Ward Fisher
e993b1ecc8
Merge pull request #2830 from WardF/update_ref.wif
Changed link to netCDF-Fortran documentation.
2023-12-14 10:47:05 -07:00
Ward Fisher
e662790a66 Changed link to netCDF-Fortran documentation. 2023-12-14 10:46:19 -07:00
Sean McBride
56844001f5 Replaced ancient K&R function declarations to be C23 compatible 2023-12-13 22:49:04 -05:00
Ward Fisher
bace524e3e
Merge pull request #2296 from wkliao/H5Sselect_hyperslab
count argument in H5Sselect_hyperslab
2023-12-13 08:10:32 -07:00
Ward Fisher
2ffd1c0847 Merge branch 'H5Sselect_hyperslab' of github.com:wkliao/netcdf-c into H5Sselect_hyperslab 2023-12-12 16:50:26 -07:00
Ward Fisher
6a628b9ca7 Rebased PR by hand against main. 2023-12-12 16:49:13 -07:00
wkliao
52198b3f12 count argument in H5Sselect_hyperslab
Argument 'count' in NetCDF is not exactly the same as the 'count' in
H5Sselect_hyperslabs(space_id, op, start, stride, count, block).
When the argument 'stride' is NULL, NetCDF's 'count' should be used in
argument 'block', for example,
   H5Sselect_hyperslabs(space_id, op, start, NULL, ones, count);
where 'one' is an array of all 1s. Although using NULL 'block' below
   H5Sselect_hyperslabs(space_id, op, start, NULL, count, NULL);
has the same effect, HDF5 internally stores the space of a subarray as a
list of single elements, instead of a "block", which can affect the
performance.
2023-12-12 16:45:19 -07:00
JohnD
7a2813be72 Add H5FD_http_finalize function and call on hdf5 finalize
Fixes Unidata#2617
2023-12-12 18:16:31 -05:00
Ward Fisher
0603c98933
Merge pull request #2379 from gsjaardema/patch-50
Enable compilation with C89 compiler
2023-12-12 16:00:31 -07:00
Ward Fisher
7ef8c95bc1
Merge pull request #2450 from gsjaardema/patch-53
Minor fix to doxygen documentation
2023-12-12 15:59:50 -07:00
Ward Fisher
c0a896c3c5
Merge pull request #2826 from WardF/gh2431.wif
Catching up on PRs
2023-12-12 15:58:53 -07:00
Ward Fisher
907ab416a5 Merge branch 'main' into gh2431.wif 2023-12-12 14:35:12 -07:00
Ward Fisher
4673c55a6c Catching up on PRs, this is 2431 on the current 'main' 2023-12-12 14:03:36 -07:00
Ward Fisher
489d978f63
Merge pull request #2595 from johnwparent/import-mpi-dep-on-export
CMake: Add improvements to MPI support
2023-12-12 13:57:20 -07:00
Ward Fisher
64e9185bd7
Merge pull request #2761 from magnusuMET/bugfix/skip_bin_test_on_non_test
Do not compile test program unless required
2023-12-12 13:42:44 -07:00
Ward Fisher
dd61f30fe2
Merge pull request #2825 from WardF/gh2824.wif 2023-12-12 11:03:59 -07:00
Ward Fisher
e9971abe0c Merge branch 'main' into gh2824.wif 2023-12-12 10:13:11 -07:00
Ward Fisher
4367c688e5 Merge remote-tracking branch 'upstream/main' 2023-12-12 10:12:57 -07:00
Ward Fisher
61c9a8641d Fix cmake syntax typo. 2023-12-12 10:06:55 -07:00
Ward Fisher
ed90d50078 Typo fix in support of gh2824.wif 2023-12-12 10:04:18 -07:00