added generic year ave calc for clear vs dark