2007 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Example Programs
6.0 The NetCDF Examples in C/F77/F90/C++
Example programs are provided in C/F77/F90/C++ and come with the
netCDF release.
- The examples were introduced in the 3.6.2 release (March, 2007).
- Examples are available from the website
example page, as part of the NetCDF
Tutorial, or in the "examples" subdictory in the netCDF distribution.
- On the website
example page there are also Java examples, and user contributed
examples in Python, Perl, MATLAB, and IDL.
- Examples can be found in subdirectories of the examples
directory. Each language's examples are in a separate
directory. (Fortran 77 in examples/F77, Fortran 90 in examples/F90,
etc.)
- The CDL output for each example file can be found in
examples/CDL. By checking the resulting example file against the CDL
in the distribution, the examples also serve as end-to-end testing of
the library and utilities.
- We welcome any new examples anyone would care to write, in any
language. Send your example, which should include a program to write
a file, and another to read it, to support-netcdf@unidata.ucar.edu.
2007 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Example Programs