reV.losses.utils

reV-losses utilities.

Functions

convert_to_full_month_names(month_names)

Format an iterable of month names to match those in calendar.

filter_unknown_month_names(month_names)

Split the input into known and unknown month names.

format_month_name(month_name)

Format a month name to match the names in the calendar module.

full_month_name_from_abbr(month_name)

Convert a month abbreviation to a full month name.

hourly_indices_for_months(month_names)

Convert month names into a list of hourly indices.

month_index(month_name)

Convert a month name (as string) to an index (0-11) of the month.

month_indices(month_names)

Convert input month names to an indices (0-11) of the months.