@pytest.mark.parametrize('product, bbox, cycles, tracks, expect', [('ATL06', [(- 64.5), (- 66), (- 63.5), (- 65)], ['03'], ['1306'], 3240), ('ATL07', [(- 65), (- 66), (- 64.5), (- 65)], ['04'], ['0186'], 7130), ('ATL08', [(- 18), 63, (- 17), 64], ['03'], ['1320'], 852), ('ATL10', [(- 64), (- 67), (- 60), (- 60)], ['04'], ['0681'], 6015), ('ATL12', [(- 65.5), (- 65.5), (- 64.5), (- 65)], ['05'], ['0041'], 95), ('ATL13', [(- 75), (- 51), (- 74), (- 50)], ['05'], ['0293'], 20)])
def test_visualization_orbits(product, bbox, cycles, tracks, expect):
    region_viz = Visualize(product=product, spatial_extent=bbox, cycles=cycles, tracks=tracks)
    data_size = region_viz.parallel_request_OA().size
    assert (data_size == expect)
@pytest.mark.parametrize('product, bbox, cycles, tracks, expect', [('ATL06', [(- 64.5), (- 66), (- 63.5), (- 65)], ['03'], ['1306'], 3240), ('ATL07', [(- 65), (- 66), (- 64.5), (- 65)], ['04'], ['0186'], 7130), ('ATL08', [(- 18), 63, (- 17), 64], ['03'], ['1320'], 852), ('ATL10', [(- 64), (- 67), (- 60), (- 60)], ['04'], ['0681'], 6015), ('ATL12', [(- 65.5), (- 65.5), (- 64.5), (- 65)], ['05'], ['0041'], 95), ('ATL13', [(- 75), (- 51), (- 74), (- 50)], ['05'], ['0293'], 20)])
def test_visualization_orbits(product, bbox, cycles, tracks, expect):
    region_viz = Visualize(product=product, spatial_extent=bbox, cycles=cycles, tracks=tracks)
    data_size = region_viz.parallel_request_OA().size
    assert (data_size == expect)