Access Landsat 7 L2 - data collection name

Hello,

i’m trying to access Landsat-7 images but it fails due to wrong data collection name:

fis_request = FisRequest(
    data_collection=DataCollection.LANDSAT7_L2,
    layer=layer,
    geometry_list=[Geometry(i,CRS.WGS84)],
    time=time_interval,
    resolution='10m',
    maxcc=0.3,
    data_folder='./data2',
    config=config)
    
    fis_data = fis_request.get_data(save_data=False) 

AttributeError: LANDSAT7_L2

I have tried to find the correct name of the data collection also based on the source code here and also to print the availabe data collections (didn’t have any option of landsat 7).

How can I access this data?

best

Reut

Hi @reutkeller,

The enums for the new Landsat 7 collections in sentinelhub-py have been released with the latest version 3.3.2 (release log). Could you check your package version and make sure that you are using this latest version?

1 Like