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’).

  • local_dir (str) – The local directory to save the files.

  • username (str) – BSRN FTP username.

  • password (str) – BSRN FTP password.

  • host (str, default BSRN_FTP_HOST) – FTP host address.

Returns:

downloaded_paths – List of paths to the downloaded files.

Return type:

list