Ward Fisher
30e1cca0d0
Reorganized file/datastream IO functions in documentation.
2016-01-14 15:50:50 -07:00
Ward Fisher
3f27ec6db4
Tightening the Doxygen documentation.
2016-01-14 15:33:50 -07:00
Ward Fisher
75b0bcf07e
Trying to sort out why netcdf parallel documentation isn't being generated.
2016-01-14 11:02:23 -07:00
Ward Fisher
0ffbdee1eb
Walking back API changes.
2016-01-04 21:59:51 +00:00
Ward Fisher
c616b53358
Walking back some of the changes to see if they were necessary (hard to tell), which should hopefully fix netcdf-cxx4 compatibility.
2016-01-04 14:49:47 -07:00
Ward Fisher
21be11b031
Resolve merge conflict.
2016-01-04 14:22:26 -07:00
Ward Fisher
bd92caa176
More changes towards fixing the issue where the file is read incorrectly.
2015-12-28 17:36:05 +00:00
Ward Fisher
925da14d2a
Some additional errors reared up after fixing the main frustrating one. Working towards fixing them.
2015-12-24 01:37:42 +00:00
Ward Fisher
99092217f3
Addressed github issue https://github.com/Unidata/netcdf-c/issues/171
2015-12-08 15:06:30 -07:00
Greg Sjaardema
2ae0e45cd3
Remove hard-wired use of NC_MAX_DIMS
...
Replace static array dimensioned to NC_MAX_DIMS with dynamic memory allocation of correctly sized array.
2015-11-11 14:01:18 -05: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
Ward Fisher
ee9a68e931
Modified behavior when an unknown error is handled by libpnetcdf.
2015-10-28 16:44:54 -06:00
Ward Fisher
1979a1ca5f
Corrected an issue on 32-bit Windows.
2015-10-27 12:31:36 -06:00
Ward Fisher
d5ce804744
The issue (at least this one) in nctest is solved. In dv2i.c, line 896 (or thereabouts), a long variable was being passed to a function expecting a ptrdiff_t. These are not compatible sizes, on Windows.
2015-10-27 12:04:03 -06:00
dmh
7480d7d97d
- clean up the dfile.c confusion about NC_64_BIT_OFFSET
...
- sync oc2 with master for https://DennisHeimbigner@github.com/Unidata/oc.git
- Cleanup auth.html documentation.
- Cleanup obsolete documentation.
2015-10-24 21:45:13 -06:00
Ward Fisher
a359cb6a53
Reverted some of the spelling corrections. Some misspellings were intentional
2015-10-16 14:36:17 -06:00
Ward Fisher
99c3112c50
Modified doxygen reference to remove a warning.
2015-10-15 12:23:18 -06: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
fab66699d1
Moved libsrc5 to libsrcp
...
because pnetcdf is used for
more than CDF-5 files.
2015-08-14 20:39:56 -06:00
Ward Fisher
f97088412a
Corrected a potential memory leak reported by static analysis.
2015-07-10 15:10:32 -06:00
Ward Fisher
7bb61718bf
Corrected a couple of minor issues reported by static analysis.
2015-07-10 15:09:14 -06:00
dmh
dbc7215063
1. fix nc_open_mem doxygen description
...
2. fix some bugs wrt to cygwin vs linux.
3. add to RELEASE_NOTES
4. try to fix tst_inmemory fd error by putting the first
arg to dotest in quotes.
2015-05-28 19:23:33 -06:00
dmh
3dd807a155
The original mem branch somehow got
...
hosed, so I rebuilt it as a new mem2 branch.
2015-05-28 15:10:10 -06:00
Ward Fisher
ee006f4938
Updated convention documentation, added param and returns tags to comment header for nc_inq_unlimdims
2015-03-13 14:02:20 -06:00
Ward Fisher
b6d24186d9
Formated auth.md to remove the bevy of format warnings included. Moved it to a sub-section of the NetCDF User's Guide, until a better place for it is found. It seems like we should have a DAP-related page/documentation group.
2015-03-12 11:08:23 -06:00
Russ Rew
67ad8d89a8
Fix and test resolution of NCF-326, Unlimited Dimensions NC_EEDGE error.
2015-03-10 06:13:07 -06: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
Ward Fisher
790de7121e
Removed redundant error group.
2014-12-09 15:57:59 -07:00
Ward Fisher
e4f8489bc3
Reorganized Copyright file, removed some improper references.
2014-12-08 13:13:08 -07:00
dmh
d67d00ca7e
re NCF-319
...
The pnetcdf support was not
properly being used to provide
mpi parallel io for netcdf-3 classic
files. The wrong dispatch table was being
used. The fix was to modify
dfile.c#NC_check_file_type to properly
specify the pnetcdf dispatch table when
use_parallel was true.
2014-10-13 14:33:06 -06:00
dmh
938e8d260e
test pnetcdf
2014-10-12 21:29:55 -06:00
dmh
8a71ed7569
Partially deprecated varm function
2014-10-12 12:38:41 -06:00
dmh
7c7db22bc7
Removed some useless code
2014-10-11 12:27:17 -06:00
dmh
6d22cbb203
Name conflict when using mpi see NCF-317
2014-10-07 16:24:17 -06:00
dmh
31d15ec532
re: NCF-317
...
If the netCDF-C library is built with the
HDF5 library but without the HDF4 library and one attempts
to open an HDF4 file, an abort occurs rather than returning
a proper error code (NC_ENOTNC).
Fix is to modify dfile.c#NC_check_file_type to properly
#ifdef relevant tests.
2014-10-07 12:37:41 -06:00
Ward Fisher
b0de596344
Merge branch 'fix-crash-on-malformed-uris' of https://github.com/martin-steghoefer/netcdf-c into martin-steghoefer-fix-crash-on-malformed-uris
2014-10-06 10:49:40 -06:00
Ward Fisher
d4c9482ab6
Coverity: 1243512, Resource Leak.
2014-10-06 10:48:11 -06:00
Martin Steghöfer
a9012c7bfe
Fix segmentation fault when parsing malformed URLs (e.g. "http:/").
2014-10-05 19:28:03 +02:00
dmh
1739c50622
Modified a number of tests
...
to make use of remotetest.unidata.ucar.edu
optional. Purpose is purely for testing
new dts and thredds servers.
2014-10-04 15:59:16 -06:00
dmh
92121f5ad5
Conflict resolution
2014-08-29 14:52:16 -06:00
dmh
be329e7a23
Add ability to programmatically
...
extract info from libnetcdf.settings
API is below.
I have made this API public yet
by adding it to netcdf.h. I will
do that when everyone is agreed on the
proper API.
extern const char* nc_settings(const char* key); /*get value of a specific key */
extern const char** nc_settings_all(); /*get all settings in envv format */
extern void nc_settings_reclaim(); /* reclaim all space and clean up */
Envv format is
{key,value}*,NULL
Also added test: nc_test/tst_settings.c
2014-08-29 14:51:14 -06:00
Russ Rew
430fe00c22
Remove premature ncsettings stuff
2014-08-28 14:44:24 -06:00
dmh
9e43180470
JIRA: NCF-311
...
Initial attempt to make libnsetcdf.settings
accessible programatically.
Added libdispatch/ncsettings.hdr
used to construct ncsettings.c
See end of libdispatch/Makefile.am to
see how ncsettings.c is constructed.
2014-08-26 12:28:38 -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
88d01e4c08
Coverity: 715198. Removed redundant goto fail() stanzas.
2014-08-26 10:36:06 -06:00
Ward Fisher
b25dbcd24a
Added an explicit error message string to nc_strerror for NC_ECANTEXTEND.
2014-08-18 14:24:16 -06:00
dmh
18eb1c1126
Coverity fixing
2014-08-17 12:03:23 -06:00
Ward Fisher
6c071be031
Corrected issues where functions were not available in Windows. Specifically strndup. Also accomodated an included needed for getcwd.
2014-08-07 17:03:27 -06:00
Ward Fisher
b92c26943d
Coverity: 1229473
2014-08-01 10:47:20 -06:00