2007 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Example Programs
6.1 The NetCDF Example Requirements
The requirements for netCDF examples.
The following requirements, from the NetCDF-4.0
Requirements document, describes what we hope to achieve with the
examples.
- Example programs will demonstrate many of the features of
netCDF.
- Each example will consist of a single code file, which the user
can easily paste from the web page into their netCDF development
environment.
- Examples include reasonable error handling.
- Examples are as brief as good coding style permits.
- Example code is well-commented.
- All examples can be built and run as one make target ("make
check").
- Examples are distributed with netCDF and compile and run on all
supported netCDF systems.
- Corresponding examples will be provided in C, F77, F90, and
C++.
- Examples do not depend on each other, but may depend on a common
real data file.
- Some examples illustrate netCDF features in realistic ways as
used by the Earth Science community.
2007 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Example Programs