![]() |
NetCDF
4.4.0
|
Write a file demonstrating some of the features of netCDF-4. More...

Go to the source code of this file.
Macros | |
| #define | FILE_NAME "simple_nc4.nc" |
| #define | NDIMS 2 |
| #define | NX 6 |
| #define | NY 12 |
| #define | ERRCODE 2 |
| #define | ERR(e) {printf("Error: %s\n", nc_strerror(e)); exit(ERRCODE);} |
Functions | |
| int | main () |
Write a file demonstrating some of the features of netCDF-4.
We create two shared dimensions, "x" and "y", in a parent group, and some netCDF variables in different subgroups. The variables will include a compound and an enum type, as well as some of the new atomic types, like the unsigned 64-bit integer.
This is part of the netCDF package. Copyright 2006-2011 University Corporation for Atmospheric Research/Unidata. See COPYRIGHT file for conditions of use. Full documentation of the netCDF can be found at http://www.unidata.ucar.edu/software/netcdf/docs.
Definition in file simple_nc4_wr.c.
Generated on Sun Mar 27 2016 11:43:30 for NetCDF. NetCDF is
a Unidata library.