Commit Graph

6545 Commits

Author SHA1 Message Date
Ward Fisher
67086ccd66 Merge branch 'fix-warnings' of https://github.com/mathstuf/netcdf-c into pr-aggregation.wif 2019-02-06 14:07:29 -07:00
Ward Fisher
5fca0edf73 Move away from deprecated PackageManager to the productbuild generator. 2019-02-05 13:08:30 -07:00
Ward Fisher
455bf13529 Some housekeeping. Next big push may be to clean up older files. 2019-02-05 12:57:27 -07:00
Ed Hartnett
70201adb51 comment cleanup 2019-02-03 07:43:56 -07:00
Ed Hartnett
5d908a0bbb now preserve order of varids after a var rename 2019-02-03 06:56:03 -07:00
Ed Hartnett
8e6f38b099 detecting conditions for mandatory rename of vars with varid > renamed var 2019-02-03 06:35:29 -07:00
Ed Hartnett
275e116f49 added test to demonstrate out of order varids after rename 2019-02-03 06:28:04 -07:00
Ed Hartnett
cb47eaf895 uncommented some testing 2019-02-02 07:43:56 -07:00
Ed Hartnett
e30a2bf208 added come comments 2019-02-02 07:32:31 -07:00
Ed Hartnett
8acde75e3c converted hdf5gtp.c to use H5Lmove instead of deprecated H5Gmove 2019-02-02 07:24:02 -07:00
Ed Hartnett
f25f050be8 converted hdf5var to use H5Lmove instead of deprecated H5Gmove 2019-02-02 07:20:14 -07:00
Ed Hartnett
aed2a4c1db got tst_h_rename using H5Lmove 2019-02-02 07:17:57 -07:00
Ed Hartnett
373c0b5665 added tst_h_rename.c to check HDF5 renaming behavior 2019-02-02 06:17:43 -07:00
Ed Hartnett
6728fceab6 uncommented a bunch of rename tests 2019-02-02 05:55:18 -07:00
Ed Hartnett
1dd76c996e added tst_rename3.c for more rename testing 2019-02-02 05:53:45 -07:00
Ed Hartnett
c8cbff4728 added test (commented out) in tst_rename2.c which fails 2019-02-02 04:00:34 -07:00
Dennis Heimbigner
6723a38d90 remove some debug statements 2019-02-01 14:39:30 -07:00
Dennis Heimbigner
e4cb5c89a3 Made some mistakes in handling the PNETCDF case.
So, fixed the following:
1. Forgot to check for NC_FORMATX_PNETCDF case
   in one of the switches in NC_infermodel.
2. Accidentally turned on both the NC_64BIT_OFFSET
   and the NC_64BIT_DATA mode flags.
2019-02-01 14:31:44 -07:00
Dennis Heimbigner
65e9a46d84 ckp 2019-02-01 12:00:12 -07:00
Dennis Heimbigner
8714066b18 Fix errors when building on big-endian machine
re: issue https://github.com/Unidata/netcdf-c/issues/1278
re: issue https://github.com/Unidata/netcdf-c/issues/876
re: issue https://github.com/Unidata/netcdf-c/issues/806

* Major change to the handling of 8-byte parameters for nc_def_var_filter.
  The old code was not well thought out.
  * The new algorithm is documented in docs/filters.md.
  * Added new utility file plugins/H5Zutil.c to support
  * Modified plugins/H5Zmisc.c to use new algorithm
  the new algorithm.
  * Renamed include/ncfilter.h to include/netcdf_filter.h
    and made it an installed header so clients can access the
    new algorithm utility.
  * Fixed nc_test4/tst_filterparser.c and nc_test4/test_filter_misc.c
    to use the new algorithm
* libdap4/ fixes:
  * d4swap.c has an error in the endian pre-processing such
    that record counts were not being swapped correctly.
  * d4data.c had an error in that checksums were being computed
    after endian swapping rather than before.
* ocinitialize() was never being called, so xxdr bigendian handling
  was never set correctly.
  * Required adding debug statements to occompile
* Found and fixed memory leak in ncdump.c

