Previous: Using the Opaque Type Next: Variable-Length Types Table of contents Frames 2010 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types

22.16 Opaque Example
A CDL example shows an opaque data type used for 11-byte raw sensor data records.
sensor.cdl example Show popup

Here is C code that creates the corresponding netCDF file, generated by running:

  ncgen -k 3 -l C sensor.cdl > sensor.c

sensor.c Show popup

 


Previous: Using the Opaque Type Next: Variable-Length Types Table of contents Frames 2010 Unidata NetCDF Workshop > Using Groups and NetCDF-4 Types