bsrn.io.retrieval.months_from_ftp_filenames#

bsrn.io.retrieval.months_from_ftp_filenames(filenames)[source]#

Extract a unique set of (year, month) tuples from a list of BSRN filenames.

Parameters:

filenames (list of str) – List of filenames from BSRN FTP.

Returns:

months – Sorted list of (year, month) tuples.

Return type:

list of tuple