Commit Graph

4958 Commits

Author SHA1 Message Date
Dennis Heimbigner
1246dd189b merge master 2018-03-20 21:50:58 -06:00
Dennis Heimbigner
e6e3583e30 Merge branch 'master' into ncdaptestsclean.dmh 2018-03-20 21:37:35 -06:00
Dennis Heimbigner
05d078a8b0 The ncdap_tests were a mess, so I decided to clean them up
to remove cruft and to remove unused site tests
and make the tests somewhat more understandable.

Also did a fix to libdispatch/dwinpath to convert
relative paths to absolute paths. This will, I hope,
take care of some windows path problems when using
$srcdir in shell scripts.
2018-03-20 21:31:31 -06:00
Ward Fisher
fe0d0ac28c
Merge pull request #878 from Unidata/newhash1.dmh
This is the second step in refactoring the libsrc4 code.
2018-03-20 21:26:36 -06:00
Ward Fisher
1c148a580b Corrected double declaration. 2018-03-20 14:41:21 -06:00
Ward Fisher
36c4b7947d Merge branch 'master' into newhash1.dmh 2018-03-20 11:20:14 -06:00
Ward Fisher
9e0e9c1f41 Merge branch 'master' into merge-4.6.1-upstream 2018-03-19 22:56:22 -06:00
Ward Fisher
b7c6618392 Updated release notes to reflect delay in pushing out new release. 2018-03-18 17:06:49 -06:00
Dennis Heimbigner
313c4ccdb7 fix to ftp problem 2018-03-17 20:26:28 -06:00
Dennis Heimbigner
dc8c08f939 forgot to add files to repo 2018-03-17 19:09:49 -06:00
Dennis Heimbigner
cc136cad08 Add a configurable "test case" that will create
and then open a file with a lot of metadata.
The test is configurable to determine the parameters
for the created metadata.
2018-03-17 16:25:13 -06:00
Ward Fisher
57f329eea5 Updated email in code of conduct. 2018-03-16 14:56:08 -06:00
Ward Fisher
5615f9d9ce Adopted the same Code of Conduct as MetPy, which is in turn taken from https://www.contributor-covenant.org. 2018-03-16 14:52:26 -06:00
Ward Fisher
a747922bff Adopted codeowners file from metpy project; this is a technical ownership and is not asserting ownership of code/copyright. Any code that does not have an obvious owner (from the perspective of github) will default to @WardF and @DennisHeimbigner 2018-03-16 14:46:08 -06:00
Dennis Heimbigner
efe2fa727e Fix bug: Index exceeds dimension bound
Fix github issue https://github.com/Unidata/netcdf-c/issues/899
which came from e-support UOY-859712.

The problem was that the vlen_max parameter
to libsrc/var.c#NC_check_vlen was of type size_t.
However, it is being called, sometimes, with values
of size X_INT64_MAX. The resulting truncation was
causing dimension failures as noted in the e-support
report.

Fix is to change the vlen_max argument (and some
local variables in NC_check_vlen) to be of declared
as unsigned long long.
2018-03-16 13:54:33 -06:00
Dennis Heimbigner
b70f67a891 add --passive-ftp 2018-03-16 12:52:59 -06:00
Dennis Heimbigner
e671e78300 Forgot to add run_filter to EXTRA_DIST 2018-03-16 12:14:51 -06:00
Dennis Heimbigner
25f062528b This completes (for now) the refactoring of libsrc4.
The file docs/indexing.dox tries to provide design
information for the refactoring.

The primary change is to replace all walking of linked
lists with the use of the NCindex data structure.
Ncindex is a combination of a hash table (for name-based
lookup) and a vector (for walking the elements in the index).
Additionally, global vectors are added to NC_HDF5_FILE_INFO_T
to support direct mapping of an e.g. dimid to the NC_DIM_INFO_T
object. These global vectors exist for dimensions, types, and groups
because they have globally unique id numbers.

WARNING:
1. since libsrc4 and libsrchdf4 share code, there are also
   changes in libsrchdf4.
2. Any outstanding pull requests that change libsrc4 or libhdf4
   are likely to cause conflicts with this code.
3. The original reason for doing this was for performance improvements,
   but as noted elsewhere, this may not be significant because
   the meta-data read performance apparently is being dominated
   by the hdf5 library because we do bulk meta-data reading rather
   than lazy reading.
