coincident.io.download.download_files#

coincident.io.download.download_files(files, output_dir, product='', chunk_size=65536)[source]#

Download files from remote URLs (cloud storage, web servers, etc.) Used in the download_dem and fetch_lpc_tiles functions

Parameters:
  • files (list[str]) – A list of file urls to download

  • output_dir (str) – The directory path where files will be saved.

  • product (str | None) – Product name used for customizing the progress description.

  • chunk_size (int) – The chunk size to use when streaming downloads (default is 64KB).

Return type:

list[str]

Returns:

A list of local file paths to each downloaded file