Official GitHub repository for netCDF-Fortran libraries, which depend on the netCDF C library. Install the netCDF C library first.
Fortran C M4 Pascal CMake Makefile Other
Latest commit b34d8aa Mar 1, 2017 @WardF WardF Updated cdash location.
Permalink
Failed to load latest commit information.
CMakeExtras Ensuring CMakeExtras are included in the tarball generated by 'make d… Jul 2, 2014
docs A bit of doxygen reorganization. Feb 2, 2017
examples Working on getting the parallel tests working with cmake. Dec 21, 2016
fortran Additional reorganization and cleanup of the netcdf-fortran f90 docum… May 5, 2016
libsrc Bumped the netcdf fortran SO version due to new symbols. May 13, 2016
m4 add dummy file to get otherwise empty m4/ subdirectory in repository Jun 19, 2014
nf03_test Attempting to correct an issue with generated makefile.in and pgi com… Mar 22, 2016
nf_test Fixing a problem introduced with netcdf-c cdf-5 branch. Oct 12, 2015
.gitignore Updated gitignore with build directories. May 6, 2016
.travis.yml Added NC3-only to travis-ci. May 6, 2016
CMakeLists.txt Updated cdash location. Mar 1, 2017
COPYRIGHT Make Fortran CMakeLists.txt more like netcdf-c version Dec 6, 2013
CTestConfig.cmake.in Refactored variables used for custom CDash dashboard instance. Apr 1, 2016
F03Interfaces_LICENSE Incorporate Richard Weed's mods before testing Jun 18, 2014
Makefile.am Ensuring CMakeExtras are included in the tarball generated by 'make d… Jul 2, 2014
README.md Updated dead link in README. Aug 1, 2016
RELEASE_NOTES.md Bumped the netcdf fortran SO version due to new symbols. May 13, 2016
acinclude.m4 Avoid compilation failure with -Werror=implicit-function-declaration Dec 4, 2016
config.h.cmake.in Removed duplicate definition. Feb 2, 2017
configure.ac Bumped the netcdf fortran SO version due to new symbols. May 13, 2016
netcdf-fortran.pc.in Fix pkg-config for "--static --libs" to output "-lnetcdff -lnetcdf". Apr 7, 2013
nf-config.cmake.in Cleaned out old utility scripts. Changed name of cmake templates to f… Jun 16, 2014
nf-config.in Removed --libs option, to avoid confusion with --flibs option, which Apr 8, 2013

README.md

Unidata NetCDF Fortran Library

Overview

The Unidata network Common Data Form (netCDF) is an interface for scientific data access and a set of freely-distributed software libraries that provide 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. This software package provides Fortran application interfaces for accessing netCDF data. It depends on the netCDF C library, which must be installed first. Other separate software distributions available from Unidata provide C Java, C++, and Python. They have been tested on various common platforms.

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.

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

For more information about netCDF, see the netCDF Web page at

Code Status

NetCDF-Fortran uses Travis-CI for continuous integration testing. This helps to ensure that developer changes do not break the netCDF-Fortran code base.

Continuous Integration Testing Suite Status
Travis-CI

Getting NetCDF

You can obtain a copy of the latest released versions of netCDF software from

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

To install this package, please see the document:

Additional Documentation

The netCDF-3 C and FORTRAN-77 interfaces are documented at

User's Guides are also available in several forms from the same location.

Mailing List

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

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.