Commit Graph

6552 Commits

Author SHA1 Message Date
Ward Fisher
d74817206e
Merge pull request #1366 from Unidata/nccopydiskless.dmh
Fix nccopy to use NC_PERSIST so that -w actually persists the output.
2019-03-15 15:20:12 -06:00
Dennis Heimbigner
2420b69a83 Fix nccopy to use NC_PERSIST so that -w actually persists the output.
re: Issue https://github.com/Unidata/netcdf-c/issues/1365

At some point (4.6.1) we changed the diskless handling of flags
and added a new NC_PERSIST flag. Looks like we did not fix all
occurrences of the old flag set, specifically for 'nccopy -w' command.
Also added some tests (tst_nccopy_w{3,4}.sh) for this situation.
2019-03-15 12:05:27 -06:00
Ed Hartnett
42bcf4594b example documentation cleanup 2019-03-12 10:28:10 -06:00
Ed Hartnett
1ad17d71e0 example documentation cleanup 2019-03-12 10:26:38 -06:00
Ed Hartnett
6c89b7a4b9 example documentation cleanup 2019-03-12 10:22:44 -06:00
Ed Hartnett
cab5458c2e example documentation cleanup 2019-03-12 10:21:36 -06:00
Ed Hartnett
59ca5b8cec example documentation cleanup 2019-03-12 10:20:30 -06:00
Ed Hartnett
afff56a83b example documentation cleanup 2019-03-12 10:12:44 -06:00
Ed Hartnett
12635339c5 example documentation cleanup 2019-03-12 10:11:07 -06:00
Ed Hartnett
930f6e3e87 example documentation cleanup 2019-03-12 10:06:31 -06:00
Ed Hartnett
6efc184fb3 example documentation cleanup 2019-03-12 10:02:25 -06:00
Ed Hartnett
c88253677a clean up 2019-03-12 09:54:16 -06:00
Ed Hartnett
f91e246699 turned off some ncdump test output 2019-03-12 09:26:15 -06:00
Ed Hartnett
c89fad34e0 only run some benchmark tests if utilities have been built 2019-03-12 09:23:49 -06:00
Ed Hartnett
1c9a9e117b Makefile.am cleanup 2019-03-12 09:18:31 -06:00
Ed Hartnett
5214b51622 fixed examples/C/Makefile.am for parallel builds without parallel testing 2019-03-12 09:17:00 -06:00
Ed Hartnett
39c258449c now properly running pnetcdf example program in parallel 2019-03-12 09:00:31 -06:00
Ed Hartnett
1077459a18 configure.ac cleanup 2019-03-12 08:55:30 -06:00
Ed Hartnett
63f8680540 configure.ac cleanup 2019-03-12 08:39:06 -06:00
Ed Hartnett
c0717426fd removed extra --with-chunck-cache-preemption option to configure 2019-03-12 08:37:07 -06:00
Ed Hartnett
d05c88b4db removed unused option --enable-extra-example-tests 2019-03-12 08:35:54 -06:00
Dennis Heimbigner
88a7a1753c Simplify libhdf5/nc5info.c to move to lazy parsing
re: https://github.com/Unidata/netcdf-c/issues/1352

When nc4info.c encounters an _NCProperties attribute
with a version number it does not recognize, it does not
show it correctly.

Solution chosen is to arrange so that accessing the attribute
returns the raw value of the Attribute from the file. This way,
even if the version is unrecognized, it will return something
usable.

The changes were primarily to never attempt to parse the value
of _NCProperties until actually required. Which since they
are currently not used means that parsing never occurs.

Also modified ncdump/tst_fileinfo.sh to include some extra testing

I tested the original failure by changing the value of NCPROPS to 3.
However, there is no way to test this at build time.

Misc. Changes
* Inlined the provenance info in the NC_FILE_INFO_T structure
* Centralized stuff from elsewhere into include/nc_provenance.h

