bsrn.io.retrieval.download_bsrn_stn#

bsrn.io.retrieval.download_bsrn_stn(station, local_dir, username, password, host='ftp.bsrn.awi.de')[source]#

Download all available station-to-archive files for a specific station. 下载特定站点的所有可用站点存档文件。

Parameters:
  • station (str) – Station abbreviation (e.g., ‘pay’). 站点缩写(例如 ‘pay’)。

  • local_dir (str) – The local directory to save the files. 保存文件的本地目录。

  • username (str) – BSRN FTP username. BSRN FTP 用户名。

  • password (str) – BSRN FTP password. BSRN FTP 密码。

  • host (str, default BSRN_FTP_HOST) – FTP host address. FTP 主机地址。

Returns:

downloaded_paths – List of paths to the downloaded files. 已下载文件的路径列表。

Return type:

list