2018-03-16 11:46:18 -06:00
Ward Fisher
4b2902809a Bumped SO version 2018-03-15 14:38:26 -06:00
Ward Fisher
8536e7c765 Updated release notes in support of the v4.6.1 release. 2018-03-15 14:34:57 -06:00
Ward Fisher
74d9767ec0
Merge pull request #901 from Unidata/v4.6.1-release-branch.wif
V4.6.1 release branch.wif
2018-03-15 14:30:26 -06:00
Ward Fisher
6074ef0751 Merge branch 'dmh_merge_aggregate.wif' into v4.6.1-release-branch.wif 2018-03-15 11:42:44 -06:00
Ward Fisher
ede8f1b02e Bumping to post-4.6.1-release, for merge back into master. 2018-03-15 11:29:32 -06:00
Ward Fisher
a699d37816 Updated release notes. 2018-03-15 11:03:38 -06:00
Ward Fisher
44852d8d9d Merge remote-tracking branch 'origin/triplehost.dmh' into dmh_merge_aggregate.wif 2018-03-15 11:00:38 -06:00
Ward Fisher
620be6aee7 Merge remote-tracking branch 'origin/ncpyfilter.dmh' into dmh_merge_aggregate.wif 2018-03-15 11:00:19 -06:00
Ward Fisher
0b008fae62 Fencepost for unistd.h 2018-03-12 11:08:50 -06:00
Ward Fisher
6883bb279b
Merge branch 'master' into triplehost.dmh 2018-03-08 15:48:45 -07:00
Ward Fisher
1e0cf1136c
Merge branch 'master' into ncpyfilter.dmh 2018-03-08 15:48:40 -07:00
Ward Fisher
40f91ade8a
Merge branch 'master' into ejh_cleanup 2018-03-08 15:48:37 -07:00
Ward Fisher
c86f5f01be Corrected typo. 2018-03-08 16:17:27 -05:00
Ward Fisher
f0df5fad56 Substituting wget for curl to see if that fixes the strange error we are seeing on travis. 2018-03-08 15:27:42 -05:00
Ed Hartnett
570accd257 cleaned up 2018-03-08 04:04:53 -07:00
Ward Fisher
f6a036619a
Merge pull request #895 from NetCDF-World-Domination-Council/ejh_hdf4_more
Move HDF4 tests to their own directory
2018-03-07 21:25:45 -07:00
Ward Fisher
9f801085f6
Merge branch 'master' into ncpyfilter.dmh 2018-03-07 13:04:39 -07:00
Dennis Heimbigner
6e5490b6d2
Merge branch 'master' into triplehost.dmh 2018-03-06 13:00:43 -07:00
Ward Fisher
e2e09a358b
Merge branch 'master' into ejh_hdf4_more 2018-03-05 13:02:20 -07:00
Ward Fisher
5e705e85b8
Merge pull request #632 from wkliao/big_var_on_32bit
large files on 32-bit machines
2018-03-05 10:26:14 -07:00
Ward Fisher
66fb19ab36
Merge branch 'master' into big_var_on_32bit 2018-03-05 09:35:23 -07:00
Ed Hartnett
016049e509 fixed makefile for hdf4_test 2018-03-05 05:53:41 -07:00
Ed Hartnett
a5713f7ac0 fixed cmake build for hdf4_tests 2018-03-05 05:38:00 -07:00
Ed Hartnett
4e646e03f6 fixed cmake build file 2018-03-05 05:03:46 -07:00
Ed Hartnett
a9457a6169 fixed cmake build file 2018-03-05 04:52:53 -07:00
Ed Hartnett
3e6661e1b1 fixed name 2018-03-05 04:22:15 -07:00
Ed Hartnett
a8af8d4cdf merged PR 888 2018-03-05 03:57:30 -07:00
Ed Hartnett
17f7a76356 moved HDF4 tests 2018-03-05 03:45:18 -07:00
Ward Fisher
c359a0e96a
Merge branch 'master' into newhash1.dmh 2018-03-04 22:40:51 -07:00
Dennis Heimbigner
7b324657d4
Merge branch 'master' into ncpyfilter.dmh 2018-03-02 19:49:43 -07:00
Ward Fisher
04be884eb6
Merge pull request #893 from Unidata/pr-aggregation2.wif
Second Try: Aggregation of Pull Requests
2018-03-02 19:26:01 -07:00
Dennis Heimbigner
dd4e71c150 1. Solve issue raised on netcdfgroup mailing list:
https://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2018/msg00020.html
See docs/filters.md for a detailed description of the solution.
Basically we add nccopy flags "-F none" and "-F <varname>:none"
to suppress output compression as desired.

2. Add tests to nc_test4/tst_filter.sh to test out the solution.
2018-03-02 16:55:58 -07:00