I can't duplicate the issue you're seeing: $ ncdump mrd.nc > mrd.cdl $ ncgen -k netCDF-4...
The bug was in ncdump and is fixed in the master branch on GitHub, in case you want...