Commit Graph

256 Commits

Author SHA1 Message Date
Ward Fisher
4208a875c4 Updated generated ncgen files. 2017-02-22 13:22:50 -07:00
Dennis Heimbigner
f71b695530 Followon to
re: https://github.com/Unidata/netcdf-c/issues/365

1. Added to RELEASENOTES.md
2. Add a range check to more closely
   mimic unix sscanf
3. locate and fix same sscanf problems in ncgen/cvt.c

Still need a stable url for a test case.
2017-02-20 13:19:25 -07:00
Ward Fisher
870b6c534f Working out an error with unistd.h in windows. 2017-01-30 14:54:00 -07:00
Ward Fisher
34161aab69 Added fixes for Visual Studio 10 2017-01-10 13:54:09 -07:00
Ward Fisher
3632e07b19 Updated ncgen script to work with MSVC. 2016-11-18 15:03:52 -07:00
Ward Fisher
ecddeca4ec Added some files to distclean 2016-11-18 14:09:01 -07:00
Ward Fisher
88fd875741 Corrected typo causing problems. 2016-11-18 13:59:57 -07:00
Ward Fisher
0b06be2ecd Removed debug files. 2016-11-18 13:18:44 -07:00
Ward Fisher
8dc53c4981 Wiring in more validation 2016-11-18 11:53:53 -07:00
Ward Fisher
637f649555 Migrated test validation to run_tests.sh 2016-11-18 11:11:53 -07:00
Ward Fisher
c3ae660730 Tweaking cdl files so that we can compare against them. 2016-11-18 11:07:20 -07:00
Dennis Heimbigner
001598ddb6 support fixes for Github issue 323
Fixed issue 323 by properly adding padding
when generating the binary data for use
with nc_put_var/vara.
Also added second testcase.
2016-11-17 15:29:32 -07:00
Ward Fisher
c87c40d195 Re-added diagnostic file for the time being. 2016-11-16 15:26:51 -07:00
Ward Fisher
ff9bf7b548 Extended test script. 2016-11-16 14:40:06 -07:00
Ward Fisher
129de9500a Imported the modifications made to offsets.c in branch issue323.dmh. 2016-11-16 11:19:45 -07:00
Ward Fisher
bc6fc8ac14 Updating ncgen run_nc4_tests.sh script to ensure that results are tested in addition to whether or not ncgen exited successfully. 2016-11-16 11:09:14 -07:00
Ward Fisher
a845b92394 Reformated source cdl to allow for a diff test. 2016-11-16 10:57:36 -07:00
Ward Fisher
609e368f8d Cleaning up diagnostic stuff 2016-11-15 15:11:25 -07:00
Ward Fisher
2fa4229bb6 Added a file to be cleaned up 2016-11-15 14:39:59 -07:00
Ward Fisher
da48bc61e8 Renamed file added in support of https://github.com/Unidata/netcdf-c/issues/323 2016-11-15 14:27:21 -07:00
Ward Fisher
40b6dee9da Added some comments to the CDL file, removed older files. 2016-11-15 14:25:48 -07:00
Ward Fisher
915d6ec9be Another temporary cdl file added. 2016-11-15 13:48:58 -07:00
Ward Fisher
e879a3c78b Added some temporary debugging files. 2016-11-15 13:48:44 -07:00
Ward Fisher
6c6bccfd9c *possible* fix for https://github.com/Unidata/netcdf-c/issues/323 but further investigation required. 2016-11-15 13:48:20 -07:00
Ward Fisher
505e5ba140 Some modifications to alignment test, offsets. 2016-11-15 11:22:52 -07:00
Ward Fisher
4f21078fe5 Added initial debug stuff to gdb script. 2016-11-15 10:22:15 -07:00
Ward Fisher
0c83a5960b Added a test file for https://github.com/Unidata/netcdf-c/issues/323 2016-10-31 10:54:06 -06:00
DennisHeimbigner
4984536a60 Merge branch 'master' into issue314.dmh 2016-09-02 14:18:41 -06:00
Dennis Heimbigner
e2967bb622 Fix for Github issue 314.
Problem was in oc2/dap.y.
In definition of errormsg:, change WORD_WORD to WORD_STRING
since the msg field of an opendap error response is a quoted
string.

