Go to file
Dennis Heimbigner efe2fa727e Fix bug: Index exceeds dimension bound
Fix github issue https://github.com/Unidata/netcdf-c/issues/899
which came from e-support UOY-859712.

The problem was that the vlen_max parameter
to libsrc/var.c#NC_check_vlen was of type size_t.
However, it is being called, sometimes, with values
of size X_INT64_MAX. The resulting truncation was
causing dimension failures as noted in the e-support
report.

Fix is to change the vlen_max argument (and some
local variables in NC_check_vlen) to be of declared
as unsigned long long.
2018-03-16 13:54:33 -06:00
.github Put CONTRIBUTING.md back in top level of repository. 2016-02-24 10:55:56 -07:00
cmake Fix some cmake syntax errors 2013-09-16 12:16:44 -06:00
dap4_test Begin changing over to use strlcat instead of strncat because 2017-11-23 10:55:24 -07:00
docs Merge branch 'dmh_merge_aggregate.wif' into v4.6.1-release-branch.wif 2018-03-15 11:42:44 -06:00
examples Merge branch 'master' into ncpyfilter.dmh 2018-03-02 19:49:43 -07:00
h5_test removed valgrind stuff 2018-02-27 08:36:12 -07:00
hdf4_test Corrected typo. 2018-03-08 16:17:27 -05:00
include Fix bug: Index exceeds dimension bound 2018-03-16 13:54:33 -06:00
libdap2 This is the initial step in moving to the new higher performance 2018-02-08 19:53:40 -07:00
libdap4 re: gh issue https://github.com/Unidata/netcdf-c/issues/887 2018-02-27 14:22:04 -07:00
libdispatch Fencepost for unistd.h 2018-03-12 11:08:50 -06:00
libhdf4 moved HDF4 to its own dispatch layer 2018-02-08 06:20:58 -07:00
liblib added HDF4 dir to cmake build file 2018-02-08 07:17:36 -07:00
libsrc Fix bug: Index exceeds dimension bound 2018-03-16 13:54:33 -06:00
libsrc4 Merge branch 'master' into ejh_extra_tests 2018-02-19 18:52:50 -07:00
libsrcp a clean commit for #383 2017-12-20 20:53:30 -06:00
nc_test Merge branch 'ejh_valgrind_removal_unidata_again' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into pr-aggregation2.wif 2018-03-02 14:22:42 -07:00
nc_test4 Merge branch 'master' into ncpyfilter.dmh 2018-03-08 15:48:40 -07:00
ncdap_test added guards for header files that needed them 2018-01-17 09:20:20 -07:00
ncdump Fix bug: Index exceeds dimension bound 2018-03-16 13:54:33 -06:00
ncgen This is the initial step in moving to the new higher performance 2018-02-08 19:53:40 -07:00
ncgen3 more docs, more cleaning 2017-12-04 12:21:14 -07:00
nctest removed valgrind stuff 2018-02-27 08:36:12 -07:00
oc2 applied gsjaardema's suggested change to ocnode.c 2017-11-30 09:22:14 -07:00
.gitignore more updates due to renaming test_read.c and test_write.c to m4 files 2016-10-13 02:56:50 -05:00
.travis.yml Forgot that cdf5 doesn't work on 32 bit platforms currently, disabled in travis. 2017-12-20 13:05:04 -07:00
acinclude.m4 add configure option --enable-relax-coord-bound for issue #243 2016-11-12 23:58:09 -06:00
cf Fix bug: Index exceeds dimension bound 2018-03-16 13:54:33 -06:00
cf.cmake This is the initial step in moving to the new higher performance 2018-02-08 19:53:40 -07:00
cmake_uninstall.cmake.in
CMakeInstallation.cmake Changed dependencies for debian package builds to remove development packages, when possible. 2014-12-15 22:22:09 +00:00
CMakeLists.txt Bumping to post-4.6.1-release, for merge back into master. 2018-03-15 11:29:32 -06:00
COMPILE.cmake.txt Merging from CMake branch in preparation for 4.3.0 release. 2013-04-29 20:15:57 +00:00
config.h.cmake.in Merge branch 'master' into newhash0.dmh 2018-02-21 14:19:43 -07:00
config.h.cmake.in.old-works c: remove __CHAR_UNSIGNED__ 2018-02-14 17:24:49 -05:00
configure.ac Bumping to post-4.6.1-release, for merge back into master. 2018-03-15 11:29:32 -06:00
CONTRIBUTING.md Put CONTRIBUTING.md back in top level of repository. 2016-02-24 10:55:56 -07:00
COPYRIGHT Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
CTestConfig.cmake.in Cleaning up ctest site identification. 2015-02-02 15:14:22 -07:00
CTestCustom.cmake Reduced default warning number to accomodate bandwidth limitations on hosted CDash. 2013-09-16 15:21:11 -06:00
dods.m4 Fix common typos 2015-08-20 11:42:05 +02:00
FixBundle.cmake.in
INSTALL.md Removed old install directions, copied directions from into root directory. 2015-04-06 14:02:44 -06:00
lib_flags.am 1. Keep up to date by merging master 2018-01-16 11:00:09 -07:00
libnetcdf.settings.in Fixes in support of https://github.com/Unidata/netcdf-c/issues/805 2018-01-25 13:07:33 -07:00
Make0 Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Makefile.am Merge branch 'master' into ncpyfilter.dmh 2018-03-08 15:48:40 -07:00
mclean Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
nc-config.cmake.in Fixed shell script typo. 2017-10-16 10:06:46 -06:00
nc-config.in Corrected issue with nc-config generatred by autotools. 2017-10-16 10:30:47 -06:00
netcdf.pc.in
netCDFConfig.cmake.in Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
PostInstall.cmake Reorganized postinstall scripts. 2014-11-18 12:52:41 -07:00
postinstall.sh.in Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
README.md Corrected some dead links in README. 2016-05-13 09:29:36 -06:00
RELEASE_NOTES.md Updated release notes. 2018-03-15 11:03:38 -06:00
test_common.in Corrected typo in test. 2018-02-28 13:40:50 -07:00
test_prog.c
test_prog.f90
test_prog.F
test-driver-verbose 1. Keep up to date by merging master 2018-01-16 11:00:09 -07:00
wjna Backadded the fix of Jira-228 2014-06-13 13:41:11 -06:00

