urbanlc.downloader.landsat_downloader.LandsatTM.retrieve_image#

LandsatTM.retrieve_image(region: Geometry, year: List[int], months: List[int], use_tier2: Optional[bool] = False) Tuple[Image, Union[None, List[str]]]#

Retrieves a Landsat image for a specific region, year, and months. Outputs are cloud-masked scaled annual pixel-wise median data, reprojected ESPG:4326.

Parameters:
  • region (ee.geometry.Geometry) – The region of interest.

  • year (List[int]) – The target year.

  • months (List[int]) – The target months.

  • use_tier2 (Optional[bool]) – Flag indicating whether to use Tier 2 data.

Returns:

Tuple containing the Landsat image and a list of dates.

Return type:

Tuple[ee.image.Image, Union[None, List[str]]]