Commit Graph

1807 Commits

Author SHA1 Message Date
Quincey Koziol
36c960c0ca Add a few cases for NC_CHAR type class that were missed earlier. 2014-02-12 08:48:13 -06:00
Quincey Koziol
4bfd9b27a0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libdap2/common34.c
	oc2/ocutil.c
2014-02-11 17:26:09 -06:00
Quincey Koziol
b2dfacbcfa Big clean up to type handling in libsrc4, which makes fill-values work
correctly for variables with string datatype, plus a few other minor changes.
2014-02-11 17:12:08 -06:00
Russ Rew
0627c82758 Fix for bit-for-bit reproducibility from Rimvydas Jasin, Quincey Koziol 2014-02-10 15:29:14 -07:00
Ward Fisher
8b5f677e53 Updated release notes to reflect resolution of jira issue NCF-288, e.g. cmake not generating pkg config files. 2014-02-07 13:05:46 -07:00
Ward Fisher
23ba607336 Added a check for stddef.h in CMakeLists.txt; some linux versions do not store stddef in /usr/include, but rather /usr/include/linux. 2014-02-07 09:51:47 -07:00
Ward Fisher
8aee60dd43 Reordered HDF4 test calls in CMakeLists.txt in nc_test4 to remove an error caused by running tests out of order. 2014-02-07 09:37:17 -07:00
Ward Fisher
9749390720 Corrected some warnings issued by doxygen when generating documentation. 2014-02-06 17:59:57 -07:00
Ward Fisher
154c2a6edf Stopped tracking a cmake-specific pkgconfig template; using the same one as autotools. Tightened up cmake summary a little, now a pkg-config file is generated. 2014-02-06 16:17:30 -07:00
Ward Fisher
809aff04fe Created a base pkgconfig template for cmake from the autotools file. 2014-02-06 11:45:08 -07:00
Ward Fisher
870dc3b8ec Updated release notes to mention a JIRA issue that Dennis has addressed. 2014-02-06 11:43:35 -07:00
Ward Fisher
5600bd327e Updated CMake file. 2014-02-06 11:35:35 -07:00
Ward Fisher
74ed07a086 Replaced missing character. 2014-02-06 11:34:13 -07:00
Ward Fisher
16400df5e0 Resolved Conflict when cherry-picking patches. 2014-02-06 11:33:31 -07:00
Ward Fisher
feaaf7e779 Added missing test script to EXTRA_DIST in makefile.am. 2014-02-06 11:32:45 -07:00
Ward Fisher
9b0a98383a Added CMakeLists.txt to missing Makefile.am files, so that CMake-based builds can be used on source packages generated by make dist 2014-02-06 11:32:32 -07:00
Ward Fisher
0d95496703 Added CTest specific files (previously missing) to Makefile.am so that they would be included by 'make dist'. 2014-02-06 11:31:41 -07:00
Ward Fisher
04a206ccf7 Updated .gitignore to remove filter on autoconf files. This messes up our release process on github. 2014-02-06 11:31:30 -07:00
dmh
6431d2c94d Merge branch 'master' of http://github.com/Unidata/netcdf-c 2014-02-05 17:05:51 -07:00
dmh
d7de6fd551 [NCF-287/MCI-552767
Problem related to NCF-284.
Namely an old thredds server that
does not properly implement the
dap2 spec. It is accessing a field of a grid
but is not wrapping it as a structure.
url:http://thredds.aodn.org.au/thredds/dodsC/IMOS/ACORN/gridded_1h-avg-current-map_QC/SAG/2010/01/27/IMOS_ACORN_V_20100127T023000Z_SAG_FV01_1-hour-avg.nc.dds?SPEED.SPEED

In any case, this exposed another bug.
Also, in looking at this, I realized that the
code could be simplified.
2014-02-05 17:05:33 -07:00
Ward Fisher
0b97d35b86 Fixed some markdown syntax errors on the 'building with cmake' document. 2014-02-05 13:24:18 -07:00
Ward Fisher
9b9e83c632 Corrected a markdown/doxygen syntax issue. 2014-02-05 13:24:18 -07:00
Ward Fisher
e66ab99303 Updated documentation in preparation for upcoming 4.3.1.1 bugfix release. 2014-02-05 10:16:10 -07:00
Ward Fisher
f3be082363 Updated RELEASE_NOTES.md with reference to Jira ticket for DAP/Cygwin64-related bugfix. 2014-02-04 16:41:15 -07:00
Ward Fisher
feeeb70c31 Updated developer doxyfile to automatically parse the '.doc' and '.md' files present in man4. 2014-02-04 16:36:44 -07:00
dmh
56758efde9 Merge branch 'master' of http://github.com/Unidata/netcdf-c 2014-02-04 16:27:13 -07:00
dmh
0f4b72c53b [NCF-286]/e-support:JVN-123940
using cygwin64 causes a couple of bugs during make check.
Fixes are as follows:
1. in ncdump.c and nccopy.c change all occurrences of
   'return EXIT_FAILURE'
   and
   'return EXIT_SUCCESS'
   with
   exit(EXIT_FAILURE)
   and
   exit(EXIT_SUCCESS)
   respectively.
   I have no idea why this works.
2. in libdap2/ncdap3a.c#freeNCDAPCOMMON,
   remove the call to nc_abort, it is
   causing a loop; not sure why this
   is not caught under other operating systems.
2014-02-04 16:26:52 -07:00
Ward Fisher
7debd132d2 Bumped version to 4.3.1.1 in preparation for upcoming bugfix release.
Modified the Doxyfile templates to use 'dot', when available, to generate class diagrams instead of the inferior diagram engine bundled in doxygen.
2014-02-04 16:13:18 -07:00
Ward Fisher
7786b78cfc Reorganized Windows includes. 2014-02-04 11:10:27 -07:00
Ward Fisher
c1407c3239 Removed stray debugging message. 2014-02-03 14:42:56 -07:00
Ward Fisher
de05ed9c11 Added a note to RELEASE_NOTES.md regarding the upcoming bug fix release. 2014-01-29 16:11:24 -07:00
dmh
893ab1c3fe [NCF-284]/ ZQX-155900
Some servers do not properly
implement the current DAP2 spec.
It turns out that this server is one of those:
    http://nomads.ncep.noaa.gov:9090/
When a reference such as this is made:
    http://nomads.ncep.noaa.gov:9090/dods/gens/gens20140123/gep_all_12z?prmslmsl[0][0][0][0:359]
tt is returning this:
Dataset {
    float prmslmsl[ens=1][time=1][lat=1][lon=360];
} gens%2fgens20140123%2fgep_all_12z;

when it should be returning this:
Dataset {
  Structure {
    float prmslmsl[ens=1][time=1][lat=1][lon=360];
  } prmslmsl;
} gens%2fgens20140123%2fgep_all_12z;

The reason is that when picking fields out of a grid,
one must maintain the fully qualified name, so the grid
is converted to an enclosing structure.

It turns out that the problem was that
when I create the new structure node, I was
improperly linking it into the existing graph.
This caused a null pointer failure.
Fix is to make sure the relevant field (node->root)
is set.
2014-01-24 13:35:10 -07:00
dmh
8541a32175 [NCF-284]/ ZQX-155900
Some servers do not properly
implement the current DAP2 spec.
It turns out that this server is one of those:
    http://nomads.ncep.noaa.gov:9090/
When a reference such as this is made:
    http://nomads.ncep.noaa.gov:9090/dods/gens/gens20140123/gep_all_12z?prmslmsl[0][0][0][0:359]
tt is returning this:
Dataset {
    float prmslmsl[ens=1][time=1][lat=1][lon=360];
} gens%2fgens20140123%2fgep_all_12z;

when it should be returning this:
Dataset {
  Structure {
    float prmslmsl[ens=1][time=1][lat=1][lon=360];
  } prmslmsl;
} gens%2fgens20140123%2fgep_all_12z;

The reason is that when picking fields out of a grid,
one must maintain the fully qualified name, so the grid
is converted to an enclosing structure.

It turns out that the problem was that
when I create the new structure node, I was
improperly linking it into the existing graph.
This caused a null pointer failure.
Fix is to make sure the relevant field (node->root)
is set.
2014-01-24 13:26:00 -07:00
Ward Fisher
7b743d68ad An issue turned out to be related to gcov symbols inserted at link time by the gcov libraries. Removing mcmodel argument. 2014-01-24 12:25:27 -07:00
Ward Fisher
6c1d499e87 Move option definition in CMakeLists.txt 2014-01-24 11:15:17 -07:00
Ward Fisher
3d681fa183 Reformatted CMakeLists.txt to move compiler options into a single unified block at the top. 2014-01-24 11:10:41 -07:00
Ward Fisher
dedeffc822 Removed stray character. 2014-01-24 10:31:37 -07:00
Ward Fisher
8ef7441a5e Added new variable, 'ENABLE_UNUSED_VAR_PAR_WARNINGS' to make debug output more or less verbose. It is off by default. 2014-01-24 10:30:14 -07:00
dmh
133b17810d Remove the 64-bit-offset test for pnetcdf; apparently if can handle it ok 2014-01-23 10:58:25 -07:00
Ward Fisher
9fa9e6a88f Having problems finding a syntax that works for both OSX and Linux, added a platform check instead. Perhaps this will work. 2014-01-22 10:41:59 -07:00
Ward Fisher
37a329f97e Updated comparison to work on Linux as well as OSX. 2014-01-22 10:19:47 -07:00
Ward Fisher
90de6044cc Updated comparison to work on Linux as well as OSX. 2014-01-22 09:53:26 -07:00
Ward Fisher
a708984b69 OSX ‘expr’ is built on BSD expr, which does not contain the ‘index’ directive. This work around allows this test to work on OSX and linux. 2014-01-22 09:45:54 -07:00
Ward Fisher
0c140de870 Turned off debug messages in ocdebug.h. 2014-01-21 15:40:34 -07:00
dmh
75adeae78b add some debug info about packet contents 2014-01-21 13:04:52 -07:00
dmh
0fa9dc98eb synch oc 2014-01-21 12:50:15 -07:00
dmh
dfc3749506 [NCF-282]/ HAD-595112
The code that tests if a path is a url is
faulting when the url does not end in a slash
(e.g. http://thredds-tests.ucar.edu).
The code that tests if a path is a url is
faulting when the url does not end in a slash
(e.g. http://thredds-tests.ucar.edu).
CF-273]/HZY-708311

Solution was to do a null pointer test.
Added a test (tst_misc).
2014-01-20 16:11:45 -07:00
dmh
6a6891b72b fixed testing of constrained test for ncdap 2014-01-19 13:01:50 -07:00
Ward Fisher
ae8e5d1ff2 Updated windows binary download links. 2014-01-16 14:24:44 -07:00
Ward Fisher
49d3addcaa Updated release notes. 2014-01-16 14:21:43 -07:00