updated format_nc_files so that cli is set to be at least 0