netCDF  4.2.1.1
Defines | Functions
/usr/src/RPM/BUILD/libnetcdf7-mpi-4.2.1.1/examples/C/simple_xy_rd.c File Reference

Write a file demonstrating some of the features of netCDF-4. More...

#include <stdlib.h>
#include <stdio.h>
#include <netcdf.h>

Go to the source code of this file.

Defines

#define FILE_NAME   "simple_xy.nc"
#define NX   6
#define NY   12
#define ERRCODE   2
#define ERR(e)   {printf("Error: %s\n", nc_strerror(e)); exit(ERRCODE);}

Functions

int main ()

Detailed Description

Write a file demonstrating some of the features of netCDF-4.

This is a simple example which reads a small dummy array, which was written by simple_xy_wr.c. This is intended to illustrate the use of the netCDF C API.

Full documentation for netCDF can be found at: http://www.unidata.ucar.edu/netcdf/docs

Definition in file simple_xy_rd.c.

 All Data Structures Files Functions Variables Typedefs Defines

Generated on Fri Sep 14 2012 07:36:39 for netCDF. NetCDF is a Unidata library.