Fixed minor error in format_nc_files