Not tested:
* HDF4
* Pnetcdf
* parallel HDF5
2019-01-31 21:13:06 -07:00
Ward Fisher
9ca942b201
Merge branch 'master' into fix-warnings 2019-01-31 12:39:06 -07:00
Ed Hartnett
9cde4f0185
Merge branch 'master' into ejh_rename_bug 2019-01-30 12:17:37 -07:00
Ed Hartnett
f0ec05c434
Merge branch 'master' into ejh_not_read_rename_2 2019-01-30 12:17:17 -07:00
Ward Fisher
3662c4f982
Merge branch 'master' into byterange.dmh 2019-01-30 11:09:12 -07:00
Ward Fisher
299b215862
Merge branch 'master' into ejh_rename_var_to_non_coord_var 2019-01-30 11:08:58 -07:00
Ward Fisher
79e8089b54
Merge branch 'master' into gh1295.wif 2019-01-30 11:08:47 -07:00
Ward Fisher
69c4ed60c0
Merge pull request #1301 from Unidata/zerodim.dmh
When doing prefetch in DAP2, ignore invisible variables.
2019-01-30 11:08:26 -07:00
Ward Fisher
12724837b0 Fixed a typo. 2019-01-30 10:34:51 -07:00
Ward Fisher
df5a146432 Added test in support of https://github.com/Unidata/netcdf-c/issues/1300 and https://github.com/Unidata/netcdf-c/issues/1301 2019-01-29 15:23:03 -07:00
Dennis Heimbigner
54656b4a16 When doing prefetch in DAP2, ignore invisible variables.
re: Issue https://github.com/Unidata/netcdf-c/issues/1300

Add a check for invisible variables.
2019-01-29 13:43:02 -07:00
Ward Fisher
c49f4256ad Corrected a logic error when compiling with parallel enabled. 2019-01-28 14:05:19 -07:00
Ward Fisher
9df45bc1a7 Temporarily added a set of parallel tests to .travis.yml. 2019-01-28 12:23:30 -07:00
Ed Hartnett
fcae21bb9e more testing 2019-01-27 11:48:28 -07:00
Ed Hartnett
b3796633e7 more testing 2019-01-27 11:40:18 -07:00
Ed Hartnett
e859be9a1d more testing 2019-01-27 11:38:39 -07:00
Ed Hartnett
828304ed41 now using secret hdf5 var name during renames if needed 2019-01-27 11:33:06 -07:00
Ed Hartnett
1b3f397c4c added name parameter to give_var_secret_name to base secret name on 2019-01-27 11:29:49 -07:00
Ed Hartnett
784dc0e0ad now creating secret hdf5 name on var rename, if needed 2019-01-27 11:17:57 -07:00
Ed Hartnett
660bda1be3 made function give_var_secret_name() static again 2019-01-27 11:14:29 -07:00
Ed Hartnett
e74ec6f2a0 made function give_var_secret_name() not static, fixed warning 2019-01-27 11:10:41 -07:00
Ed Hartnett
c95887cc53 removed name param from function give_var_secret_name() 2019-01-27 11:07:57 -07:00
Ed Hartnett
627a55cf78 added function give_var_secret_name() 2019-01-27 11:06:02 -07:00
Ed Hartnett
42c64598dc created function create_dim_wo_var() 2019-01-27 10:51:25 -07:00
Ward Fisher
b27c7d899d Merge branch 'master' into byterange.dmh 2019-01-25 14:50:23 -07:00
Ward Fisher
766d2acfc3 Update CmakeLists.txt in support of https://github.com/Unidata/netcdf-c/issues/1295 2019-01-25 11:26:26 -07:00
Ed Hartnett
a89f9ddeb9
Merge branch 'master' into ejh_rename_bug 2019-01-25 07:05:13 -07:00
Ed Hartnett
b2bd90373a
Merge branch 'master' into ejh_not_read_rename_2 2019-01-25 07:03:59 -07:00
Ward Fisher
9b073894fe
Merge pull request #1293 from Unidata/pr-aggregation.wif
Y.A.A. (Yet Another Another Aggregation)
2019-01-24 16:41:11 -07:00
Ed Hartnett
66cc9c5020 fixed rename bug 2019-01-24 10:20:46 -07:00
Ed Hartnett
713804ea03 added rename test to tst_rename2.c which fails :-( 2019-01-24 10:01:46 -07:00