ncgen mslp.cdl
ncgen -b mslp.cdl # Caution, this overwrites mslp.nc if it exists
ncgen -o foo.nc mslp.cdl # To explicitly specify an output file
ncgen -k4 -o mslp4.nc mslp.cdl # Output netCDF-4 classic model file
ncgen -l c mslp.cdl > mslp.cgenerated C code (129 lines)
ncgen -l f77 mslp.cdl > mslp.f # currently classic model onlygenerated Fortran-77 code (176 lines)
ncgen -l java mslp.cdl > mslp.java # currently classic model onlygenerated Java code (92 lines)