added functionality to separate month-periods from sampling interval