Dennis Heimbigner
835511eaeb
HDF5 is generating unnecessary error messages when netcdf4 logging is enabled
...
re: github netcdf-c issue #271
This occurs for several reasons, including:
1. using H5Aopen_name instead of H5Aexists to test if attribute exists.
2. using H5Eset_auto instead of H5Eset_auto2.
There are probably others that will have to be extinguished as encountered.
p.s Hope I did not overdo this and kill too much.
2016-05-27 10:08:01 -06:00
Ward Fisher
9ccb1bcd60
Correction.
2016-04-28 15:29:48 -06:00
Ward Fisher
9b15f9c0dc
Restored some accidentally-deleted lines.
2016-04-28 15:20:11 -06:00
Ward Fisher
107a670419
Oops, that should have goe into ncd2dispatch.h of course.
2016-04-28 14:30:29 -06:00
Ward Fisher
0e05f0e32f
Added config.h to ncd2dispatch.c
2016-04-28 14:30:00 -06:00
Ward Fisher
2e56f02497
Cordoned off netcdf4-only functions that were exposed when netcdf-4 was disabled (but DAP was turned on), causing link errors. See https://github.com/Unidata/netcdf-c/issues/255 for details.
2016-04-28 14:28:16 -06:00
dmh
764a1c40a3
ckp
2016-04-06 19:51:40 -06:00
Dennis Heimbigner
a8ff523677
ckp
2016-04-06 14:05:58 -06:00
Dennis Heimbigner
66fcf79d77
Github issue: https://github.com/Unidata/netcdf-c/issues/206
...
Re e-eupport VGQ-678069
It was noticed that an attribute value of "nan." was being treated as
legal (it should be "nan"). The reason is that sscanf was not be checked
to see that all the attribute value characters were being read.
Solution is to verify that all characters were being consumed.
2016-02-02 13:06:57 -07:00
dmh
47e10591b4
ckp
2015-11-19 13:44:55 -07:00
Ward Fisher
c053de5d0c
Corrected a static-analysis detected error state where a null pointer could be passed to strcmp
2015-11-17 11:26:38 -07:00
Ward Fisher
612b35a84c
Merge branch 'master' into cdf-5, in preparation for merging the CDF-5 functionality into the master branch. This will be the key new feature for netcdf 4.4.0.
2015-11-05 13:40:35 -07:00
tbeu
e2820e4d8a
Fix common typos
...
Detected by https://github.com/vlajos/misspell_fixer
2015-08-20 11:42:05 +02:00
dmh
859f105005
merge-squash
2015-08-15 16:26:35 -06:00
dmh
c5fe913d54
re: https://github.com/Unidata/netcdf-c/issues/117
...
It appears the problem is that synth9 was erroneously
included in testing. It involves a nested sequence which
is not translatable. Not sure why it was still there,
but fix is to suppress the test.
2015-07-05 19:26:01 -06:00
dmh
7bb344982e
Undo commit 6f753dacd1
.
...
Apparently not needed after all.
2015-06-17 15:31:52 -06:00
dmh
6f753dacd1
1. fix a missing socklen_t problem.
2015-06-17 14:06:51 -06:00
Ward Fisher
0693b42078
For some reason, setting DAPDEBUG and OCDEBUG to 1 causes a bunch of failures on OSX.
2015-05-27 11:04:09 -06:00
dmh
ab5022256d
need to set -e many of the .sh programs
2015-05-16 15:46:39 -06:00
Ward Fisher
62aef5e262
Modified a couple other sscanf calls.
2015-05-08 14:02:12 -06:00
Ward Fisher
2574f11dbd
Removed additional debug info.
2015-05-08 14:02:12 -06:00
Ward Fisher
0d8be16398
Removed some debugging stanzas.
2015-05-08 14:02:11 -06:00
Ward Fisher
b7289cdfa4
Further debugging for [NCF-330]. Making decent progress using the debug flags Microsoft provides. See JIRA issue for links to documentation describing these flags.
2015-05-08 14:02:11 -06:00
dmh
06a11e51df
1. Allow for the user specified rc file via the env variable
...
NCRCFILE. Note that the value of this environment
variable should be the absolute path of the rc file, not
the path to its containing directory.
2015-03-03 20:17:27 -07:00
Ward Fisher
2d3d747b17
Corrected a couple of dereferencing-null errors identified by static analysis.
2015-02-10 13:51:52 -07:00
Ward Fisher
64e69f26f3
Resource leak, coverity 1264410
2015-01-20 11:00:03 -07:00
dmh
65f78d6a8b
1. synch with oc
...
2. replace all occurrences of
'template' with 'pattern'
since template is reserved in windows.
2015-01-15 14:19:51 -07:00
dmh
f423f27693
Sync with oc project.
...
This supports better authorization
handling for DAP requests, especially redirection
based authorization. I also added a new test case
ncdap_tests/testauth.sh.
Specifically, suppose I have a netrc file /tmp/netrc
containing this.
machine uat.urs.earthdata.nasa.gov login xxxxxx password yyyyyy
Also suppose I have a .ocrc file containing these lines
HTTP.COOKIEJAR=/tmp/cookies
HTTP.NETRC=/tmp/netrc
Assume that .ocrc is in the local directory or HOME.
Then this command should work (assuming a valid login and password).
ncdump -h "https://54.86.135.31/opendap/data/nc/fnoc1.nc "
2014-12-24 10:22:47 -07:00
dmh
7de1f7bef8
oc synch
2014-11-30 20:30:23 -07:00
Ward Fisher
a641a8834d
Addressed a memory leak issue identified by static analysis.
2014-10-01 16:18:00 -06:00
Ward Fisher
b43813d821
When using the '-ansi' flag with gcc, netcdf would fail to build because of the use of '//' for one-line comments. I've addressed this by replacing instances of // with enclosing comment blocks.
2014-08-26 11:19:32 -06:00
Ward Fisher
1c079da460
Fixed coverity issue.
2014-08-22 15:12:24 -06:00
dmh
b274c6f6dc
Coverity fixes
2014-08-17 14:12:19 -06:00
dmh
46063247cb
conflict resolution
2014-08-17 12:52:53 -06:00
dmh
18eb1c1126
Coverity fixing
2014-08-17 12:03:23 -06:00
Ward Fisher
d25b94f92d
Coverity: 712596
2014-08-15 16:09:07 -06:00
Ward Fisher
bc141aef5a
Fixed error with previous merge that prevented compilation.
2014-08-11 20:29:18 -06:00
Dennis Heimbigner
b5aa5924a9
double attempt to fix coverity error
2014-08-11 16:13:45 -06:00
Dennis Heimbigner
f2e2a2c266
Fix coverity errors CID 1230781
...
and 1230782,
2014-08-11 16:12:14 -06:00
Ward Fisher
84fadd3de7
Coverity: 1230781. Oops! Fixing my previous fix.
2014-08-11 14:34:24 -06:00
Ward Fisher
60461bd138
Coverity: 711764
2014-08-11 12:55:25 -06:00
Ward Fisher
a98157437d
Coverity: 712599
2014-08-11 12:52:57 -06:00
Ward Fisher
d3c122e8bb
Coverity issue 1197642
2014-08-11 12:33:25 -06:00
Ward Fisher
d18b93e0d2
Coverity issue: 711827
2014-07-31 15:59:47 -06:00
Ward Fisher
1ddaa1d310
Coverity issue: 1197640
2014-07-31 15:34:52 -06:00
Ward Fisher
906f2ae3ac
Addressed Coverity issue 1197638
2014-07-29 10:44:50 -06:00
dmh
cd2574ba7c
Change assertion failure to a error
2014-07-23 11:25:49 -06:00
Ward Fisher
16cb63a223
Corrected a couple of Unix API issues reported by static analysis.
2014-07-15 12:34:43 -06:00
dmh
0a954fc58d
Merge branch 'master' of http://github.com/Unidata/netcdf-c
2014-07-08 09:21:19 -06:00
dmh
7689f8be32
JIRA: NCF-308
...
Jennifer Adams has requested a reversion in behavior so that
all dap requests include a constraint.
Problem is caused by change in prefetch where if all variables
are requested, then no constraint is generated.
Fix is to always generate a constraint in prefetch.
2014-07-07 14:08:19 -06:00