def filelist_latestcycle(filelist, cycle_list):
    """
    Only get filelist for lastest cycle if multiple cycles are requested
    """
    if len(cycle_list) >1:
    # for multiple repeat cycles, only request data for lastest cycle
        latest_cycle = max(cycle_list)
        new_filelist = [f for f in filelist if int(f[-14:-12])==latest_cycle]
        return new_filelist

    else: # only one cycle
        return filelist