fixed typo in format_nc_files