![]()  | 
  
    NetCDF
    4.9.0
    
   | 
 
Example program for write then read of a variable using bzip2 compression. More...
#include "config.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include <hdf5.h>#include "netcdf.h"#include "netcdf_filter.h"Go to the source code of this file.
Example program for write then read of a variable using bzip2 compression.
This is an example which creates a file with a variable that is compressed using bzip2. Then it reads that file and verifies that it returned the correct uncompressed data.
The meta-data (.cdl) for the created file is as follows:
Definition in file filter_example.c.
| #define ERRR | 
Definition at line 91 of file filter_example.c.