def METHOD_NAME():
    # simulate a radar with bad gates which reports huge reflectivities
    radar = pyart.testing.make_target_radar()
    radar.fields["reflectivity"]["data"][0:100, 25] = 99999.0
    # without filtering bad gates leaks through
    gatefilter = pyart.filters.GateFilter(radar)
    grids = pyart.map.map_gates_to_grid(
        (radar,), gatefilters=(gatefilter,), **COMMON_MAP_TO_GRID_ARGS
    )
    assert grids["reflectivity"].max() > 41.0
    # with filtering bad gates is supressed
    gatefilter = pyart.filters.GateFilter(radar)
    gatefilter.exclude_above("reflectivity", 41.0)
    grids = pyart.map.map_gates_to_grid(
        (radar,), gatefilters=(gatefilter,), **COMMON_MAP_TO_GRID_ARGS
    )
    assert grids["reflectivity"].max() < 41.0