Go to file
Greg Sjaardema 4ccebf25b5 Use dim field of var instead of finding dim from var->dimids.
The var struct has a 'dim' field which was not being used
Instead, the dimids field would always search for the dim
with the matching dimid.  For db with large numbers of dims,
this could be a significant time sync.

Modified code to always set var-dim[i] when var->dimids[i] was
set (if the dim existed at that point).  Then use the var->dim
field instead of var->dimids and search whenever requested.

All var->dim accesses are protected by asserts that verify
non-null and that the var->dim[]->dimid == var->dimids[].
2016-03-04 10:45:36 -07:00
.github Put CONTRIBUTING.md back in top level of repository. 2016-02-24 10:55:56 -07:00
cmake
docs Tweaks to css 2016-01-21 11:19:23 -07:00
examples Corrected an inconsistency between the documentation and the example. 2016-01-08 15:29:32 -07:00
h5_test Fix HDF5 library order -- static build 2016-02-22 11:06:23 -07:00
include Added missing install for cmake-based builds, netcdf_mem.h. Also, moved install directives for header files into include/CMakeLists.txt. This is in support of https://github.com/Unidata/netcdf-c/issues/227 2016-02-23 18:12:16 +00:00
libdap2 Github issue: https://github.com/Unidata/netcdf-c/issues/206 2016-02-02 13:06:57 -07:00
libdispatch More cleaning up of documentation (there will probably be a lot of this) and tweaking files so that documentation renders as expected. 2016-01-14 16:02:00 -07:00
liblib Incrementing so version. 2016-01-11 15:20:55 -07:00
libsrc Further cleanup of generated files. 2016-01-22 12:04:43 -07:00
libsrc4 Use dim field of var instead of finding dim from var->dimids. 2016-03-04 10:45:36 -07:00
libsrcp Corrected logic use of USE_PARALLEL for no-hdf5 but still using pnetcdf. 2015-11-09 18:21:11 +00:00
m4
nc_test Removed generated tests from source control. Ensuring generated files are regenerated if m4 is present. 2016-01-22 12:03:28 -07:00
nc_test4 Removed an error in nc_test4/Makefile.am 2016-02-19 11:06:56 -07:00
ncdap_test Github issue 152: https://github.com/Unidata/netcdf-c/issues/152 2015-11-29 20:38:12 -07:00
ncdump Fix issues with Github pull request 187 2016-01-08 12:55:11 -07:00
ncgen Fix 'atttributes' typo, replace with 'attributes'. 2016-01-15 02:17:29 +01:00
ncgen3 Merge branch 'master' into cdf-5, in preparation for merging the CDF-5 functionality into the master branch. This will be the key new feature for netcdf 4.4.0. 2015-11-05 13:40:35 -07:00
nctest Incorrect dimension was used; should be NC_MAX_VAR_DIMS 2015-11-30 10:32:53 -05:00
oc2 Fix preprocessor for mingw 2015-12-07 18:08:13 -08:00
.gitignore Added test file for debugging https://github.com/Unidata/netcdf-c/issues/221. 2016-02-16 10:23:53 -07:00
.travis.yml Fix issues with Github pull request 187 2016-01-08 12:55:11 -07:00
acinclude.m4
cf Fix github issue: https://github.com/Unidata/netcdf-c/issues/208 2016-02-01 16:15:58 -07:00
cf.cmake Fix issues with Github pull request 187 2016-01-08 12:55:11 -07:00
cmake_uninstall.cmake.in
CMakeInstallation.cmake
CMakeLists.txt Merge branch 'patch-10' of https://github.com/gsjaardema/netcdf-c into merge 2016-02-23 16:32:59 -07:00
COMPILE.cmake.txt
config.h.cmake.in Addressing changes inherent in Visual Studio 2015 and the fact that it now supports snprintf. See http://stackoverflow.com/questions/27754492/vs-2015-compiling-cocos2d-x-3-3-error-fatal-error-c1189-error-macro-definiti for more background. 2016-01-05 15:49:18 -07:00
configure.ac Wired logging status into nc-config generated by cmake. 2016-02-29 11:32:26 -07:00
CONTRIBUTING.md Put CONTRIBUTING.md back in top level of repository. 2016-02-24 10:55:56 -07:00
COPYRIGHT
CTestConfig.cmake.in
CTestCustom.cmake
dods.m4 Fix common typos 2015-08-20 11:42:05 +02:00
FixBundle.cmake.in
INSTALL.md
lib_flags.am
libnetcdf.settings.in More cleaning up of configuration status messages. 2015-11-17 17:14:22 -07:00
Make0
Makefile.am pull request 2015-10-12 17:09:37 -06:00
mclean
nc-config.cmake.in Wired logging status into nc-config generated by cmake. 2016-02-29 11:32:26 -07:00
nc-config.in Wired logging status into nc-config generated by cmake. 2016-02-29 11:32:26 -07:00
netcdf.pc.in
netCDFConfig.cmake.in
PostInstall.cmake
postinstall.sh.in
README.md
RELEASE_NOTES.md Updated release notes. 2016-02-29 12:39:40 -07:00
test_prog.c
test_prog.f90
test_prog.F
wjna

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:

Reference documentation for various language interfaces 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. Please identify the version of the package (file VERSION).