nsrdb.tmy.utilities.make_time_masks

make_time_masks(time_index)[source]

Make a time index mask lookup dict.

Parameters:

time_index (pd.datetimeindex) – Time index to mask.

Returns:

masks (dict) – Lookup of boolean masks keyed by month and year integer.