Also took the opportunity to modify ncgen to
transfer the logging level (-L flag) into the c-code
generated using -lc.
2016-09-01 22:06:07 -06:00
Bas Couwenberg
988b4ff868 Fix spelling errors.
* characers -> characters
 * varaible  -> variable
2016-08-28 15:45:36 +02:00
Ward Fisher
6d5a924354 Addressed coverity issue 719941, missing varargs cleanup. 2016-07-06 15:41:49 -06:00
Ward Fisher
8507d923b7 Fixed a typo in 'makeparser' ncgen/ target. 2016-07-06 15:32:53 -06:00
Ward Fisher
bb96050e66 Addressed a UNIX API issue reported by clang. 2016-06-20 15:19:18 -06:00
Ward Fisher
2e71768c47 Fenceposted includes to nc4internal.h in support of https://github.com/Unidata/netcdf-c/issues/275 2016-06-08 11:26:37 -06:00
Ward Fisher
a7b7d216b2 Corrected an issue on Linux, jumping back over to Windows to see if the issue persists. 2016-05-11 15:38:45 -06:00
Ward Fisher
ef2c6f9bc4 Things are working? 2016-05-11 15:31:17 -06:00
Ward Fisher
8373de2f12 Corrected an issue with compiling under Visual Studio. 2016-05-11 12:44:25 -06:00
Ward Fisher
fc0d7d0d80 Added a tweak to prevent problems with ncdump and hdf5 trying to correct for a lack of ssize_t. 2016-05-10 15:52:46 -06:00
Dennis Heimbigner
272e6f4022 Oops, forgot to test nc3 only.
Fixed some errors from that case.
2016-05-07 14:32:07 -06:00
Dennis Heimbigner
11a259ad86 Add provenance info for netcdf-4 files.
This consists of a persistent attribute named
_NCProperties plus two computed attributes
_IsNetcdf4 and _SuperblockVersion.
See the 'Provenance Attributes' section
of docs/attribute_conventions.md for details.
2016-05-07 14:32:07 -06:00
Bas Couwenberg
eb2561aaab Fix 'atttributes' typo, replace with 'attributes'. 2016-01-15 02:17:29 +01:00
Dennis Heimbigner
39e9cd0ffe Fix issues with Github pull request 187
(https://github.com/Unidata/netcdf-c/pull/187)
Primary problem was cmake build errors.
2016-01-08 12:55:11 -07:00
Dennis Heimbigner
d15f277252 The max dimension sizes do not take CDF-5 format into account.
NetCDF-c Github issue #185

The code in libsrc/dim.c has not been upgraded to support
CDF-5 format.

Rule we are implementing sets the max dimension sizes as follows:

Classic:	CDF-1	NC_MAX_INT - 3    = 2147483647 - 3
64 bit Offset:	CDF-2	NC_MAX_UINT - 3	  =  4294967295 - 3
64 bit Data:	CDF-5	NC_MAX_UINT64 - 3 = 18446744073709551615 - 3

The -3 is to handle rounding.
2016-01-05 21:26:25 -07:00
dmh
cbb6df3232 Github issue 152: https://github.com/Unidata/netcdf-c/issues/152
User request to have all orphaned DAP2 attributes kept as netcdf
global attributes. This is primarily a change in the oc code
nplus testcase dataset changes.

Result may be inconsistent with netcdf-Java output.
2015-11-29 20:38:12 -07:00
Ward Fisher
fce30a0d32 Updated ncgenl.c 2015-11-26 17:47:30 -06:00
Ward Fisher
04de3d3fa2 Merge branch 'NCF-345' into github156 2015-11-24 17:20:07 -06:00
Ward Fisher
dd2201621e Addressed an API-related usage of strncmp. 2015-11-24 17:19:36 -06:00
Ward Fisher
8ebbd2a9c5 Updated makeparser target. 2015-11-24 16:16:23 -06:00
dmh
47e10591b4 ckp 2015-11-19 13:44:55 -07:00
Ward Fisher
3766923ecf Added test for [NCF-345] 2015-11-13 10:33:19 -07:00