reV.losses.utils.filter_unknown_month_names

filter_unknown_month_names(month_names)[source]

Split the input into known and unknown month names.

Parameters:

month_names (iter) – An iterable of strings representing the input month names. Month names must match the formatting in calendar.month_name (upper case, no extra whitespace), otherwise they will be placed into the unknown_months return list.

Returns:

  • known_months (list) – List of known month names.

  • unknown_months (list) – List of unknown month names.