Misc. Unrelated Changes
* Removed/turned off some misc debug output left on by accident
* Fix CPPFLAGS name error in libhdf5/Makefile.am
2019-03-09 20:35:57 -07:00
Ward Fisher
a57101d4b7
Merge pull request #1327 from Unidata/filemacroncgen.dmh
Remove all references to __FILE__ in ncgen
2019-03-08 15:10:11 -07:00
Ward Fisher
0c0b95da67 Merge branch 'master' into filemacroncgen.dmh 2019-03-08 14:04:57 -07:00
Ward Fisher
c0d24c827b
Merge pull request #1326 from NetCDF-World-Domination-Council/ejh_file_name_in_built_files
provide NDEBUG version of macro NC_CHECK which does not use code file name
2019-03-08 13:54:53 -07:00
Ward Fisher
b066336b5c Merge branch 'master' into cleanup.wif 2019-03-06 12:25:44 -07:00
Ward Fisher
44cefb144c
Merge pull request #1332 from Unidata/v4.6.3-dev-branch.wif
4.6.3 prep, upstream propegation
2019-03-05 16:22:02 -07:00
Ward Fisher
3bed028d52 Correcting div by zero error, minor resource leak. 2019-03-05 14:24:17 -07:00
Ward Fisher
91e7588bf8 Correct issue with non-null-terminated buffer 2019-03-05 14:18:22 -07:00
Ward Fisher
a4d18bdd66 Bumped SO version in line with http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning 2019-02-28 13:25:56 -07:00
Ward Fisher
415c19dffe Corrected syntax error. 2019-02-27 16:50:07 -07:00
Dennis Heimbigner
15e4fdcbb4 Support installation of the bzip2 plugin under name libh5bzip2.so
re: https://github.com/Unidata/netcdf-c/issues/1347

It turns out that the plugin libraries (bzip2 and misc) were
being installed as part of 'make installed'. This was not intended
behavior. But after some discussion in the above issue, it was decided
to install the bzip2 plugin. However, in order to avoid naming conflicts,
the plugin is installed under the name 'libh5bzip2.so'.
Note that this is automake behavior only; the install does not
(yet) occur using cmake.

Misc. unrelated changes
-----------------------
1. turn off some debug output in ncdump/Makefile.am
2019-02-27 15:22:46 -07:00
Ward Fisher
513481ce48 Updated release notes to reflect date of 4.6.3 release. 2019-02-27 14:42:21 -07:00
Ward Fisher
371cb333dc Updated release notes. Starting process of release. 2019-02-27 14:41:45 -07:00
Ward Fisher
62109e59e4 Merge branch 'ejh_rename_docs' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into v4.6.3-dev-branch.wif 2019-02-27 14:38:46 -07:00
Ward Fisher
eb9f6097d5 Bringing netcdf.pc generated by cmake in line with netcdf.pc generated by configure, in support of https://github.com/Unidata/netcdf-c/issues/gh1324 2019-02-27 14:36:42 -07:00
Ward Fisher
f940969fdc Fix typo, exploring solution to https://github.com/Unidata/netcdf-c/issues/1324 2019-02-27 14:14:53 -07:00
Ward Fisher
e906114068 Merge branch 'typo' of https://github.com/opoplawski/netcdf-c into v4.6.3-dev-branch.wif 2019-02-27 13:55:26 -05:00
Ward Fisher
980082ace6 Merge remote-tracking branch 'origin/fixfilterparser.dmh' into v4.6.3-dev-branch.wif 2019-02-27 13:54:12 -05:00
Ward Fisher
b933a31d0c Some .travis.yml scaffolding. 2019-02-27 13:48:41 -05:00
Ward Fisher
bac16d6e58 Merge branch 'master' into v4.6.3-dev-branch.wif 2019-02-26 15:51:20 -07:00
Ward Fisher
137c509ae1
Merge pull request #1345 from Unidata/ncgenoctal.dmh
Fix ncgen handling of octal constants (with leading 0).
2019-02-26 15:50:42 -07:00
Ward Fisher
18c403aa02 Prepping for 4.6.3 release, bumping to subsequent version in dev branch. 2019-02-26 14:00:59 -07:00
Wei-keng Liao
8ebe73059c revise comments about the deprecated flags in netcdf.h to avoid confusion 2019-02-26 11:16:54 -06:00
Wei-keng Liao
142cd5b5ca as NC_MPIIO has deprecated, move checking for flag conflict to nc_create_par 2019-02-26 11:01:35 -06:00
Ward Fisher
c7529d36bd Refactor 2019-02-25 22:03:28 -07:00
Dennis Heimbigner
98caf87116 Fix ncgen handling of octal constants (with leading 0).
re: https://github.com/Unidata/netcdf-c/issues/1330

The ncgen utility is documented to accept octal integer constants
if the leading digit is zero. This was not implemented. Fix ncgen.l
to properly handle such constants. Also add a test to c0.cdl.
2019-02-25 20:57:23 -07:00
Ward Fisher
9b493b9160 Modified Makefile.am in plugins/ directory 2019-02-25 15:56:32 -07:00
Ward Fisher
5820705a3f Merge branch 'v4.6.3-dev-branch.wif' of github.com:Unidata/netcdf-c into v4.6.3-dev-branch.wif 2019-02-25 15:35:02 -07:00
Ward Fisher
482e5ccb43 Added inclusion of config.h 2019-02-25 15:34:46 -07:00