Dennis Heimbigner
228e8439d2
1. The code to parse a constraint
...
was losing the initial double quote
for a quoted string.
2. The code in ncuri.c was not properly
handling occurrences of e.g. %xx
2013-05-16 21:37:58 +00:00
Dennis Heimbigner
ce290d3459
Fix Jirs 255
...
The DAP code compiles constraints into an internal
tree form. When it goes to fetch data, it converts
that tree form into a string suitable for use in a url.
The tree->string code was using '<' when it should be
using '<=' and vice versa.
The fix is to make sure the right operator is used.
2013-05-16 18:22:17 +00:00
Dennis Heimbigner
253a26cb82
change format of url parameters in fragment part
2013-05-13 19:12:37 +00:00
Dennis Heimbigner
de34ed2d5b
merge from netcdf/trunk prior to merge back to trunk
2013-05-11 19:37:38 +00:00
Dennis Heimbigner
79215c77ae
Allow dapodom.[ch] to be used in tests
2013-05-11 19:34:54 +00:00
Dennis Heimbigner
c583f91992
merge with trunk and fix conflicts
2013-05-10 17:04:28 +00:00
Dennis Heimbigner
19c1c11f1d
It turns out that my dap code
...
is not properly checking the incoming
count argument for nc_get_vars.
It is treating the count as pre-stride
rather than post-stride.
2013-05-01 22:31:01 +00:00
Ward Fisher
67f96188ff
Merged latest from netCDF-cmake branch in preparation for 4.3.0 release.
2013-04-23 21:50:07 +00:00
Dennis Heimbigner
e3a4a617cf
Add test for Jira NCF-249
2013-04-23 21:06:14 +00:00
Dennis Heimbigner
7e8bfb01f3
Fix jira NCF-249
2013-04-23 20:18:16 +00:00
Dennis Heimbigner
e960416761
Fix JIRA NCF-248
2013-04-23 18:02:35 +00:00
Dennis Heimbigner
f17e7324c1
Rebuilt the compose operation in dceconstraints.c. The
...
revisions are simpler, and I hope, clearer than the all
previous versions. Part of the code taken from the
ucar.nc2.Range.compose function. Modified to handle edge
cases not handled in the Range.compose function.
2013-04-19 19:55:43 +00:00
Dennis Heimbigner
b5697ae20f
Rebuild the projection merging code
2013-04-17 18:58:37 +00:00
Ward Fisher
b113f6f8b6
Merged a handful of changes from netcdf-cmake branch.
...
Addressed the following coverity issues:
711762
711763
711766
711788
711933
711934
711935
2013-04-16 23:02:54 +00:00
Ward Fisher
4a274b9870
Merged latest changes from cmake development branch.
...
Addressed a number of memory-related problems
reported by Coverity.
2013-04-02 22:09:31 +00:00
Dennis Heimbigner
c659633d2e
merge from trunk
2013-03-26 16:45:02 +00:00
Dennis Heimbigner
ab17dded89
Caron says to use thredds-test
...
as the default test server.
2013-03-25 18:01:32 +00:00
Dennis Heimbigner
4e41843740
1) fix some minor bugs when pnetcdf is enabled 2)Comment out some apparently unused procedures
2013-03-25 17:12:50 +00:00
Dennis Heimbigner
9b4db7a039
Make some things static that do not need to be externally visible
2013-03-24 17:33:17 +00:00
Dennis Heimbigner
dea3c726c8
merge trunk into this branch
2013-03-15 20:31:07 +00:00
Dennis Heimbigner
1abb2ecb56
Fix jira NCF-243
...
Problem was that the NC_create
code was not checking for the NC_CLASSIC_MODEL
mode flag in deciding what dispatch table to use.
This meant that it was then defaulting to use
the default format, and if that was changed
to e.g. NC_FORMAT_NETCDF4, then it would try
to create a netcdf-4 format file, even is
NC_CLASSIC_MODEL mode flag was set.
2013-03-15 20:03:59 +00:00
Ward Fisher
6096f6b43b
Merged changes from CMake branch.
...
Addressed a handful of memory leaks
reported by Coverity.
2013-03-14 22:49:21 +00:00
Dennis Heimbigner
9eaac2a595
Apply Wei-Keng's fix
...
for JIRA issue NCF-241.
This is only temporary
until I can make pnetcdf
operate as a separate dispatch table.
Also, fix nc_test4/tst_pnetcdf
to open with nc_open_par;
this is necessary because a pnetcdf
created file cannot be opened
as a netcdf classic file.
2013-03-13 17:34:47 +00:00
Dennis Heimbigner
c18c90b012
removed some unused local variables
2013-03-12 20:45:58 +00:00
Dennis Heimbigner
d70cf6d10c
Primary change is to add ability
...
to do prefetch on either a lazy
or eager basis. Lazy means that
the prefetch does not occur
until and unless the client actually
makes a get_var request.
Also repaired a problem where
doing prefetch wrt a url that
has a constraint will prefetch
a whole variable if its constrained
size is small enough, even if the
underlying variable is too large
to warrant prefetch.
2013-03-03 04:06:43 +00:00
Dennis Heimbigner
6cf31dcf2d
jira: NCF-232: bad conversion of grids
2013-02-26 04:31:06 +00:00
Ward Fisher
ddf3c31bb0
Corrected a handful of syntax issues in CMake config files,
...
probably introduced more.
Added CMake-related files to Makefile.am files for inclusion
when creating a distribution package.
2013-02-20 23:28:28 +00:00
Dennis Heimbigner
b0b6c77a3e
1. corrected the nc_get_varm/put_varm documentation
...
to indicate that they only work for atomic types,
not user defined types.
2. modified NCDEFAULT_{get/put}_vars to no longer use
nc_get/put_varm. They now directly use nc_get/put_vara
directly. This means that nc_get/put_vars now work
properly for user defined types as well as atomic types.
3. Added test cases for get_vars/put_vars with a
user defined type. Tests placed into
nc_test/tst_compounds.c
2013-02-17 23:42:15 +00:00
Dennis Heimbigner
4109174d00
Add quick check for Error {...} at start of the datadds data part
2013-02-07 22:14:57 +00:00
Dennis Heimbigner
ccb523fb56
add fix for '/' in dap names plus test
2013-02-04 18:49:48 +00:00
Dennis Heimbigner
2200f01f4d
fix NCF-218: bug in oc2/dap.y parser
2013-01-30 22:56:12 +00:00
Dennis Heimbigner
7f58fc9400
fix bug in % encoding of dap names
2013-01-30 21:33:31 +00:00
Dennis Heimbigner
c11e78314e
periodic sync of oc2 dir with the official oc2.0 repository
2012-12-18 21:08:23 +00:00
Ward Fisher
81280c7878
Merge from latest netcdf-cmake branch.
...
- Fixes for Windows.
- CMake-based changes (functionality, tests).
- Smattering of coverity-informed bug-fixes.
2012-12-05 18:35:42 +00:00
Dennis Heimbigner
0803ba20ba
fix Jira NCF-208; but note that this causes test.06 to fail because thredds mishandles grids
2012-11-21 23:57:42 +00:00
Ward Fisher
876861cc07
Corrected a static-memory overrun. It was causing a segfault on my
...
32-bit linux VM, but nowhere else. Coverity identified the issue
(defect 743616), and correcting it fixed the crash.
2012-11-20 23:00:17 +00:00
Ward Fisher
ff631c8156
Merged latest changes from cmake branch.
...
o Improved CMake support.
o Cmake module compatibility (netcdf-config*.cmake.in).
2012-11-19 21:43:12 +00:00
Dennis Heimbigner
cb1f6f0ae9
repair bad dap names
2012-11-19 21:26:34 +00:00
Ward Fisher
afa67452f6
Took some time to address a handful of errors identified by Coverity.
...
Primarily focused on memory errors falling into a couple different types:
1) Static overrun errors.
2) Dereference uninitialized memory errors.
make distcheck works after applying these fixes, and coverity no longer sees an issue, so hopefully they are properly resolved.
2012-11-14 18:24:45 +00:00
Ward Fisher
45f77090a1
Addressed a handful of minor 'fixed-length buffer overrun'
...
errors identified by Coverity. The fixes involved replacing calls
to strcpy, strcat with strncpy, strncat.
2012-10-31 21:31:47 +00:00
Dennis Heimbigner
076e78e91c
Fix Jira bug NC-198
2012-10-02 14:54:19 +00:00
Ward Fisher
7a226dd3f1
Merging the win_netcdf branch into the trunk.
2012-09-27 22:50:41 +00:00
Ward Fisher
650c6fe362
Corrected MSVC-related issues with DAP. Renamed variables to avoid collision with reserved words, enclosed includes with appropriate ifdefs, other minor changes.
2012-09-20 16:31:31 +00:00
Ward Fisher
e55d002dbc
Merged Dennis' changes from trunk.
2012-09-06 21:15:37 +00:00
Dennis Heimbigner
5ca78309cc
The effect of this change is to make the struct NC structure
...
contain as little file-type specific info as possible. It
modifies especially libsrc so that all of the netcdf-3 data
that used to be in struct NC is now kept in a separate chunk
of data pointed to by the struct NC. This makes all of
current protocols consistent: netcdf-3, netcdf-4, and dap.
2012-09-06 19:44:03 +00:00
Ward Fisher
235fc6bb13
Merged latest trunk into branch
2012-08-22 19:52:24 +00:00
Dennis Heimbigner
3c843c9578
add more debug output to try to find Ward's bug
2012-08-21 16:46:10 +00:00
Ward Fisher
e8453be1e5
Merged from trunk into branch
2012-08-20 18:30:04 +00:00
Dennis Heimbigner
2a0d68c530
update nchashmap; move some old stuff in libdap2; fix new debug code
2012-08-19 21:12:35 +00:00
Dennis Heimbigner
685e1bf66a
add extra debug about findbod
2012-08-17 20:51:03 +00:00
Dennis Heimbigner
65350dc361
fix Jira bug NCF-191 reported by Manke
2012-08-15 17:55:25 +00:00
Ward Fisher
ffb7dc6f0d
Merged latest trunk into branch
2012-08-13 19:57:51 +00:00
Ward Fisher
14619ec4c4
2012-08-09 18:40:41 +00:00
Dennis Heimbigner
ab1423e742
resolve jira NCF-188
2012-08-09 17:32:11 +00:00
Ward Fisher
0607b62375
Added coverage test flags to CMakeLists.txt files.
2012-08-09 17:07:41 +00:00
Dennis Heimbigner
666786d48b
testing nc_inq_format help
2012-08-09 16:57:35 +00:00
Dennis Heimbigner
499f8d3a1c
complete update of utilities: ncbyte, nclist, ncuri, nclog
2012-08-08 23:15:18 +00:00
Ward Fisher
0d90326575
Integrated latest changes to trunk, added preliminary CPack support.
2012-08-02 22:56:57 +00:00
Dennis Heimbigner
bc3a732e25
fix e-support YOP-841363 plus a number of coverity found bugs
2012-08-02 18:43:21 +00:00
Ward Fisher
1af2b768b0
Merged changes from trunk (mainly Dennis' oc2 inclusion).
2012-07-31 22:04:25 +00:00
Dennis Heimbigner
42999f4c7c
move from oc1.0 to oc2.0; create new dir oc2
2012-07-31 20:34:13 +00:00
Ward Fisher
dfdad6adf7
Additional CMake support changes.
2012-07-24 22:53:58 +00:00
Dennis Heimbigner
b1984d2618
fix jira bug NCF-184
2012-07-24 19:51:04 +00:00
Dennis Heimbigner
1041a4c25b
add procedure and program to locate a working dts test server
2012-06-22 21:54:52 +00:00
Ward Fisher
1ca8b5d09c
Updating the scripts to make sure the libraries being linked again are consistent.
2012-06-11 19:44:32 +00:00
Ward Fisher
b676336b6c
o Added configuration script for 32-bit dll w/ DAP support.
...
o Corrected the check for curl when building DLL. For some reason it just assumed it was missing? No real check was performed.
o Made configuration scripts a little more generic.
o Modified daputil.h to externalize nc__testurl on Windows.
2012-06-07 22:35:17 +00:00
Dennis Heimbigner
d144438455
fix temp file creation problems re: wfisher
2012-06-06 21:33:53 +00:00
Dennis Heimbigner
5b2aee44a7
windows support fixes plus add --disable-diskless
2012-05-15 17:48:27 +00:00
Dennis Heimbigner
4f68d6c5f8
win32/mingw fixes
2012-05-15 03:13:08 +00:00
Dennis Heimbigner
79c751b806
catch some distclean files
2012-05-13 18:42:10 +00:00
Dennis Heimbigner
77de04bb29
fix memory overflow bug (HT to Larry Knox)
2012-05-03 17:15:41 +00:00
Dennis Heimbigner
00e50f5a44
1. changed from using port 8080 to 8081 for motherlode
...
2. Fixed Ward's IGNORE problem with oc
3. Mmap support now works.
4. Fix an uninitialized variable pointed out by Russ in dnclog.c
2012-04-22 20:34:21 +00:00
Dennis Heimbigner
5536bccee1
allow NC_DISKLESS with nc_open() to operate as a in-memory cache
2012-04-08 22:47:38 +00:00
Dennis Heimbigner
f5bd3bf525
cleanup and remove unused code
2012-04-01 20:15:06 +00:00
Dennis Heimbigner
7e27052f87
- Implemented diskless files for both netcdf classic and extended.
...
The in-memory files can be made persistent if nc_create is called with
NC_DISKLESS|NC_WRITE flags set. Initial test case also included.
- Modified ncio mechanism to support
multiple ncio packages; this is so we
can have posixio and memio operating
at the same time.
- cleanup up a bunch of lint issues (unused variables, etc).
2012-03-26 01:34:32 +00:00
Dennis Heimbigner
99eef24bc2
- Fix NCF-158 to modify ncgen flag defaults.
...
- Fix NCF-157 to modify DAP code to support
partial variable retrieval.
- Fix of NCF-154 to solve problem of ncgen
improperly processing data lists for variables
of size greater than 2**18 bytes.
- Fix ncgen processing of char variables that have
multiple unlimited dimensions.
- Partly fix Jira issue: NCF-145 (vlen issues).
- Benchmark program nc_test4/tst_ar4_*) requires arguments
and should only be invoked inside a shell
script; fixed so that they terminate cleanly
if invoked with no arguments.
- Fix the Doxygen processing so it will work
with make distcheck.
- Begin switchover to using an alternative to ncio.
- Begin support for in-memory (diskless) files.
2012-03-14 23:26:48 +00:00
Dennis Heimbigner
787d32fffd
changed form of some static data to work with cxx4
2012-03-08 22:21:12 +00:00
Dennis Heimbigner
5f6c865543
fixed minor malloc problem
2012-02-15 19:15:03 +00:00
Dennis Heimbigner
ea1af11655
Resolve Lynton's vlen problems (partially) re: jira NCF-145
2012-02-14 00:25:32 +00:00
Dennis Heimbigner
3e592a2604
fix dap string handling
2012-02-03 21:31:50 +00:00
Dennis Heimbigner
f23cc01112
Add Surface_METAR_20120101_0000.nc test
2012-01-30 05:43:29 +00:00
Dennis Heimbigner
1e1907e393
fix a bug in libdap2 handling of strings
2012-01-30 04:32:12 +00:00
Dennis Heimbigner
aebd11348a
1)Integrate the oc with improved performance
2012-01-29 18:56:29 +00:00
Dennis Heimbigner
907e07bf99
2012-01-10 17:40:27 +00:00
Dennis Heimbigner
9894f6f1ce
fix typo in daputil.c
2011-12-13 19:45:02 +00:00
Dennis Heimbigner
b7f74c9cb4
Moved Jira release notes into RELEASE_NOTES
2011-12-12 23:49:27 +00:00
Dennis Heimbigner
8b3b307b10
modify dap legal names
2011-12-05 20:53:43 +00:00
Dennis Heimbigner
efd9808b0a
completely rewritten constraint system
2011-11-14 04:20:19 +00:00
Dennis Heimbigner
4d59114897
2011-11-08 21:28:11 +00:00
Ed Hartnett
9e30d5d3be
some windows changes
2011-10-26 19:18:09 +00:00
Dennis Heimbigner
42a2d2aa17
fix count error when converting dap attributes
2011-10-04 17:50:42 +00:00
Ed Hartnett
7b47adf3a1
removed executable permissions from all code files
2011-10-04 16:05:11 +00:00
Dennis Heimbigner
a4a34d6ed7
clean up cruft
2011-09-27 18:02:23 +00:00
Dennis Heimbigner
1e02fd4f1d
added test file
2011-09-21 19:17:57 +00:00
Dennis Heimbigner
732fbff7ce
2011-09-20 17:30:02 +00:00
Dennis Heimbigner
12d4f46668
2011-09-18 20:57:51 +00:00
Dennis Heimbigner
d7790e7e7e
2011-09-16 18:36:08 +00:00
Dennis Heimbigner
16dee702b7
fix NCF-120
2011-09-15 16:57:16 +00:00
Dennis Heimbigner
5c652a42a9
2011-08-12 16:14:56 +00:00
Dennis Heimbigner
eae569c6ee
fixed cache handling problem: Jira NCF-106
2011-08-06 02:49:23 +00:00
Dennis Heimbigner
0a89437215
fix fix of NCF-42: _Format handling
2011-08-03 18:26:18 +00:00
Dennis Heimbigner
a7fdbb176d
Fixed nulldup issues: Jira # NCF-94
2011-07-14 22:43:43 +00:00
Dennis Heimbigner
4f30d3694c
cleanup misc. issues
2011-07-14 22:24:02 +00:00
Dennis Heimbigner
75451af706
jira bug: NCF-83
2011-06-25 22:08:32 +00:00
Dennis Heimbigner
3df9918cbc
fixed escape handling for names
2011-05-27 18:57:35 +00:00
Dennis Heimbigner
03f79aa8f5
fixed esupport:RVK-949505 and DML-490284
2011-05-24 21:48:44 +00:00
Ed Hartnett
e2685a1475
changes to remove EXTERN_LDFLAG from build, also to fix netCDF-4 sync bug
2011-05-17 19:14:35 +00:00
Dennis Heimbigner
fec4cdb230
Fixed the following Jira minor bugs:
...
NCF-42: _Format attribute sometimes being ignored
NCF-43: Fixed unsigned long long parsing.
NCF-47: Make opendap code properly handle illegal names like "x.y" by
supressing them
NCF-49: check for uint type
NCF-50: properly handle username:pwd embedded in urls.
2011-05-12 17:51:32 +00:00
Ed Hartnett
4de8b33251
rolled everything back to 1119
2011-04-28 17:11:21 +00:00
Dennis Heimbigner
80d8926bad
fix user+password;also the bad-name problem;also merged libncdap3+ncdap4->libdap2
2011-04-27 20:50:27 +00:00
Ed Hartnett
29e8619787
simplified build system
2011-04-26 20:57:24 +00:00
Dennis Heimbigner
9fe1223316
2011-04-17 18:56:10 +00:00