Bureaucrats, cc_docs_admin, cc_staff
337
edits
Line 69: | Line 69: | ||
=== Example === | === Example === | ||
Here is a simple example demonstrating the compression with NetCDF. This program writes a 2D netCDF variable (called "data") and fills it | |||
This program writes a 2D netCDF variable (called "data") and fills it | |||
with sample data. It has two dimensions, "x" and "y". | with sample data. It has two dimensions, "x" and "y". | ||
Full documentation for netCDF can be found at: | Full documentation for netCDF can be found at: | ||
http://www.unidata.ucar.edu/netcdf/docs | http://www.unidata.ucar.edu/netcdf/docs | ||
<syntaxhighlight lang="cpp" line highlight=""> | |||
#include <stdlib.h> | #include <stdlib.h> | ||
#include <stdio.h> | #include <stdio.h> |