urbanlc.downloader.base.BaseDownloader.download_image#

BaseDownloader.download_image(image: Image, bbox: BoundingBox, bands: Optional[List[str]] = None, scale: int = 10, format: str = 'GEOTIFF', base_filename: str = '', step: float = 0.07, merge_files: bool = True, num_workers: int = 8) None#

Parallel download image patches based on specified parameters.

Parameters:
  • image (ee.image.Image) – Earth Engine image to download.

  • bbox (BoundingBox) – BoundingBox instance representing the region to download.

  • bands (Optional[List[str]]) – List of image bands to download.

  • scale (int) – Spatial resolution (meters) of the downloaded image.

  • format (str) – Format of the downloaded image.

  • base_filename (str) – Base filename for downloaded files.

  • step (float) – Step size for partitioning the region of interests.

  • merge_files (bool) – Flag indicating whether to merge downloaded patches.

  • num_workers (int) – Number of workers for concurrent downloads.

Returns:

None