Fixed netcdf save bug
Merge pull request #1190 from dkillick/netcdf_save_bug

Fixed bug in NetCDF save