Commit Graph

3484 Commits

Author SHA1 Message Date
Ward Fisher
7764a03f04 Merge pull request #270 from Unidata/issue269
re: https://github.com/Unidata/netcdf-c/issues/269
2016-05-25 21:05:46 +00:00
Dennis Heimbigner
22a343292a Fix cmake build: 2016-05-24 20:26:09 -06:00
Dennis Heimbigner
71687d581e Merge branch 'issue269' of https://github.com/Unidata/netcdf-c into issue269 2016-05-24 19:37:31 -06:00
Dennis Heimbigner
c8572f0bee set tst_misc.sh executable 2016-05-24 19:37:21 -06:00
Dennis Heimbigner
8c1f8f57ee re: https://github.com/Unidata/netcdf-c/issues/269
The hash field for phony dimensions was not being set
(in nc4hdf.c). Also added test case (nc_test4/?).
Note that I searched for other similar failures and
did not find any, but I may have missed them.
2016-05-24 19:37:21 -06:00
Dennis Heimbigner
f97470d23a set tst_misc.sh executable 2016-05-24 19:35:18 -06:00
Dennis Heimbigner
ada26878e5 re: https://github.com/Unidata/netcdf-c/issues/269
The hash field for phony dimensions was not being set
(in nc4hdf.c). Also added test case (nc_test4/?).
Note that I searched for other similar failures and
did not find any, but I may have missed them.
2016-05-24 18:52:24 -06:00
Greg Sjaardema
4d037a1f62 Check for valid MPI_Comm before freeing
If in parallel mode and the H5Fcreate fails, then the h5->comm field may/will point to MPI_COMM_NULL instead of to a valid communicator.  If that is passed to MPI_Comm_free, then the code will core dump down in the MPI_Comm_free function and not return a valid return status to the caller routine. If communicator is checked, then execution proceeds back up the call tree and caller can report a better error message about the failed file create.
2016-05-24 10:50:00 -06:00
Ward Fisher
d88ad0e0d9 Corrected an issue with autoconf config date using source_date_epoch even when SOURCE_DATE_EPOCH was not defined. 2016-05-23 15:31:40 -06:00
Ward Fisher
527dcb484f Corrected/correcting a stray '@' symbol, noticed by czender in https://github.com/Unidata/netcdf-c/issues/265 2016-05-23 15:24:32 -06:00
Ward Fisher
d23991d2b4 Merge branch 'source_date_epoch' of https://github.com/sebastic/netcdf-c into temp 2016-05-16 13:01:48 -06:00
Ward Fisher
fcca7ae57d Merge branch 'master' into provfix 2016-05-16 12:39:15 -06:00
Ward Fisher
f2305cf348 Merge branch 'pnetclean' 2016-05-16 12:37:30 -06:00
Dennis Heimbigner
4fa1470241 re: github issue https://github.com/Unidata/netcdf-c/issues/265
Charlie Zender noted that we forgot to define what happens for
various netcdf API attribute operations, notably nc_inq_att()
and nc_get_att().
So, I added a list of legal and illegal api calls for the provenance
attributes in docs/attribute_conventions.md.
I also added more test cases to ncdump/tst_fileinfo.c to verify
and fixed resultant errors.
2016-05-15 18:03:04 -06:00
Bas Couwenberg
aa8f23c5bb Use SOURCE_DATE_EPOCH instead of current date.
The environment variable is used to support Reproducible Builds.

