[GEE TSE] can't display images from Landsat 4-9 collection

Issue #1396 resolved
Andreas Rabe created an issue

Reported by @Philippe Rufin .

QGIS freezes when displaying a single image from the collection.

Comments (4)

  1. Andreas Rabe reporter

    Note: when waiting for a long time, the image will appear.

    Not sure why it takes so long. Further testing needed.

  2. Andreas Rabe reporter

    Found the problem!

    This is the critical line inside the collection definition file (LANDSAT_COMBINED_C02_T1_L2.py):

    collections = [l4, l5, l7, l8, l9]
    collection = ee.ImageCollection(ee.FeatureCollection(collections).flatten())
    

    After replacing it by a sequence of individual merges it works as expected again:

    collections = [l4, l5, l7, l8, l9]
    collection = ee.ImageCollection([])
    for li in collections:
        collection = collection.merge(li)
    

  3. Log in to comment