Calculation of cumulative temperature metric according to a user-defined stepwise weight function
Useful links