Unidata NetCDF

Build Status Coverity Scan Build Status

About

The Unidata network Common Data Form (netCDF) is an interface for scientific data access and a freely-distributed software library that provides an implementation of the interface. The netCDF library also defines a machine-independent format for representing scientific data. Together, the interface, library, and format support the creation, access, and sharing of scientific data. The current netCDF software provides C interfaces for applications and data. Separate software distributions available from Unidata provide Java, Fortran, Python, and C++ interfaces. They have been tested on various common platforms.

Properties

NetCDF files are self-describing, network-transparent, directly accessible, and extendible. Self-describing means that a netCDF file includes information about the data it contains. Network-transparent means that a netCDF file is represented in a form that can be accessed by computers with different ways of storing integers, characters, and floating-point numbers. Direct-access means that a small subset of a large dataset may be accessed efficiently, without first reading through all the preceding data. Extendible means that data can be appended to a netCDF dataset without copying it or redefining its structure.

Use

NetCDF is useful for supporting access to diverse kinds of scientific data in heterogeneous networking environments and for writing application software that does not depend on application-specific formats. For information about a variety of analysis and display packages that have been developed to analyze and display data in netCDF form, see

More information

For more information about netCDF, see

Latest releases

You can obtain a copy of the latest released version of netCDF software for various languages:

Copyright and licensing information can be found here, as well as in the COPYRIGHT file accompanying the software

Installation

To install the netCDF-C software, please see the file INSTALL in the netCDF-C distribution, or the (usually more up-to-date) document:

Documentation

A language-independent User's Guide for netCDF, and some other language-specific user-level documents are available from:

A mailing list, netcdfgroup@unidata.ucar.edu, exists for discussion of the netCDF interface and announcements about netCDF bugs, fixes, and enhancements. For information about how to subscribe, see the URL

Feedback

We appreciate feedback from users of this package. Please send comments, suggestions, and bug reports to support-netcdf@unidata.ucar.edu.