https://reproducible-builds.org/specs/source-date-epoch/
2016-05-15 17:20:18 +02:00
Dennis Heimbigner
fa6f3f185c Merge branch 'pnetclean' of https://github.com/Unidata/netcdf-c into pnetclean 2016-05-14 22:31:57 -06:00
Dennis Heimbigner
7e0db68dce Finally get around to removing all that
obsolete pnetcdf related code in libsrc4.
2016-05-14 22:31:41 -06:00
Ward Fisher
f8117f150f Updated .gitignore. 2016-05-13 12:44:52 -06:00
Ward Fisher
3f10f26315 Updated hdf5 information for pre-built Windows binaries. 2016-05-13 12:39:21 -06:00
Ward Fisher
98b0f1c9a3 Removed stray file. 2016-05-13 12:30:11 -06:00
Ward Fisher
287e73ca26 Bumping SO Version correctly. 2016-05-13 11:51:57 -06:00
Ward Fisher
595474d71b Preparations for 4.4.1-rc2 2016-05-13 11:48:49 -06:00
Ward Fisher
6c95d36778 Corrected some dead links in README. 2016-05-13 09:29:36 -06:00
Ward Fisher
6c0312293b Corrected dead links referencing the fortran 77, fortran 90 and C++ interfaces. 2016-05-12 16:40:50 -06:00
Ward Fisher
10f85caf26 Rolled back SO version to 11 after incorrectly bumping it in the 4.4.1 rc1 release. 2016-05-12 16:04:04 -06:00
Dennis Heimbigner
59ccfe4dda Finally get around to removing all that
obsolete pnetcdf related code in libsrc4.
2016-05-12 14:32:55 -06:00
Ward Fisher
f0a3ad70fe Merge branch 'master' into provenance 2016-05-11 15:43:30 -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
Ward Fisher
e4d79dbb6c Removed an unused, unneeded struct, NCdata, that was causing problems on Visual Studio because it was empty. 2016-05-10 11:11:50 -06:00
Ward Fisher
8221d8113a Cleaned up best practices document. 2016-05-09 20:42:35 -06:00
Ward Fisher
14580681cc Added best practices document to generated documentation. 2016-05-09 20:32:42 -06:00
Dennis Heimbigner
cfba3433df Merge branch 'provenance' of https://github.com/Unidata/netcdf-c into provenance 2016-05-07 14:32:17 -06:00
Dennis Heimbigner
b4dc1dca19 More cmake fixes 2016-05-07 14:32:07 -06:00
Dennis Heimbigner
a4dea6bf83 Again, forgot to fix CMakeLists.txt
to match configure.ac (sigh!).
ENABLE_FILEINFO should be
enabled iff NETCDF4 is enabled.
2016-05-07 14:32:07 -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
Dennis Heimbigner
09d407c106 More cmake fixes 2016-05-06 16:30:40 -06:00
Dennis Heimbigner
3a1217577c Again, forgot to fix CMakeLists.txt
to match configure.ac (sigh!).
ENABLE_FILEINFO should be
enabled iff NETCDF4 is enabled.
2016-05-06 14:34:28 -06:00
Dennis Heimbigner
4db7921d37 Merge branch 'provenance' of https://github.com/Unidata/netcdf-c into provenance 2016-05-05 16:00:23 -06:00
Dennis Heimbigner
5540749298 Oops, forgot to test nc3 only.
Fixed some errors from that case.
2016-05-05 15:59:54 -06:00
Ward Fisher
bd3450676a Added NC3-only build to travis-ci. 2016-05-05 13:44:32 -06:00
Ward Fisher
ce7eb81480 Added a netcdf3-only stanza to travis-ci. 2016-05-05 13:38:26 -06:00
Dennis Heimbigner
2e55a233eb 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-03 21:17:06 -06:00
Ward Fisher
e1a75d5257 Cleaning up in preparation for merging back into master. 2016-05-02 16:20:30 -06:00
Ward Fisher
9136afdcbe Modified configure to assume an empty CFLAGS, which can/must then be overridden by any downstream developers. 2016-05-02 22:07:14 +00:00
Ward Fisher
e355316829 Added debugging info in gdb.txt 2016-05-02 21:54:36 +00:00
Ward Fisher
7fbccc535e Added temporary command file for debugging https://github.com/Unidata/netcdf-c/issues/gh244 2016-05-02 19:33:12 +00:00