Web Scraping Module#

CDDIS Archive Data Downloader Utility#

exception sct.web_scraping.cddis_downloader.InvalidCDDISRequest#

Invalid e-mail authentication on CDDIS platform or file requested not found

sct.web_scraping.cddis_downloader.cddis_ftps_archive_downloader(directory: str, filename: str, email: str, out_dir: str | Path) Path#

Utility to download data from the CDDIS products archive.

Parameters:
  • directory (str) – directory on the server where to find the product to be downloaded

  • filename (str) – name of the product to be downloaded

  • email (str) – user e-mail for authentication purposes

  • out_dir (str | Path) – output directory where to save the downloaded file

Returns:

Path to the downloaded file on disk

Return type:

Path