def METHOD_NAME():
    """Test file selection works for daily data."""
    filename = "tas_day_EC-Earth3_dcppA-hindcast_s1960-r1i1p1f1_gr_"
    files = [
        filename + "19601101-19611031.nc",
        filename + "19611101-19621031.nc",
        filename + "19621101-19631031.nc"
    ]
    result = _select_files(files, '19600101/19611215')
    expected = [
        filename + "19601101-19611031.nc",
        filename + "19611101-19621031.nc",
    ]
    assert result == expected